blob: 6731f83138908c35a776f194951859cbd01fd242 (
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.21.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="63b2824b49847aacca703dbb360c6e029ab23578b2ade1cd8f7c46e751aefc40509bd13261ea018c089f6331c6cafbdc0364106d95eaa3fb06b24f61eb726a23 libplacebo-1.21.0.tar.gz"
|