Date: Tuesday, December 22, 2020 @ 15:04:30 Author: archange Revision: 782013
Fix the commit point and linking Modified: libyuv/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-12-22 14:59:24 UTC (rev 782012) +++ PKGBUILD 2020-12-22 15:04:30 UTC (rev 782013) @@ -2,7 +2,7 @@ pkgname=libyuv pkgver=r2212+dfaf7534 -pkgrel=1 +pkgrel=2 pkgdesc="Library for YUV scaling" arch=(x86_64) url="https://chromium.googlesource.com/libyuv/libyuv/" @@ -9,7 +9,8 @@ license=(custom) depends=(gcc-libs libjpeg) makedepends=(cmake git) -source=(git+${url}) +_commit=dfaf7534e0e536f7e5ef8ddd7326797bd09b8622 +source=(git+${url}#commit=${_commit}) sha512sums=(SKIP) pkgver() { @@ -17,6 +18,10 @@ printf "r%s+%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + sed -i 's|yuvconvert ${JPEG_LIBRARY}|${ly_lib_shared} ${JPEG_LIBRARY}|g' ${pkgname}/CMakeLists.txt +} + build() { cmake -B build -S ${pkgname} \ -DCMAKE_INSTALL_PREFIX=/usr
