aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x265/x265.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/x265/x265.SlackBuild')
-rw-r--r--multimedia/x265/x265.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/multimedia/x265/x265.SlackBuild b/multimedia/x265/x265.SlackBuild
index a81ecaf678e86..1c812dcbf0e61 100644
--- a/multimedia/x265/x265.SlackBuild
+++ b/multimedia/x265/x265.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=x265
-VERSION=${VERSION:-0.7}
-REVISION=${REVISION:-d24e2a8c4326}
+VERSION=${VERSION:-0.8}
+REVISION=${REVISION:-527d03c56d68}
SRCNAM=multicoreware
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,10 @@ 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 {} \;
+# upstream patch to make it buildable on x86
+# https://bitbucket.org/multicoreware/x265/commits/6d55869ed5e29c97977b89aa0218a5c8510c671a
+patch -p1 < $CWD/6d55869ed5e2.patch
+
# patched for x86_64
sed -i "s|/lib|/lib${LIBDIRSUFFIX}|" source/x265.pc.in
sed -i "s|/lib|/lib${LIBDIRSUFFIX}|" source/CMakeLists.txt