diff --git a/anda/apps/envision/anda.hcl b/anda/apps/envision/anda.hcl new file mode 100644 index 0000000000..f32f6eeee0 --- /dev/null +++ b/anda/apps/envision/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "envision.spec" + } +} diff --git a/anda/apps/envision/envision.spec b/anda/apps/envision/envision.spec new file mode 100644 index 0000000000..2b6ea65636 --- /dev/null +++ b/anda/apps/envision/envision.spec @@ -0,0 +1,46 @@ +%global commit 25d5aa48e30e5cc702c031c9c48ec4b2d5389cc9 +%global commit_date 20240530 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: envision +Version: %commit_date.%commit +Release: 1%?dist +Summary: UI for building, configuring and running Monado, the open source OpenXR runtime +License: AGPL-3.0-or-later +URL: https://gitlab.com/gabmus/envision/ +Source0: %url/-/archive/%commit/envision-%commit.tar.gz +BuildRequires: meson ninja-build cargo +BuildRequires: pkgconfig(glib-2.0) >= 2.66 +BuildRequires: pkgconfig(gio-2.0) >= 2.66 +BuildRequires: pkgconfig(gtk4) >= 4.10.0 +BuildRequires: pkgconfig(vte-2.91-gtk4) >= 0.72.0 +BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: openssl-devel +BuildRequires: libappstream-glib +BuildRequires: desktop-file-utils +BuildRequires: glib2-devel +Recommends: android-tools + +%description +%summary. + +%prep +%autosetup -n envision-%commit + +%build +%meson +%meson_build + +%install +%meson_install + +%files +%doc README.md +%license LICENSE +%_bindir/envision +%_datadir/applications/org.gabmus.envision.desktop +%_datadir/envision/ +%_iconsdir/hicolor/scalable/apps/org.gabmus.envision.svg +%_iconsdir/hicolor/symbolic/apps/org.gabmus.envision-symbolic.svg +%_metainfodir/org.gabmus.envision.appdata.xml diff --git a/anda/apps/envision/update.rhai b/anda/apps/envision/update.rhai new file mode 100644 index 0000000000..6de2eb33ce --- /dev/null +++ b/anda/apps/envision/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gitlab_commit("gitlab.com", "46446166", "main")); +if rpm.changed() { + rpm.global("commit_date", date()); + rpm.release(); +}