forked from ports/contrib
24 lines
664 B
Plaintext
24 lines
664 B
Plaintext
# Description: Reusable library for GPU-accelerated video/image rendering primitives
|
|
# URL: https://github.com/haasn/libplacebo
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: lcms2 meson shaderc vulkan-loader python3-mako
|
|
# Optional: libepoxy
|
|
|
|
name=libplacebo
|
|
version=2.72.0
|
|
release=1
|
|
source=(https://code.videolan.org/videolan/libplacebo/-/archive/v$version/$name-v$version.tar.gz)
|
|
|
|
build() {
|
|
CXXFLAGS+=" -I/usr/include/glslang" \
|
|
meson build $name-v$version \
|
|
--prefix=/usr \
|
|
-D vulkan=enabled \
|
|
-D glslang=enabled \
|
|
-D shaderc=enabled \
|
|
-D lcms=enabled
|
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja -C build install
|
|
}
|