aboutsummaryrefslogtreecommitdiff
path: root/media/video/mplayer/MPlayer.mkbuild
diff options
context:
space:
mode:
Diffstat (limited to 'media/video/mplayer/MPlayer.mkbuild')
-rw-r--r--media/video/mplayer/MPlayer.mkbuild23
1 files changed, 14 insertions, 9 deletions
diff --git a/media/video/mplayer/MPlayer.mkbuild b/media/video/mplayer/MPlayer.mkbuild
index bfb9d0a..312cd4c 100644
--- a/media/video/mplayer/MPlayer.mkbuild
+++ b/media/video/mplayer/MPlayer.mkbuild
@@ -26,7 +26,11 @@
#------------------------
#
# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
-[[DOWNLOAD FOLDER URL]]="http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2"
+[[DOWNLOAD FOLDER URL]]="http://www1.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2"
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]="MPlayer"
#
# Documentation files. Null ("") to auto-set commom doc-files:
@@ -36,7 +40,7 @@
#
# - Add --enable-runtime-cpudetection for package creation!
# - Removing ivtv as for slack 12.1 it`s not compiling.
-[[OTHER CONFIGURE ARGS]]="--disable-ivtv --confdir=/etc --language=pt_BR --enable-largefiles --enable-gui --enable-real"
+[[OTHER CONFIGURE ARGS]]="--confdir=/etc --language=pt_BR --enable-largefiles --enable-gui"
# SlackBuild model
[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
@@ -134,10 +138,11 @@ tar jxvf $SRC_DIR/$SKIN_SRC -C $SKIN_DIR
mv $SKIN_DIR/$SKIN $SKIN_DIR/default
#<install_package
-#p>
- LIBDIR="$PREFIX/lib"
-+
-+if [ "$ARCH" == "i586" ] || [ "$ARCH" == "i686" ]; then
-+ CONF_OPTIONS="$CONF_OPTIONS --enable-qtx"
-+fi
-#p<
+#>configure
+# Configure
+CFLAGS= CXXFLAGS= \
+ ./configure \
+ --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF
+#<configure
+
+