1
0
forked from ports/contrib

[notify] libplacebo: initial import for mpv vulkan

This commit is contained in:
Danny Rawlins 2019-12-01 11:43:16 +11:00
parent c246f81d44
commit e8a77c94fd
3 changed files with 54 additions and 0 deletions

27
libplacebo/.footprint Normal file

@ -0,0 +1,27 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libplacebo/
-rw-r--r-- root/root usr/include/libplacebo/colorspace.h
-rw-r--r-- root/root usr/include/libplacebo/common.h
-rw-r--r-- root/root usr/include/libplacebo/config.h
-rw-r--r-- root/root usr/include/libplacebo/context.h
-rw-r--r-- root/root usr/include/libplacebo/dispatch.h
-rw-r--r-- root/root usr/include/libplacebo/dither.h
-rw-r--r-- root/root usr/include/libplacebo/dummy.h
-rw-r--r-- root/root usr/include/libplacebo/filters.h
-rw-r--r-- root/root usr/include/libplacebo/gpu.h
-rw-r--r-- root/root usr/include/libplacebo/renderer.h
-rw-r--r-- root/root usr/include/libplacebo/shaders.h
drwxr-xr-x root/root usr/include/libplacebo/shaders/
-rw-r--r-- root/root usr/include/libplacebo/shaders/av1.h
-rw-r--r-- root/root usr/include/libplacebo/shaders/colorspace.h
-rw-r--r-- root/root usr/include/libplacebo/shaders/sampling.h
-rw-r--r-- root/root usr/include/libplacebo/swapchain.h
drwxr-xr-x root/root usr/include/libplacebo/utils/
-rw-r--r-- root/root usr/include/libplacebo/utils/upload.h
-rw-r--r-- root/root usr/include/libplacebo/vulkan.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libplacebo.so -> libplacebo.so.21
-rwxr-xr-x root/root usr/lib/libplacebo.so.21
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libplacebo.pc

5
libplacebo/.signature Normal file

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36ofpIPMNTCI8l6PWpYvb2Iwyfkg/P3XuJCrCTq/jF2k2sPy6QDnm/h7tS2D5UxX8MGLOnBSjDQ/yG8R3G/R9As=
SHA256 (Pkgfile) = 6bfd9d64e2cbab4ca81cbc28afe9e57b7b26e2bcf6b1a6447894741fff3e1231
SHA256 (.footprint) = b37a2bd8a4a2b83241eb698b827d2b5c257d72e5e18842c94baf908e688445ad
SHA256 (libplacebo-v1.21.0.tar.gz) = 19e58f0a3c09f67680aa56263ef28ee1a1f458123872fce91b1fb7f4271b5496

22
libplacebo/Pkgfile Normal file

@ -0,0 +1,22 @@
# 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 shaderc vulkan-loader
name=libplacebo
version=1.21.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
}