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 'libepoxy' 'libglvnd' 'glibc' 'gcc-libs')
12 makedepends=('meson' 'ninja' 'vulkan-headers' 'python' 'python-mako')
13 provides=('libplacebo.so')
14 source=(https://code.videolan.org/videolan/libplacebo/-/archive/v${pkgver}/libplacebo-v${pkgver}.tar.gz)
15 sha512sums=('5d4b9a9d61dcd61c716bf9bbb22b9a0976f5d42069a46993da9b9b5625a6c75c352b353f74ec74f80f91f6bb1acb96dd7809d36e80ad1a8e64aab62d07107ffa')
16 b2sums=('1ad2b10f007dc26b51621dc54b93f1d9d4dd970b79181dee6a3ce103b5fccf4cabfdbb2b446084c18e5e80b4f22b137d8a05efd5f857513f1fbe3d9b6af4e3bb')
19 cd ${pkgbase}-v${pkgver}
20 CXXFLAGS+=" -I/usr/include/glslang"
32 cd ${pkgbase}-v${pkgver}
37 cd ${pkgbase}-v${pkgver}
38 DESTDIR="${pkgdir}" ninja -C build install
39 install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"