[arch-commits] Commit in libplacebo/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Apr 1 19:56:23 UTC 2019
Date: Monday, April 1, 2019 @ 19:56:23
Author: anthraxx
Revision: 349556
archrelease: copy trunk to staging-x86_64
Added:
libplacebo/repos/staging-x86_64/
libplacebo/repos/staging-x86_64/PKGBUILD
(from rev 349555, libplacebo/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: libplacebo/repos/staging-x86_64/PKGBUILD (from rev 349555, libplacebo/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-04-01 19:56:23 UTC (rev 349556)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=libplacebo
+pkgver=1.18.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' 'glslang' 'lcms2' 'shaderc' 'libshaderc_shared.so')
+makedepends=('meson' 'ninja' 'vulkan-headers')
+provides=('libplacebo.so')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/haasn/libplacebo/archive/v${pkgver}.tar.gz)
+sha512sums=('3115bbd019f4555340e64590e844de61a5fd4f02392b38a34d69059be79dcaeffc3d74b720568fb2f7f974409a8ff5feff83f7d6b7fdb2228af8761b78395339')
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ arch-meson build \
+ -D tests=true \
+ -D vulkan=enabled \
+ -D glslang=enabled \
+ -D shaderc=enabled \
+ -D lcms=enabled
+ ninja -C build
+}
+
+check() {
+ cd ${pkgbase}-${pkgver}
+ ninja -C build test
+}
+
+package() {
+ cd ${pkgbase}-${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