aboutsummaryrefslogblamecommitdiffstats
path: root/community/retro-gtk/APKBUILD
blob: 73b81d60909e4e657aa5687a95b71e02337a0948 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                               
            
        




                                                                   
                                                         
                       
                                                                       
                          
                                                                                           

         

                                                   


         
                                                     


           
                                                              

 
                                                                                                                                                                     
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=retro-gtk
pkgver=1.0.1
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 libsamplerate-dev"
checkdepends="xvfb-run"
options="!check" # https://gitlab.gnome.org/GNOME/retro-gtk/-/issues/56
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/retro-gtk/${pkgver%.*}/retro-gtk-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	xvfb-run meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="4288e70aad86d39cb8860c9a40c3366b7a63219be769d28cf695f73881ae2970573afd01acff70191d14076c3a0bde94f0315da5b29ab883e2f2ac96aa344b27  retro-gtk-1.0.1.tar.xz"