retroarch: update to 1.3.
This commit is contained in:
parent
45db58e23b
commit
4f9091ba39
1 changed files with 8 additions and 7 deletions
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'retroarch'
|
# Template file for 'retroarch'
|
||||||
pkgname=retroarch
|
pkgname=retroarch
|
||||||
reverts="20150203_2"
|
version=1.3
|
||||||
version=1.2.2
|
revision=1
|
||||||
revision=2
|
|
||||||
wrksrc="RetroArch-$version"
|
wrksrc="RetroArch-$version"
|
||||||
conf_files="/etc/retroarch.cfg"
|
conf_files="/etc/retroarch.cfg"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
|
@ -22,25 +21,27 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://www.libretro.com/"
|
homepage="http://www.libretro.com/"
|
||||||
distfiles="https://github.com/libretro/RetroArch/archive/v$version.tar.gz"
|
distfiles="https://github.com/libretro/RetroArch/archive/v$version.tar.gz"
|
||||||
checksum=1113f75f6ddb790174b0f9e0fc82ff4875e8a4d39262428a6ba4a931a147b9af
|
checksum=2c2e6a3622ba19e447c0a53c6bb5ef2360d50798ead5b7cc851a9cede28e5088
|
||||||
|
|
||||||
build_options_default="ffmpeg"
|
build_options_default="ffmpeg"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*) build_options_default+=" opengl pulseaudio sdl2 x11";;
|
i686*|x86_64*) build_options_default+=" opengl pulseaudio sdl2 x11";;
|
||||||
armv[67]*) hostmakedepends+=" rpi-userland-devel"; makedepends+=" rpi-userland-devel";;
|
armv[67]*) makedepends+=" rpi-userland-devel";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
mkdir -p /opt/vc/lib
|
||||||
configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
|
configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*) configure_args+=" --enable-sse --enable-threads";;
|
i686*|x86_64*) configure_args+=" --enable-sse --enable-threads";;
|
||||||
armv6*) configure_args+=" --enable-gles"
|
armv6*) configure_args+=" --enable-gles"
|
||||||
LDFLAGS+=" -Wl,-R /opt/vc/lib";;
|
LDFLAGS+=" -L${XBPS_CROSS_BASE}/opt/vc/lib -Wl,-R /opt/vc/lib";;
|
||||||
armv7*) configure_args+=" --enable-neon --enable-gles --enable-threads"
|
armv7*) configure_args+=" --enable-neon --enable-gles --enable-threads"
|
||||||
LDFLAGS+=" -Wl,-R /opt/vc/lib";;
|
LDFLAGS+=" -L${XBPS_CROSS_BASE}/opt/vc/lib -Wl,-R /opt/vc/lib";;
|
||||||
esac
|
esac
|
||||||
./configure ${configure_args}
|
./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue