aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-03-13 02:11:04 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-03-13 02:11:04 +0000
commitf2fa02ed23e9c0a3623a8ec3a07d4f5a3457315d (patch)
treeda4a1342f32b79ef101f599cff8465e3b7dcb322
parent703a7f6ff670da3a9804c53b4b472ab5c5f9eae2 (diff)
downloadslackbuilds-f2fa02ed23e9c0a3623a8ec3a07d4f5a3457315d.tar.gz
slackbuilds-f2fa02ed23e9c0a3623a8ec3a07d4f5a3457315d.tar.bz2
mplayer: added --disable-x264 for x86_64
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1099 370017ae-e619-0410-ac65-c121f96126d4
-rwxr-xr-xmedia/video/mplayer/MPlayer.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media/video/mplayer/MPlayer.SlackBuild b/media/video/mplayer/MPlayer.SlackBuild
index f31a6e10..50916a82 100755
--- a/media/video/mplayer/MPlayer.SlackBuild
+++ b/media/video/mplayer/MPlayer.SlackBuild
@@ -94,8 +94,12 @@ if [ "$ARCH" == "i586" ] || [ "$ARCH" == "i686" ]; then
EXTRA_ARGS="--enable-win32 --enable-qtx"
fi
+if [ "$ARCH" != "x86_64" ]; then
+ x264="--disable-x264"
+fi
+
# add --enable-runtime-cpudetection for package creation!
-./configure --prefix=/usr --libdir=$LIBDIR --confdir=/etc --language=pt_BR --enable-largefiles --enable-gui --enable-real $EXTRA_ARGS || exit $ERROR_CONF
+./configure --prefix=/usr --libdir=$LIBDIR --confdir=/etc --language=pt_BR --enable-largefiles --enable-gui --enable-real $x264 $EXTRA_ARGS || exit $ERROR_CONF
make || exit $ERROR_MAKE
echo "$TMP/package-$PACKAGE/$PACKAGE"
make DESTDIR=$TMP/package-$PACKAGE/$PACKAGE install || exit $ERROR_INSTALL