1
0
forked from ports/contrib

29 lines
801 B
Plaintext
Raw Normal View History

# Description: Reusable library for GPU-accelerated video/image rendering primitives
# URL: https://github.com/haasn/libplacebo
2023-03-10 21:46:34 -05:00
# Maintainer: John McQuah, jmcquah at disroot dot org
2022-10-29 23:39:43 +00:00
# Depends on: ffmpeg glad glfw3 lcms2 libepoxy shaderc vulkan-loader
name=libplacebo
2023-03-25 21:26:13 -04:00
version=5.264.1
2023-03-16 10:36:16 -04:00
release=1
2020-11-13 18:28:50 +11:00
source=(https://code.videolan.org/videolan/libplacebo/-/archive/v$version/$name-v$version.tar.gz)
build() {
2020-11-08 18:10:39 +11:00
meson setup build $name-v$version \
--prefix=/usr \
2020-11-08 18:10:39 +11:00
--buildtype=plain \
2021-09-11 18:11:23 +02:00
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D vulkan=enabled \
-D vulkan-registry=/usr/share/vulkan/registry/vk.xml \
-D shaderc=enabled \
2022-04-08 13:50:58 +02:00
-D lcms=enabled \
-D d3d11=disabled \
-D demos=false \
-D tests=false
2020-11-08 18:10:39 +11:00
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
}