aboutsummaryrefslogtreecommitdiff
path: root/media/video/ffmpeg/ffmpeg.SlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2009-05-04 13:54:56 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2009-05-04 13:54:56 +0000
commitf4b5164186bb445931c0abc9eb2e475b7d1b795f (patch)
tree2dc69a5e7e7ab2e266ecbfa9e18490e370cb8c3d /media/video/ffmpeg/ffmpeg.SlackBuild
parentaaa0928ff4ee562a0a70381d4d6899989563d3fb (diff)
downloadslackbuilds-f4b5164186bb445931c0abc9eb2e475b7d1b795f.tar.gz
slackbuilds-f4b5164186bb445931c0abc9eb2e475b7d1b795f.tar.bz2
libquicktime: add a fix from upstream to build with ffmpeg trunk (thanks to gentoo)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2190 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/video/ffmpeg/ffmpeg.SlackBuild')
-rwxr-xr-xmedia/video/ffmpeg/ffmpeg.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/media/video/ffmpeg/ffmpeg.SlackBuild b/media/video/ffmpeg/ffmpeg.SlackBuild
index 77d4627e..49c0b590 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: lame faac libx264 faad2
+# requires:
# tested: ffmpeg-svn_version
-# model: generic.mkSlackBuild $Rev: 784 $
+# model: generic.mkSlackBuild $Rev: 805 $
#
# Look for slackbuildrc
@@ -39,6 +39,7 @@ 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 --enable-nonfree"}
@@ -263,7 +264,8 @@ fi
# Build the package
cd "$PKG"
-makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
+mkdir -p $REPOS/$SLACKBUILD_PATH
+makepkg -l y -c n "$REPOS/$SLACKBUILD_PATH/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
# Delete source and build directories if requested
if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then