39 lines
1012 B
Bash
39 lines
1012 B
Bash
# Template file for 'retro-gtk'
|
|
pkgname=retro-gtk
|
|
version=1.0.2
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_bool gir introspection)"
|
|
hostmakedepends="glib-devel pkg-config vala"
|
|
makedepends="gtk+3-devel libepoxy-devel libglib-devel pulseaudio-devel
|
|
libsamplerate-devel"
|
|
short_desc="GTK+ Libretro frontend framework"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/retro-gtk"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=7118b0b5f9c1f2f0bc742faf8689eb48b44833efada0f6dbce990ec9783bcbd2
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
# needs X
|
|
do_check() {
|
|
:
|
|
}
|
|
|
|
retro-gtk-devel_package() {
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|