[arch-commits] Commit in retro-gtk/repos (2 files)

Jan Steffens heftig at archlinux.org
Fri Oct 2 21:58:09 UTC 2020


    Date: Friday, October 2, 2020 @ 21:58:09
  Author: heftig
Revision: 715748

archrelease: copy trunk to community-staging-x86_64

Added:
  retro-gtk/repos/community-staging-x86_64/
  retro-gtk/repos/community-staging-x86_64/PKGBUILD
    (from rev 715747, retro-gtk/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: retro-gtk/repos/community-staging-x86_64/PKGBUILD (from rev 715747, retro-gtk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-10-02 21:58:09 UTC (rev 715748)
@@ -0,0 +1,43 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Tom Richards <tom at tomrichards.net>
+# Contributor: TingPing <tingping at tingping.se>
+# Contributor: Omar Pakker <omar.pakker at oracle.com>
+
+pkgname=retro-gtk
+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=('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 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
+}


More information about the arch-commits mailing list