mplayer: use runtime cpu detection only where possible
This commit is contained in:
parent
5ec9ea06e9
commit
f815949a7a
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mplayer'
|
||||
pkgname=mplayer
|
||||
version=1.1.1
|
||||
revision=6
|
||||
revision=7
|
||||
wrksrc="MPlayer-${version}"
|
||||
short_desc="A movie player"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -11,12 +11,16 @@ distfiles="http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-${version}.tar.xz"
|
|||
checksum=ce8fc7c3179e6a57eb3a58cb7d1604388756b8a61764cc93e095e7aff3798c76
|
||||
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --enable-runtime-cpudetection
|
||||
configure_args="--prefix=/usr
|
||||
--disable-gui --disable-arts --disable-liblzo --disable-speex
|
||||
--disable-openal --disable-libdv --disable-musepack --disable-esd
|
||||
--disable-mga --disable-ass-internal --disable-cdparanoia --enable-xvmc
|
||||
--enable-radio --enable-radio-capture --language=all --confdir=/etc/mplayer
|
||||
--enable-debug=3"
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
configure_args+=" --enable-runtime-cpudetection"
|
||||
fi
|
||||
nocross=yes
|
||||
|
||||
hostmakedepends="pkg-config yasm"
|
||||
makedepends="videoproto libudev-devel>=183 libpng-devel>=1.6
|
||||
|
|
Loading…
Reference in a new issue