blob: 0e30e3ff73cfa4cee55ff9d41cc66330488a2630 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=libplacebo
pkgver=1.18.0
pkgrel=0
pkgdesc="Reusable library for GPU-accelerated video/image rendering"
url="https://github.com/haasn/libplacebo"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
meson
vulkan-loader-dev
glslang-static
glslang-dev
shaderc-dev
vulkan-headers
lcms2-dev
"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/haasn/libplacebo/archive/v${pkgver}.tar.gz"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
-Dvulkan=enabled \
-Dglslang=enabled \
-Dshaderc=enabled \
-Dtests=true \
-Dlcms=enabled \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="3115bbd019f4555340e64590e844de61a5fd4f02392b38a34d69059be79dcaeffc3d74b720568fb2f7f974409a8ff5feff83f7d6b7fdb2228af8761b78395339 libplacebo-1.18.0.tar.gz"
|