aboutsummaryrefslogtreecommitdiff
path: root/multimedia/HandBrake/HandBrake.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/HandBrake/HandBrake.SlackBuild')
-rw-r--r--multimedia/HandBrake/HandBrake.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild
index 3278c708c7c6b..521286759e148 100644
--- a/multimedia/HandBrake/HandBrake.SlackBuild
+++ b/multimedia/HandBrake/HandBrake.SlackBuild
@@ -24,9 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -73,6 +70,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# 20220324 bkw: this fixes the 32-bit build, at the cost of adding
+# x265 as a required dep. It's based on Debian's
+# 0001-Remove-embedded-downloaded-copies-of-various-librari.patch
+# ...but it only affects x265.
+patch -p1 < $CWD/system_x265.diff
+
# Autodetect onevpl support
if pkg-config --exists vpl ; then qsv="--enable-qsv" ; else qsv="" ; fi