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

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Apr 29 13:20:55 UTC 2020


    Date: Wednesday, April 29, 2020 @ 13:20:54
  Author: svenstaro
Revision: 381838

archrelease: copy trunk to testing-x86_64

Added:
  libplacebo/repos/testing-x86_64/
  libplacebo/repos/testing-x86_64/PKGBUILD
    (from rev 381837, libplacebo/trunk/PKGBUILD)

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

Copied: libplacebo/repos/testing-x86_64/PKGBUILD (from rev 381837, libplacebo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-04-29 13:20:54 UTC (rev 381838)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=libplacebo
+pkgver=1.29.1
+pkgrel=2
+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')
+makedepends=('meson' 'ninja' 'vulkan-headers')
+provides=('libplacebo.so')
+source=(https://code.videolan.org/videolan/libplacebo/-/archive/v${pkgver}/libplacebo-v${pkgver}.tar.gz)
+sha512sums=('9f09560832a88e670d6c31e9f5b9cbc03de437bfb19ceb0985140307b5cdf20e2050a1dab5d07f18258dfa3e5429a51f1d3d54532099be4bfc6a0dafe3ffd516')
+
+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