From cacf1753d40a183b145f5d79655167fcd97e71ee Mon Sep 17 00:00:00 2001 From: Edward Koenig Date: Sat, 26 Oct 2013 10:34:06 -0500 Subject: libraries/libvdpau: Updated for version 0.7. Signed-off-by: Robby Workman --- libraries/libvdpau/libvdpau.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libraries/libvdpau/libvdpau.SlackBuild') 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} -- cgit v1.2.3