diff options
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 |