From 8c90be615b7d4be9d1f48d81be288ffcafec09a2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 9 Mar 2015 18:05:39 +0100 Subject: [PATCH] retroarch: misc tweaks to the configure options for rpi/rpi2/x86. --- common/shlibs | 1 + srcpkgs/retroarch/template | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/common/shlibs b/common/shlibs index 1d2ed80388..5262e4c977 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/retroarch/template b/srcpkgs/retroarch/template index 17d473ec32..d8dd8ee608 100644 --- a/srcpkgs/retroarch/template +++ b/srcpkgs/retroarch/template @@ -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}