Date: Friday, October 2, 2020 @ 21:54:44 Author: heftig Revision: 715742
1.0.0-1 Modified: retro-gtk/trunk/PKGBUILD ----------+ PKGBUILD | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-10-02 21:53:13 UTC (rev 715741) +++ PKGBUILD 2020-10-02 21:54:44 UTC (rev 715742) @@ -4,22 +4,40 @@ # Contributor: Omar Pakker <[email protected]> pkgname=retro-gtk -pkgver=0.18.1 +pkgver=1.0.0 pkgrel=1 pkgdesc='Toolkit to write GTK+ 3 based Libretro frontends' arch=('x86_64') license=('GPL3') url='https://wiki.gnome.org/Apps/Games' -depends=('gtk3' 'libpulse') -makedepends=('gobject-introspection' 'meson' 'vala') -source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz") -sha256sums=('e9fabffe389345f48dcfbff7776b04da5649a428ddd3a560af5f01c13ce39ea5') +depends=('libepoxy' 'glib2' 'gtk3' 'libpulse' 'libsamplerate') +makedepends=('gobject-introspection' 'meson' 'vala' 'git' 'gtk-doc') +provides=('libretro-gtk-1.so') +_commit=ba822685c572819253bc919fb21aea09ad2cbfee # tags/1.0.0^0 +source=("git+https://gitlab.gnome.org/GNOME/retro-gtk.git#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + build() { - arch-meson $pkgname-$pkgver build - ninja -C build + arch-meson $pkgname build \ + -D build-doc=true \ + -D install-doc=true + meson compile -C build } +check() { + # Tests try to run the installed /usr/lib/retro-runner + + #dbus-run-session xvfb-run \ + # -s '-screen 0 1920x1080x24 -nolisten local' \ + # meson test -C build --print-errorlogs + : +} + package() { DESTDIR="$pkgdir" meson install -C build }
