[arch-commits] Commit in libplacebo/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Dec 26 10:34:25 UTC 2021
Date: Sunday, December 26, 2021 @ 10:34:25
Author: arojas
Revision: 433126
archrelease: copy trunk to staging-x86_64
Added:
libplacebo/repos/staging-x86_64/
libplacebo/repos/staging-x86_64/PKGBUILD
(from rev 433125, libplacebo/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: libplacebo/repos/staging-x86_64/PKGBUILD (from rev 433125, libplacebo/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-12-26 10:34:25 UTC (rev 433126)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=libplacebo
+pkgver=4.157.0
+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' 'libvulkan.so' 'glslang' 'lcms2' 'liblcms2.so' 'shaderc' 'libshaderc_shared.so'
+ 'libepoxy' 'libglvnd' 'glibc' 'gcc-libs')
+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=('efa909fe8e6f053322bdda64834038218ee313e7df7f6f03d049b38318f1627543b60d4902f968c67dd00ece4db0c8d2eb20e3dc7a43dd05a16700723cba1d5f')
+b2sums=('32b348bee195e95f503cea3cc26a7de18e8c40ea793c70649a6d1dea157ab233c2422cdf8d84b8449bce4594e4457a30753f51b1c38a76b3199769616ffa65c5')
+
+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 \
+ -D d3d11=disabled
+ 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