diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-11-23 10:53:04 +0000 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-11-23 13:33:43 +0100 |
commit | 67d3e86fc99f413f020976390eb50a3e12418605 (patch) | |
tree | 49f63a2f1d8baf1cd3c9787423e2008e95ba917b | |
parent | da29c160cdc5bed4b7588effd0a634e76cb1173a (diff) | |
download | aports-67d3e86fc99f413f020976390eb50a3e12418605.tar.bz2 aports-67d3e86fc99f413f020976390eb50a3e12418605.tar.xz |
testing/retro-gtk: new aport
https://gitlab.gnome.org/GNOME/retro-gtk
The GTK+ Libretro frontend framework
-rw-r--r-- | testing/retro-gtk/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/retro-gtk/APKBUILD b/testing/retro-gtk/APKBUILD new file mode 100644 index 0000000000..83bef078e2 --- /dev/null +++ b/testing/retro-gtk/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=retro-gtk +pkgver=0.18.0 +pkgrel=0 +pkgdesc="The GTK+ Libretro frontend framework" +url="https://gitlab.gnome.org/GNOME/retro-gtk" +arch="all" +license="GPL-3.0-or-later" +makedepends="meson libepoxy-dev glib-dev gtk+3.0-dev pulseaudio-dev + gobject-introspection-dev vala" +checkdepends="xvfb-run" +subpackages="$pkgname-dev" +source="https://download.gnome.org/sources/retro-gtk/${pkgver%.*}/retro-gtk-$pkgver.tar.xz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +check() { + xvfb-run ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="bfb33b3c61eeb40a875f8e2024e23960719a759471b5b09b1e54f65938e2b324b87b8925fbea7086c2d13afb41b476c610905203e9f42a05bb1a68c2f9beb20f retro-gtk-0.18.0.tar.xz" |