summaryrefslogtreecommitdiffstats
path: root/libva-vdpau-driver/build/libva-vdpau-driver.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-12-11 13:44:01 +0000
committer Eric Hameleers <alien@slackware.com>2013-12-11 13:44:01 +0000
commit3ad74b44c9b656ac7e5281338813191040d0264e (patch)
treefdc2812b4b12b13ff42278bf259a73afd9f6c212 /libva-vdpau-driver/build/libva-vdpau-driver.SlackBuild
parentf4de58fd2503829d7d3c48eaf5beef9a5d25f435 (diff)
downloadasb-3ad74b44c9b656ac7e5281338813191040d0264e.tar.gz
asb-3ad74b44c9b656ac7e5281338813191040d0264e.tar.xz
Patches are required to make this compile
Diffstat (limited to 'libva-vdpau-driver/build/libva-vdpau-driver.SlackBuild')
-rwxr-xr-xlibva-vdpau-driver/build/libva-vdpau-driver.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/libva-vdpau-driver/build/libva-vdpau-driver.SlackBuild b/libva-vdpau-driver/build/libva-vdpau-driver.SlackBuild
index c36e4ddd..8a06998b 100755
--- a/libva-vdpau-driver/build/libva-vdpau-driver.SlackBuild
+++ b/libva-vdpau-driver/build/libva-vdpau-driver.SlackBuild
@@ -124,7 +124,7 @@ mkdir -p $TMP/tmp-$PRGNAM # location to build the source
mkdir -p $PKG # place for the package to be built
rm -rf $PKG/* # always erase old package's contents
rm -rf $TMP/tmp-$PRGNAM/* # remove the remnants of previous build
-rm -rf $OUTPUT/{configure,make,install,error,makepkg}-$PRGNAM.log
+rm -rf $OUTPUT/{patch,configure,make,install,error,makepkg}-$PRGNAM.log
# remove old log files
# Source file availability:
@@ -162,6 +162,13 @@ cd $TMP/tmp-$PRGNAM
echo "Extracting the source archive(s) for $PRGNAM..."
tar -xvf ${SOURCE}
cd ${PRGNAM}-${VERSION}
+
+# Make it build here:
+cat $SRCDIR/libva-vdpau-driver_glext.patch \
+ | patch -p1 --verbose 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
+cat $SRCDIR/libva-vdpau-driver_VAEncH264SEIBufferType.patch \
+ | patch -p1 --verbose 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log
+
chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .