From 7163004753d1991de95571eaa4cdf9af7fa5dc46 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 18 Apr 2014 22:49:18 -0500 Subject: multimedia/x265: Updated for version 0.9. Signed-off-by: Erik Hanson Signed-off-by: Willy Sudiarto Raharjo --- multimedia/x265/x265.SlackBuild | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'multimedia/x265/x265.SlackBuild') diff --git a/multimedia/x265/x265.SlackBuild b/multimedia/x265/x265.SlackBuild index 7d14fc6628..30694eead4 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.8} -REVISION=${REVISION:-527d03c56d68} +VERSION=${VERSION:-0.9} +REVISION=${REVISION:-82bbd2bf3b49} SRCNAM=multicoreware BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,21 +71,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 {} \; -# 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 -sed -i "s|LIBRARY DESTINATION lib|LIBRARY DESTINATION lib${LIBDIRSUFFIX}|" source/CMakeLists.txt -sed -i "s|ARCHIVE DESTINATION lib|ARCHIVE DESTINATION lib${LIBDIRSUFFIX}|" source/CMakeLists.txt - cd build/linux cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release ../../source make make install DESTDIR=$PKG -- cgit v1.2.3