From f2fa02ed23e9c0a3623a8ec3a07d4f5a3457315d Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 13 Mar 2007 02:11:04 +0000 Subject: mplayer: added --disable-x264 for x86_64 git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1099 370017ae-e619-0410-ac65-c121f96126d4 --- media/video/mplayer/MPlayer.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'media/video/mplayer') 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 -- cgit v1.2.3