Skip to content

Commit

Permalink
add: envision (#1315)
Browse files Browse the repository at this point in the history
* add: envision

* libadwaita-1

Signed-off-by: madomado <[email protected]>

* libusb-1.0

Signed-off-by: madomado <[email protected]>

* files

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Jun 15, 2024
1 parent 31ebb21 commit 65db46f
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
5 changes: 5 additions & 0 deletions anda/apps/envision/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "envision.spec"
}
}
46 changes: 46 additions & 0 deletions anda/apps/envision/envision.spec
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions anda/apps/envision/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rpm.global("commit", gitlab_commit("gitlab.com", "46446166", "main"));
if rpm.changed() {
rpm.global("commit_date", date());
rpm.release();
}

0 comments on commit 65db46f

Please sign in to comment.