summaryrefslogtreecommitdiff
path: root/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-11 22:21:51 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:21:51 +0200
commitf286a25d705137066da3260d6c810717e22ea7e0 (patch)
tree754b0c1dd1727718c9e8ccb0e28d8b522987a30d /desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
parent4cca34e333240ca945c5557d5380c1c6989c80a7 (diff)
downloadslackbuilds-f286a25d705137066da3260d6c810717e22ea7e0.tar.gz
desktop/ffmpegthumbnailer: Updated for version 1.2.6
Diffstat (limited to 'desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild')
-rw-r--r--desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild b/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
index d17a6f7c1e..3d43f41cee 100644
--- a/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
+++ b/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ffmpegthumbnailer
-VERSION=1.1.5
+VERSION=1.2.6
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,6 +39,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG
@@ -47,6 +49,7 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -54,6 +57,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -61,6 +65,9 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--program-prefix="" \
--program-suffix="" \
+ --enable-shared=yes \
+ --enable-static=no \
+ --disable-largefile \
|| exit 1
make || exit 1