fceux: build with gtk+3

This commit is contained in:
Đoàn Trần Công Danh 2020-10-25 12:21:53 +07:00
parent e4a3a0afb2
commit b07166a52f

View file

@ -1,18 +1,26 @@
# Template file for 'fceux'
pkgname=fceux
version=2.2.3
revision=3
revision=4
build_style=scons
make_build_args="SYSTEM_LUA=1"
make_build_args="SYSTEM_LUA=1 RELEASE=1 GTK=0 GTK3=1"
hostmakedepends="pkg-config"
makedepends="zlib-devel lua51-devel SDL-devel gtk+-devel gd-devel"
short_desc="The all in one NES/Famicom Emulator"
makedepends="zlib-devel lua51-devel SDL-devel gtk+3-devel gd-devel glu-devel"
short_desc="All in one NES/Famicom Emulator"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-2.0-or-later"
homepage="http://www.fceux.com/"
distfiles="${SOURCEFORGE_SITE}/fceultra/Source%20Code/${version}%20src/${pkgname}-${version}.src.tar.gz"
checksum=4be6dda9a347f941809a3c4a90d21815b502384adfdd596adaa7b2daf088823e
do_install() {
scons --prefix=${DESTDIR}/usr install
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_LIBDIR:$XBPS_CROSS_BASE/usr/share/pkgconfig"
pre_build() {
CPPFLAGS+=" $($PKG_CONFIG --cflags lua)"
}
do_install() {
CPPFLAGS+=" $($PKG_CONFIG --cflags lua)"
scons --prefix=${DESTDIR}/usr $make_build_args install
}