2019-12-01 11:43:16 +11:00
|
|
|
# Description: Reusable library for GPU-accelerated video/image rendering primitives
|
|
|
|
# URL: https://github.com/haasn/libplacebo
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2021-04-06 01:41:55 +10:00
|
|
|
# Depends on: ffmpeg glfw3 lcms2 libepoxy shaderc vulkan-loader
|
2019-12-01 11:43:16 +11:00
|
|
|
|
|
|
|
name=libplacebo
|
2021-04-05 15:11:45 +10:00
|
|
|
version=3.120.0
|
2020-11-13 18:28:50 +11:00
|
|
|
release=1
|
|
|
|
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 \
|
2019-12-01 11:43:16 +11:00
|
|
|
-D vulkan=enabled \
|
|
|
|
-D glslang=enabled \
|
|
|
|
-D shaderc=enabled \
|
|
|
|
-D lcms=enabled
|
|
|
|
|
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
|
|
|
}
|