aboutsummaryrefslogtreecommitdiff
path: root/media/video
diff options
context:
space:
mode:
Diffstat (limited to 'media/video')
-rwxr-xr-xmedia/video/ffmpeg2theora/ffmpeg2theora.SlackBuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/media/video/ffmpeg2theora/ffmpeg2theora.SlackBuild b/media/video/ffmpeg2theora/ffmpeg2theora.SlackBuild
index 8cb79dad..2a4c90c1 100755
--- a/media/video/ffmpeg2theora/ffmpeg2theora.SlackBuild
+++ b/media/video/ffmpeg2theora/ffmpeg2theora.SlackBuild
@@ -16,7 +16,7 @@
#
# slackbuild for ffmpeg2theora, by Silvio Rhatto
# requires: ffmpeg
-# tested: ffmpeg2theora-0.21
+# tested: ffmpeg2theora-0.23
#
# Look for slackbuildrc
@@ -31,7 +31,7 @@ CWD="$(pwd)"
SRC_NAME="ffmpeg2theora"
PKG_NAME="ffmpeg2theora"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=0.21}
+SRC_VERSION=${VERSION:=0.23}
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
@@ -123,16 +123,8 @@ if echo [[PATCH URLS]] | grep -q -v "PATCH URLS"; then
fi
# Configure
-CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF
-
-# Compile
-make $NUMJOBS || exit $ERROR_MAKE
-
-# Install
-make install DESTDIR="$PKG" || exit $ERROR_INSTALL
+scons
+scons prefix="$PKG/usr" install
# Strip binaries
( cd "$PKG"