diff --git a/common/shlibs b/common/shlibs index 66c0a2aeba7..a8ce6a61330 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1942,7 +1942,7 @@ libQt5EglFsKmsSupport.so.5 qt5-5.7.1_1 libQt5WebKit.so.5 qt5-webkit-5.6.0_1 libQt5WebKitWidgets.so.5 qt5-webkit-5.6.0_1 libQt5TextToSpeech.so.5 qt5-speech-5.8.0_1 -libx265.so.151 x265-2.7_1 +libx265.so.160 x265-2.8_1 libQt5Xdg.so.3 libqtxdg-3.1.0_1 libQt5XdgIconLoader.so.3 libqtxdg-3.1.0_1 libqwt.so.6 qwt-6.1.3_1 diff --git a/srcpkgs/x265/template b/srcpkgs/x265/template index 379d08bf955..6102dd9f975 100644 --- a/srcpkgs/x265/template +++ b/srcpkgs/x265/template @@ -1,25 +1,25 @@ # Template file for 'x265' pkgname=x265 -version=2.7 +version=2.8 revision=1 -build_style=cmake build_wrksrc="source" wrksrc="x265_${version}" +build_style=cmake configure_args="-DENABLE_PIC=1" hostmakedepends="yasm" short_desc="Open Source H.265/HEVC video encoder" maintainer="Juan RP " +license="GPL-2.0-or-later" homepage="http://x265.org/" -license="GPL-2" distfiles="https://bitbucket.org/multicoreware/x265/downloads/x265_${version}.tar.gz" -checksum=d5e75fa62ffe6ed49e691f8eb8ab8c1634ffcc0725dd553c6fdb4d5443b494a2 +checksum=6e59f9afc0c2b87a46f98e33b5159d56ffb3558a49d8e3d79cb7fdc6b7aaa863 -if [ -n "$CROSS_BUILD" ]; then +if [ "$CROSS_BUILD" ]; then configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${CROSS_BUILD%-musl}" fi pre_configure() { - if [ -n "$CROSS_BUILD" ]; then + if [ "$CROSS_BUILD" ]; then sed -i CMakeLists.txt -e "s; -mcpu=native;;" fi } @@ -30,6 +30,6 @@ x265-devel_package() { pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - vmove usr/lib/*.a + vmove "usr/lib/*.a" } }