aboutsummaryrefslogtreecommitdiff
path: root/media/video/ffmpeg/ffmpeg.SlackBuild
diff options
context:
space:
mode:
authorrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2009-05-03 05:10:40 +0000
committerrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2009-05-03 05:10:40 +0000
commitd66d255304fe4af447820185611c6ee18aeb893c (patch)
tree1f496b127e98103b2fb7a942463c0fbbd3c01c92 /media/video/ffmpeg/ffmpeg.SlackBuild
parentcf1ff0094e16754230fff1a6d1abff0a0f7bde48 (diff)
downloadslackbuilds-d66d255304fe4af447820185611c6ee18aeb893c.tar.gz
slackbuilds-d66d255304fe4af447820185611c6ee18aeb893c.tar.bz2
ffmpeg fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2188 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/video/ffmpeg/ffmpeg.SlackBuild')
-rwxr-xr-xmedia/video/ffmpeg/ffmpeg.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/media/video/ffmpeg/ffmpeg.SlackBuild b/media/video/ffmpeg/ffmpeg.SlackBuild
index e362f723..77d4627e 100755
--- a/media/video/ffmpeg/ffmpeg.SlackBuild
+++ b/media/video/ffmpeg/ffmpeg.SlackBuild
@@ -15,9 +15,9 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
#
# slackbuild for ffmpeg, by Silvio Rhatto
-# requires:
+# requires: lame faac libx264 faad2
# tested: ffmpeg-svn_version
-# model: generic.mkSlackBuild $Rev: 805 $
+# model: generic.mkSlackBuild $Rev: 784 $
#
# Look for slackbuildrc
@@ -39,10 +39,9 @@ SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
-SLACKBUILD_PATH=${SLACKBUILD_PATH:="media/video/ffmpeg"}
PREFIX=${PREFIX:=/usr}
PKG_WORK="$TMP/$SRC_NAME"
-CONF_OPTIONS=${CONF_OPTIONS:="$EXTRA_AC_FLAGS --enable-shared --enable-pthreads --enable-x11grab --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libfaad --enable-libx264 --enable-postproc --enable-gpl"}
+CONF_OPTIONS=${CONF_OPTIONS:="$EXTRA_AC_FLAGS --enable-shared --enable-pthreads --enable-x11grab --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libfaad --enable-libx264 --enable-postproc --enable-gpl --enable-nonfree"}
NUMJOBS=${NUMJOBS:=""}
# Set system libraries' path and optmization flags based on $ARCH
@@ -264,8 +263,7 @@ fi
# Build the package
cd "$PKG"
-mkdir -p $REPOS/$SLACKBUILD_PATH
-makepkg -l y -c n "$REPOS/$SLACKBUILD_PATH/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
+makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
# Delete source and build directories if requested
if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then