diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-03-13 02:24:00 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-03-13 02:24:00 +0000 |
commit | af61c62db3aa085ce85ec6c2b6fc389a85f76cb2 (patch) | |
tree | 23f8e9f1c846a9a3d44bbbc3a96d96ed0f47177f /media/video/mplayer | |
parent | f2fa02ed23e9c0a3623a8ec3a07d4f5a3457315d (diff) | |
download | slackbuilds-af61c62db3aa085ce85ec6c2b6fc389a85f76cb2.tar.gz slackbuilds-af61c62db3aa085ce85ec6c2b6fc389a85f76cb2.tar.bz2 |
mplayer: added --disable-x264 for x86_64 (fix)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1100 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/video/mplayer')
-rwxr-xr-x | media/video/mplayer/MPlayer.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/media/video/mplayer/MPlayer.SlackBuild b/media/video/mplayer/MPlayer.SlackBuild index 50916a82..e73920e2 100755 --- a/media/video/mplayer/MPlayer.SlackBuild +++ b/media/video/mplayer/MPlayer.SlackBuild @@ -92,14 +92,12 @@ cd $PACKAGE-$VERSION if [ "$ARCH" == "i586" ] || [ "$ARCH" == "i686" ]; then EXTRA_ARGS="--enable-win32 --enable-qtx" -fi - -if [ "$ARCH" != "x86_64" ]; then - x264="--disable-x264" +elif [ "$ARCH" == "x86_64" ]; then + EXTRA_ARGS="--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 $x264 $EXTRA_ARGS || exit $ERROR_CONF +./configure --prefix=/usr --libdir=$LIBDIR --confdir=/etc --language=pt_BR --enable-largefiles --enable-gui --enable-real $EXTRA_ARGS || exit $ERROR_CONF make || exit $ERROR_MAKE echo "$TMP/package-$PACKAGE/$PACKAGE" make DESTDIR=$TMP/package-$PACKAGE/$PACKAGE install || exit $ERROR_INSTALL |