Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140925599
D52426.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D52426.diff
View Options
diff --git a/audio/Makefile b/audio/Makefile
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -832,6 +832,7 @@
SUBDIR += vgmtools
SUBDIR += vimpc
SUBDIR += virtual_oss
+ SUBDIR += virtual_oss_bluetooth
SUBDIR += virtual_oss_ctl
SUBDIR += virtual_oss_equalizer
SUBDIR += virtual_oss_sndio
diff --git a/audio/virtual_oss_bluetooth/Makefile b/audio/virtual_oss_bluetooth/Makefile
new file mode 100644
--- /dev/null
+++ b/audio/virtual_oss_bluetooth/Makefile
@@ -0,0 +1,41 @@
+PORTNAME= virtual_oss_bluetooth
+DISTVERSION= ${OSVERSION}
+CATEGORIES= audio
+DISTFILES=
+
+MAINTAINER= christos@FreeBSD.org
+COMMENT= Bluetooth backend for virtual_oss
+WWW= https://freebsd.org
+
+LICENSE= BSD2CLAUSE
+
+USES= pathfix uidfix
+USE_LDCONFIG= yes
+
+OPTIONS_DEFINE= LIBAV
+OPTIONS_DEFAULT=
+
+LIBAV_DESC= Build with libav support for AAC audio
+LIBAV_LIB_DEPENDS= libavdevice.so:multimedia/gstreamer1-libav \
+ libavutil.so:multimedia/gstreamer1-libav \
+ libavcodec.so:multimedia/gstreamer1-libav \
+ libavformat.so:multimedia/gstreamer1-libav
+LIBAV_MAKE_ENV= HAVE_LIBAV=YES
+
+MAKE_ENV= LIBDIR=${PREFIX}/lib \
+ MAKEOBJDIRPREFIX=${WRKDIR}
+
+WRKSRC= ${SRC_BASE}/lib/virtual_oss/bt
+
+PLIST_FILES= lib/virtual_oss/voss_bt.so
+
+pre-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/virtual_oss
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${WRKSRC})
+IGNORE= requires FreeBSD source files in ${SRC_BASE}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/virtual_oss_bluetooth/pkg-descr b/audio/virtual_oss_bluetooth/pkg-descr
new file mode 100644
--- /dev/null
+++ b/audio/virtual_oss_bluetooth/pkg-descr
@@ -0,0 +1,6 @@
+Bluetooth backend virtual_oss.
+
+This is an extension for the base system version of virtual_oss. It enables
+bluetooth audio support, with the option of also including AAC audio support.
+The backend gets loaded dynamically only when a virtual_oss(8) invocation uses
+a bluetooth device.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 30, 5:26 PM (8 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27389209
Default Alt Text
D52426.diff (1 KB)
Attached To
Mode
D52426: audio/virtual_oss_bluetooth: New port
Attached
Detach File
Event Timeline
Log In to Comment