pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libplacebo: Add dependency to vulkan-headers



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Dec 31 16:00:43 2023 +0100
Changeset:	432faf51cdbc73e3868b56c1181635fae4bf87e4

Modified Files:
	libplacebo/Makefile
	libplacebo/PLIST
Removed Files:
	libplacebo/TODO

Log Message:
libplacebo: Add dependency to vulkan-headers

Now libplacebo passes the package and install phases too!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=432faf51cdbc73e3868b56c1181635fae4bf87e4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libplacebo/Makefile |  1 +
 libplacebo/PLIST    | 40 +++++++++++++++++++++++++++++++++++++---
 libplacebo/TODO     | 10 ----------
 3 files changed, 38 insertions(+), 13 deletions(-)

diffs:
diff --git a/libplacebo/Makefile b/libplacebo/Makefile
index 9b2b1171b5..26dd9744ce 100644
--- a/libplacebo/Makefile
+++ b/libplacebo/Makefile
@@ -39,5 +39,6 @@ pre-configure:
 .include "../../devel/xxhash/buildlink3.mk"
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/lcms2/buildlink3.mk"
+.include "../../graphics/vulkan-headers/buildlink3.mk"
 .include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/libplacebo/PLIST b/libplacebo/PLIST
index 92ba51a2d7..9ca3853a1f 100644
--- a/libplacebo/PLIST
+++ b/libplacebo/PLIST
@@ -1,4 +1,38 @@
 @comment $NetBSD$
-@comment TODO: to fill this file with the file listing:
-@comment TODO: 1. run "/usr/bin/make package"
-@comment TODO: 2. run "/usr/bin/make print-PLIST"
+include/libplacebo/cache.h
+include/libplacebo/colorspace.h
+include/libplacebo/common.h
+include/libplacebo/config.h
+include/libplacebo/d3d11.h
+include/libplacebo/dispatch.h
+include/libplacebo/dither.h
+include/libplacebo/dummy.h
+include/libplacebo/filters.h
+include/libplacebo/gamut_mapping.h
+include/libplacebo/gpu.h
+include/libplacebo/log.h
+include/libplacebo/opengl.h
+include/libplacebo/options.h
+include/libplacebo/renderer.h
+include/libplacebo/shaders.h
+include/libplacebo/shaders/colorspace.h
+include/libplacebo/shaders/custom.h
+include/libplacebo/shaders/deinterlacing.h
+include/libplacebo/shaders/dithering.h
+include/libplacebo/shaders/film_grain.h
+include/libplacebo/shaders/icc.h
+include/libplacebo/shaders/lut.h
+include/libplacebo/shaders/sampling.h
+include/libplacebo/swapchain.h
+include/libplacebo/tone_mapping.h
+include/libplacebo/utils/dav1d.h
+include/libplacebo/utils/dav1d_internal.h
+include/libplacebo/utils/dolbyvision.h
+include/libplacebo/utils/frame_queue.h
+include/libplacebo/utils/libav.h
+include/libplacebo/utils/libav_internal.h
+include/libplacebo/utils/upload.h
+include/libplacebo/vulkan.h
+lib/libplacebo.so
+lib/libplacebo.so.338
+lib/pkgconfig/libplacebo.pc
diff --git a/libplacebo/TODO b/libplacebo/TODO
deleted file mode 100644
index 8b040c63a6..0000000000
--- a/libplacebo/TODO
+++ /dev/null
@@ -1,10 +0,0 @@
-[57/61] Compiling C object src/libplacebo.so.338.p/vulkan_stubs.c.o
-FAILED: src/libplacebo.so.338.p/vulkan_stubs.c.o
-gcc -Isrc/libplacebo.so.338.p -Isrc -I../src -Isrc/include -I../src/include -I../3rdparty/fast_float/include -Isrc/opengl/include -I../src/opengl/include -Isrc/shaders -Isrc/opengl/include/glad -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -Wundef -Wshadow -Wparentheses -Wpointer-arith -fno-math-errno -D_ISOC99_SOURCE -D_ISOC11_SOURCE -D_GNU_SOURCE -U__STRICT_ANSI__ -Wmissing-prototypes -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-type-limits -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Wundef -Wshadow -Wparentheses -Wpointer-arith -fno-math-errno -O2 -pipe -O2 -march=haswell -fPIC -pthread -DPL_HAVE_PTHREAD -DPTHREAD_HAS_SETCLOCK -DPL_EXPORT -MD -MQ src/libplacebo.so.338.p/vulkan_stubs.c.o -MF src/libplacebo.so.338.p/vulkan_stubs.c.o.d -o src/libplacebo.so.338.p/vulkan_stu
bs.c.o -c ../src/vulkan/stubs.c
-In file included from ../src/vulkan/stubs.c:21:
-../src/include/libplacebo/vulkan.h:21:10: fatal error: vulkan/vulkan.h: No such file or directory
-   21 | #include <vulkan/vulkan.h>
-      |          ^~~~~~~~~~~~~~~~~
-compilation terminated.
-[60/61] Compiling C object src/libplacebo.so.338.p/opengl_gpu_pass.c.o
-ninja: build stopped: subcommand failed.


Home | Main Index | Thread Index | Old Index