2019-12-01 11:43:16 +11:00
|
|
|
# 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
|
2019-12-01 11:43:16 +11:00
|
|
|
|
|
|
|
name=libplacebo
|
2023-03-16 10:36:16 -04:00
|
|
|
version=5.264.0
|
|
|
|
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)
|
2019-12-01 11:43:16 +11:00
|
|
|
|
|
|
|
build() {
|
2020-11-08 18:10:39 +11:00
|
|
|
meson setup build $name-v$version \
|
2019-12-01 11:43:16 +11:00
|
|
|
--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 \
|
2019-12-01 11:43:16 +11:00
|
|
|
-D vulkan=enabled \
|
2022-11-01 14:11:32 +00:00
|
|
|
-D vulkan-registry=/usr/share/vulkan/registry/vk.xml \
|
2019-12-01 11:43:16 +11:00
|
|
|
-D shaderc=enabled \
|
2022-04-08 13:50:58 +02:00
|
|
|
-D lcms=enabled \
|
2022-05-22 15:35:40 +02:00
|
|
|
-D d3d11=disabled \
|
|
|
|
-D demos=false \
|
|
|
|
-D tests=false
|
2019-12-01 11:43:16 +11:00
|
|
|
|
2020-11-08 18:10:39 +11:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2019-12-01 11:43:16 +11:00
|
|
|
}
|