aboutsummaryrefslogtreecommitdiffstats
path: root/community/libplacebo
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-25 15:00:32 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-25 15:30:16 -0300
commit4ef68b80d15bc67ed4193a349b883cd89ad01daa (patch)
tree2590b216c8c6fd673c5b618cf9b0037f2b0597c0 /community/libplacebo
parent457dc9c74e36332fa6751b8efb0aa2b333f17af0 (diff)
downloadaports-4ef68b80d15bc67ed4193a349b883cd89ad01daa.tar.bz2
aports-4ef68b80d15bc67ed4193a349b883cd89ad01daa.tar.xz
community/libplacebo: move from testing
Diffstat (limited to 'community/libplacebo')
-rw-r--r--community/libplacebo/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/community/libplacebo/APKBUILD b/community/libplacebo/APKBUILD
new file mode 100644
index 0000000000..6731f83138
--- /dev/null
+++ b/community/libplacebo/APKBUILD
@@ -0,0 +1,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"