mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
47 lines
908 B
Makefile
47 lines
908 B
Makefile
COMMENT= reusable library for GPU-accelerated video/image rendering
|
|
|
|
GH_ACCOUNT= haasn
|
|
GH_PROJECT= libplacebo
|
|
GH_TAGNAME= v7.360.1
|
|
CATEGORIES= graphics
|
|
|
|
SHARED_LIBS= placebo 10.0
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
# LGPLv2.1+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX}
|
|
WANTLIB += execinfo lcms2 m pthread shaderc_shared vulkan
|
|
# GL and epoxy are dlopened by libplacebo
|
|
WANTLIB += GL epoxy
|
|
|
|
MODULES= devel/meson
|
|
|
|
BUILD_DEPENDS= devel/fast-float \
|
|
graphics/glad \
|
|
graphics/vulkan-headers
|
|
|
|
LIB_DEPENDS= graphics/lcms2 \
|
|
graphics/shaderc \
|
|
graphics/vulkan-loader
|
|
|
|
COMPILER= base-clang ports-gcc
|
|
|
|
CONFIGURE_ARGS+=-Ddefault_library=both \
|
|
-Dd3d11=disabled \
|
|
-Ddemos=false \
|
|
-Ddovi=disabled \
|
|
-Dglslang=disabled \
|
|
-Dlibdovi=disabled \
|
|
-Dshaderc=enabled \
|
|
-Dopengl=enabled \
|
|
-Dunwind=disabled \
|
|
-Dvulkan=enabled \
|
|
-Dxxhash=disabled
|
|
|
|
NO_TEST= Yes
|
|
|
|
.include <bsd.port.mk>
|