[arch-commits] Commit in libplacebo/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Nov 10 18:56:23 UTC 2020


    Date: Tuesday, November 10, 2020 @ 18:56:23
  Author: anthraxx
Revision: 400107

archrelease: copy trunk to staging-x86_64

Added:
  libplacebo/repos/staging-x86_64/
  libplacebo/repos/staging-x86_64/PKGBUILD
    (from rev 400106, libplacebo/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: libplacebo/repos/staging-x86_64/PKGBUILD (from rev 400106, libplacebo/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-10 18:56:23 UTC (rev 400107)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=libplacebo
+pkgver=2.72.2
+pkgrel=1
+pkgdesc='Reusable library for GPU-accelerated video/image rendering primitives'
+url='https://github.com/haasn/libplacebo'
+arch=('x86_64')
+license=('LGPL2.1')
+depends=('vulkan-icd-loader' 'glslang' 'lcms2' 'shaderc' 'libshaderc_shared.so' 'libepoxy' 'libglvnd')
+makedepends=('meson' 'ninja' 'vulkan-headers' 'python' 'python-mako')
+provides=('libplacebo.so')
+source=(https://code.videolan.org/videolan/libplacebo/-/archive/v${pkgver}/libplacebo-v${pkgver}.tar.gz)
+sha512sums=('0cb100350dbc81566a8363b0265bf89de8569b0313d1f1aa8ba621e39d7ee43a47ec9ab7827d01fdd2133c357983002412e67c2b2ba3616bd570f16e8e3ba135')
+b2sums=('59ce83d23c22fa1bc10d82b01b531ee82e3e40bf062adf7ea1d276a65c683c448797348a7a9ce234f92e0fd6c699903ae70f15df5d2e2779bec32db6b0b769e6')
+
+build() {
+  cd ${pkgbase}-v${pkgver}
+  CXXFLAGS+=" -I/usr/include/glslang"
+  arch-meson build \
+    -D tests=true \
+    -D vulkan=enabled \
+    -D glslang=enabled \
+    -D shaderc=enabled \
+    -D lcms=enabled
+  ninja -C build
+}
+
+check() {
+  cd ${pkgbase}-v${pkgver}
+  ninja -C build test
+}
+
+package() {
+  cd ${pkgbase}-v${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list