fceux: build with gtk+3
This commit is contained in:
parent
e4a3a0afb2
commit
b07166a52f
1 changed files with 14 additions and 6 deletions
|
@ -1,18 +1,26 @@
|
||||||
# Template file for 'fceux'
|
# Template file for 'fceux'
|
||||||
pkgname=fceux
|
pkgname=fceux
|
||||||
version=2.2.3
|
version=2.2.3
|
||||||
revision=3
|
revision=4
|
||||||
build_style=scons
|
build_style=scons
|
||||||
make_build_args="SYSTEM_LUA=1"
|
make_build_args="SYSTEM_LUA=1 RELEASE=1 GTK=0 GTK3=1"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="zlib-devel lua51-devel SDL-devel gtk+-devel gd-devel"
|
makedepends="zlib-devel lua51-devel SDL-devel gtk+3-devel gd-devel glu-devel"
|
||||||
short_desc="The all in one NES/Famicom Emulator"
|
short_desc="All in one NES/Famicom Emulator"
|
||||||
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.fceux.com/"
|
homepage="http://www.fceux.com/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/fceultra/Source%20Code/${version}%20src/${pkgname}-${version}.src.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/fceultra/Source%20Code/${version}%20src/${pkgname}-${version}.src.tar.gz"
|
||||||
checksum=4be6dda9a347f941809a3c4a90d21815b502384adfdd596adaa7b2daf088823e
|
checksum=4be6dda9a347f941809a3c4a90d21815b502384adfdd596adaa7b2daf088823e
|
||||||
|
|
||||||
do_install() {
|
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
|
||||||
scons --prefix=${DESTDIR}/usr install
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue