summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libvpx/libvpx.SlackBuild16
-rw-r--r--libraries/libvpx/libvpx.info8
2 files changed, 14 insertions, 10 deletions
diff --git a/libraries/libvpx/libvpx.SlackBuild b/libraries/libvpx/libvpx.SlackBuild
index dd281cc643..09100dfc1d 100644
--- a/libraries/libvpx/libvpx.SlackBuild
+++ b/libraries/libvpx/libvpx.SlackBuild
@@ -8,7 +8,8 @@
# Modified by SlackBuilds.org
PRGNAM=libvpx
-VERSION=${VERSION:-0.9.2}
+VERSION=${VERSION:-0.9.7_p1}
+SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,9 +49,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}-v${VERSION}.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf ${PRGNAM}-v${SRCVERSION}
+tar xvf $CWD/${PRGNAM}-v${SRCVERSION}.tar.bz2
+cd ${PRGNAM}-v${SRCVERSION}
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -71,11 +72,14 @@ cd build-tmp
--enable-postproc \
--enable-vp8 \
--enable-shared \
+ --enable-runtime-cpu-detect \
$ARCHOPTS
-
make
make install DESTDIR=$PKG
-cd -
+cd ..
+
+# remove the static version
+rm $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM.a
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/libvpx/libvpx.info b/libraries/libvpx/libvpx.info
index 14852dc705..a18130c82d 100644
--- a/libraries/libvpx/libvpx.info
+++ b/libraries/libvpx/libvpx.info
@@ -1,10 +1,10 @@
PRGNAM="libvpx"
-VERSION="0.9.2"
+VERSION="0.9.7_p1"
HOMEPAGE="http://www.webmproject.org/"
-DOWNLOAD="http://webm.googlecode.com/files/libvpx-v0.9.2.tar.bz2"
-MD5SUM="609370925b274aeaa29e94fc34c74957"
+DOWNLOAD="http://webm.googlecode.com/files/libvpx-v0.9.7-p1.tar.bz2"
+MD5SUM="bd888cffde8d9c3061c7fd719b0cd4ce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="ponce"
EMAIL="matteo.bernardini@gmail.com"
-APPROVED="dsomero"
+APPROVED="rworkman"