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'
|
||||
pkgname=retroarch
|
||||
reverts="20150203_2"
|
||||
version=1.2.2
|
||||
revision=2
|
||||
version=1.3
|
||||
revision=1
|
||||
wrksrc="RetroArch-$version"
|
||||
conf_files="/etc/retroarch.cfg"
|
||||
build_style=configure
|
||||
|
@ -22,25 +21,27 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
license="GPL-3"
|
||||
homepage="http://www.libretro.com/"
|
||||
distfiles="https://github.com/libretro/RetroArch/archive/v$version.tar.gz"
|
||||
checksum=1113f75f6ddb790174b0f9e0fc82ff4875e8a4d39262428a6ba4a931a147b9af
|
||||
checksum=2c2e6a3622ba19e447c0a53c6bb5ef2360d50798ead5b7cc851a9cede28e5088
|
||||
|
||||
build_options_default="ffmpeg"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
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
|
||||
|
||||
do_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
mkdir -p /opt/vc/lib
|
||||
configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*) configure_args+=" --enable-sse --enable-threads";;
|
||||
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"
|
||||
LDFLAGS+=" -Wl,-R /opt/vc/lib";;
|
||||
LDFLAGS+=" -L${XBPS_CROSS_BASE}/opt/vc/lib -Wl,-R /opt/vc/lib";;
|
||||
esac
|
||||
./configure ${configure_args}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue