New package: retro-gtk-0.16.0

This commit is contained in:
Rasmus Thomsen 2018-10-22 21:25:44 +02:00 committed by maxice8
parent 9dccf3b7c0
commit cecdf12347
3 changed files with 35 additions and 0 deletions

View file

@ -3317,3 +3317,4 @@ libwlroots.so.0 wlroots-0.1_1
libbaseencode.so.1 libbaseencode-1.0.9_1 libbaseencode.so.1 libbaseencode-1.0.9_1
libcotp.so.12 libcotp-1.2.1_1 libcotp.so.12 libcotp-1.2.1_1
libunarr.so.1 libunarr-1.0.1_1 libunarr.so.1 libunarr-1.0.1_1
libretro-gtk-0.14.so.0 retro-gtk-0.16.0_1

1
srcpkgs/retro-gtk-devel Symbolic link
View file

@ -0,0 +1 @@
retro-gtk

View file

@ -0,0 +1,33 @@
# Template file for 'retro-gtk'
pkgname=retro-gtk
version=0.16.0
revision=1
build_style=meson
configure_args="$(vopt_bool gir introspection)"
hostmakedepends="glib-devel pkg-config vala $(vopt_if gir gobject-introspection)"
makedepends="gtk+3-devel libepoxy-devel libglib-devel pulseaudio-devel"
short_desc="The GTK+ Libretro frontend framework"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/retro-gtk"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8c9b4ec9d6aa6b9db088a09706c0dd3de41437ff3a46f46566a47911efa7a627
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
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
fi
}
}