1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
6 pkgdesc='Reusable library for GPU-accelerated video/image rendering primitives'
7 url='https://github.com/haasn/libplacebo'
10 depends=('vulkan-icd-loader' 'libvulkan.so' 'glslang' 'lcms2' 'liblcms2.so' 'shaderc' 'libshaderc_shared.so'
11 'glibc' 'gcc-libs' 'libunwind')
13 'meson' 'ninja' 'vulkan-headers' 'glad' 'nuklear'
14 'python' 'python-setuptools' 'python-mako' 'python-markupsafe' 'python-jinja'
16 provides=('libplacebo.so')
17 source=(https://code.videolan.org/videolan/libplacebo/-/archive/v${pkgver}/libplacebo-v${pkgver}.tar.gz)
18 sha512sums=('56723bb3df4229ecaa61189080f108ac7c953b435b9969f7fe85835eeaca88ee8ec90ef9dfdd5e99e92d4cccea5b8e24c676d3b318ab8e22ead09c003b3c6165')
19 b2sums=('d828cf97713a9d46c983da111c5400487d02e9c3d8ec874de67d9f9d753508e7dc941cfdcdd024e78ea7e08e0f3d6a71b82f92e3478ed9d8a8cadbc86462b236')
22 cd ${pkgbase}-v${pkgver}
23 CXXFLAGS+=" -I/usr/include/glslang"
36 cd ${pkgbase}-v${pkgver}
41 cd ${pkgbase}-v${pkgver}
42 DESTDIR="${pkgdir}" ninja -C build install
43 install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"