summaryrefslogtreecommitdiff
path: root/libraries/libvdpau/libvdpau.SlackBuild
diff options
context:
space:
mode:
authorEdward Koenig <kingbeowulf@gmail.com>2013-10-26 10:34:06 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:38:52 -0500
commitcacf1753d40a183b145f5d79655167fcd97e71ee (patch)
treeb2254799df3457fd8781c1d3d0b8c03b837f2500 /libraries/libvdpau/libvdpau.SlackBuild
parent6a2f42dd2ab9ecc4b8e7d15e087f8d9c27a3e8ce (diff)
downloadslackbuilds-cacf1753d40a183b145f5d79655167fcd97e71ee.tar.gz
libraries/libvdpau: Updated for version 0.7.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libvdpau/libvdpau.SlackBuild')
-rw-r--r--libraries/libvdpau/libvdpau.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/libvdpau/libvdpau.SlackBuild b/libraries/libvdpau/libvdpau.SlackBuild
index 7acc180d21..d9f9f91ad6 100644
--- a/libraries/libvdpau/libvdpau.SlackBuild
+++ b/libraries/libvdpau/libvdpau.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libvdpau
-VERSION=${VERSION:-0.6}
+VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -86,6 +86,9 @@ make install-strip DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Don't clobber the config file on upgrades
+mv $PKG/etc/vdpau_wrapper.cfg $PKG/etc/vdpau_wrapper.cfg.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
@@ -93,6 +96,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}