[arch-commits] Commit in libyuv/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Thu Oct 21 18:48:09 UTC 2021
Date: Thursday, October 21, 2021 @ 18:48:09
Author: archange
Revision: 1032026
archrelease: copy trunk to community-x86_64
Added:
libyuv/repos/community-x86_64/PKGBUILD
(from rev 1032025, libyuv/trunk/PKGBUILD)
Deleted:
libyuv/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-21 18:47:55 UTC (rev 1032025)
+++ PKGBUILD 2021-10-21 18:48:09 UTC (rev 1032026)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=libyuv
-pkgver=r2212+dfaf7534
-pkgrel=2
-pkgdesc="Library for YUV scaling"
-arch=(x86_64)
-url="https://chromium.googlesource.com/libyuv/libyuv/"
-license=(custom)
-depends=(gcc-libs libjpeg)
-makedepends=(cmake git)
-_commit=dfaf7534e0e536f7e5ef8ddd7326797bd09b8622
-source=(git+${url}#commit=${_commit})
-sha512sums=(SKIP)
-
-pkgver() {
- cd ${pkgname}
- 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
- make -C build
-}
-
-package() {
- make -C build DESTDIR="${pkgdir}" install
- install -Dm644 ${pkgname}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: libyuv/repos/community-x86_64/PKGBUILD (from rev 1032025, libyuv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-21 18:48:09 UTC (rev 1032026)
@@ -0,0 +1,35 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=libyuv
+pkgver=r2266+eb6e7bb6
+pkgrel=1
+pkgdesc="Library for YUV scaling"
+arch=(x86_64)
+url="https://chromium.googlesource.com/libyuv/libyuv/"
+license=(custom)
+depends=(gcc-libs libjpeg)
+makedepends=(cmake git)
+# Latest commit in https://chromium.googlesource.com/libyuv/libyuv/+log/refs/heads/stable
+_commit=eb6e7bb63738e29efd82ea3cf2a115238a89fa51
+source=(git+${url}#commit=${_commit})
+sha512sums=(SKIP)
+
+pkgver() {
+ cd ${pkgname}
+ 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
+ make -C build
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+ install -Dm644 ${pkgname}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list