retroarch: misc tweaks to the configure options for rpi/rpi2/x86.
This commit is contained in:
parent
cc7aaf8fdf
commit
8c90be615b
|
@ -1159,6 +1159,7 @@ libvcos.so rpi-firmware-20130228_1
|
|||
libmmal.so rpi-firmware-20150206_1
|
||||
libmmal_core.so rpi-firmware-20150206_1
|
||||
libmmal_util.so rpi-firmware-20150206_1
|
||||
libOpenVG.so rpi-firmware-20150206_1
|
||||
liblockdev.so.1 lockdev-1.0.3_1
|
||||
libcec.so.2 libcec-2.1.1_1
|
||||
libpython3.3m.so.1.0 python3-3.3.0_1
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'retroarch'
|
||||
pkgname=retroarch
|
||||
version=20150203
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="RetroArch-master"
|
||||
conf_files="/etc/retroarch.cfg"
|
||||
build_style=configure
|
||||
build_options="ffmpeg opengl jack pulseaudio sdl2 x11"
|
||||
configure_args="--prefix=/usr --global-config-dir=/etc --enable-udev
|
||||
--enable-networking --enable-threads --enable-netplay --disable-vg
|
||||
--enable-networking --enable-netplay
|
||||
$(vopt_enable ffmpeg) $(vopt_enable jack) $(vopt_enable pulseaudio pulse)
|
||||
$(vopt_enable sdl2) $(vopt_enable x11)"
|
||||
hostmakedepends="pkg-config python unzip"
|
||||
|
@ -35,10 +35,10 @@ do_configure() {
|
|||
configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*) configure_args+=" --enable-sse";;
|
||||
i686*|x86_64*) configure_args+=" --enable-sse --enable-threads";;
|
||||
armv6*) configure_args+=" --enable-gles"
|
||||
LDFLAGS+=" -Wl,-R /opt/vc/lib";;
|
||||
armv7*) configure_args+=" --enable-neon --enable-gles"
|
||||
armv7*) configure_args+=" --enable-neon --enable-gles --enable-threads"
|
||||
LDFLAGS+=" -Wl,-R /opt/vc/lib";;
|
||||
esac
|
||||
./configure ${configure_args}
|
||||
|
|
Loading…
Reference in New Issue