Browse Source

l/libvpx: Upgraded to libvpx-1.1.0.

slackware-14.2
Damien Goutte-Gattat 10 years ago
parent
commit
68930c9dcd
  1. 1
      l/libvpx/libvpx-v0.9.6.tar.bz2.sha1
  2. 1
      l/libvpx/libvpx-v1.1.0.tar.bz2.sha1
  3. 16
      l/libvpx/libvpx.SlackBuild

1
l/libvpx/libvpx-v0.9.6.tar.bz2.sha1

@ -1 +0,0 @@
a3522bd2b73d52381ba767ded1cbf4760e9cc6f8 libvpx-v0.9.6.tar.bz2

1
l/libvpx/libvpx-v1.1.0.tar.bz2.sha1

@ -0,0 +1 @@
356af5f770c50cd021c60863203d8f30164f6021 libvpx-v1.1.0.tar.bz2

16
l/libvpx/libvpx.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2011 Damien Goutte-Gattat
# Copyright (C) 2010,2011,2012 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,13 +27,13 @@
# Source package infos
NAMESRC=${NAMESRC:-libvpx}
VERSION=${VERSION:-0.9.6}
VERSION=${VERSION:-1.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-v$VERSION.tar.bz2}
WGET=${WGET:-http://webm.googlecode.com/files/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-libvpx}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -88,25 +88,19 @@ cd $NAME
--target=$WEBM_TARGET \
--enable-pic \
--enable-vp8 \
--enable-psnr \
--enable-postproc \
--enable-runtime-cpu-detect \
--enable-shared
--enable-shared \
--disable-static
sed -i "s,/usr/local,/usr,;s,LIBSUBDIR=lib,LIBSUBDIR=lib$LIBDIRSUFFIX," \
config.mk
make -j $JOBS
make install DESTDIR=$PKG
# Remove static library
rm $PKG/usr/lib$LIBDIRSUFFIX/libvpx.a
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Fix headers permissions
find $PKG/usr/include -type f -exec chmod 644 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS CHANGELOG LICENSE PATENTS README \

Loading…
Cancel
Save