commit e8a77c94fd2868bc5df8e999f22490443e9ac1bf Author: Danny Rawlins <monster.romster@gmail.com> Date: Sun Dec 1 11:43:16 2019 +1100 [notify] libplacebo: initial import for mpv vulkan diff --git a/libplacebo/.footprint b/libplacebo/.footprint new file mode 100644 index 000000000..f29dda268 --- /dev/null +++ b/libplacebo/.footprint @@ -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 diff --git a/libplacebo/.signature b/libplacebo/.signature new file mode 100644 index 000000000..68b0c22e9 --- /dev/null +++ b/libplacebo/.signature @@ -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 diff --git a/libplacebo/Pkgfile b/libplacebo/Pkgfile new file mode 100644 index 000000000..87212421d --- /dev/null +++ b/libplacebo/Pkgfile @@ -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$ve...) + +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 +}