diff options
author | ponce <matteo.bernardini@gmail.com> | 2011-12-18 19:29:59 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-12-18 19:29:59 -0600 |
commit | 938dc17e746817602722ab9d9aa944897062a268 (patch) | |
tree | 79ec456efa92c8077120048e81b249b0db202d7a | |
parent | bff5c3f638cf21e3fb6332050ae457f11bd96864 (diff) |
libraries/libvpx: Updated for version 0.9.7_p1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | libraries/libvpx/libvpx.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/libvpx/libvpx.info | 8 |
2 files changed, 14 insertions, 10 deletions
diff --git a/libraries/libvpx/libvpx.SlackBuild b/libraries/libvpx/libvpx.SlackBuild index dd281cc643368..09100dfc1d7b7 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 14852dc70565a..a18130c82dc09 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" |