blob: 2b7fe42ec913d8893bd31f73690fc53cd0902ef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
PORTNAME= pipewire
DISTVERSION= 0.3.23
PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= arrowd@FreeBSD.org
COMMENT= Server and user space API to deal with multimedia pipelines
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
#TODO: xmltoman
BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libdbus-1.so:devel/dbus \
libinotify.so:devel/libinotify \
libepoll-shim.so:devel/libepoll-shim \
libudev.so:devel/libudev-devd
USES= compiler:c11 gnome meson pkgconfig
OPTIONS_DEFINE= GSTREAMER VULKAN
GSTREAMER_MESON_TRUE= gstreamer
GSTREAMER_LIB_DEPENDS= libgstreamer-1.0.so:multimedia/gstreamer1 \
libgstaudio-1.0.so:multimedia/gstreamer1-plugins
VULKAN_DESC= Enable Vulkan integration
VULKAN_MESON_TRUE= vulkan
VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader
USE_GNOME= glib20
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= PipeWire
MESON_ARGS= -D gstreamer=false \
-Dalsa=false -Dpipewire-alsa=false \
-D bluez5=false \
-D jack=false -D pipewire-jack=false \
-D pipewire-pulseaudio=false \
-D systemd=false
OPTIONS_SUB= yes
post-install:
${MV} ${STAGEDIR}${ETCDIR}/pipewire.conf ${STAGEDIR}${ETCDIR}/pipewire.conf.sample
.include <bsd.port.mk>
|