aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2016-10-28 21:03:39 +0800
committerkwm <kwm@FreeBSD.org>2016-10-28 21:03:39 +0800
commit83ddf410ee3a4f89c89879a30e1071d757bdf4be (patch)
tree0528060873386122444d75d7e771eeee7f6c8781 /audio
parent678959e344da4c2e700523746ce249109fc5908b (diff)
downloadfreebsd-ports-gnome-83ddf410ee3a4f89c89879a30e1071d757bdf4be.tar.gz
freebsd-ports-gnome-83ddf410ee3a4f89c89879a30e1071d757bdf4be.tar.zst
freebsd-ports-gnome-83ddf410ee3a4f89c89879a30e1071d757bdf4be.zip
Add virtual_oss and it's graphical control panel virtual_oss_ctl.
Virtual OSS is an audio mixing application that multiplexes and demultiplexes a single OSS device into multiple customizable OSS compatible devices using character devices in userspace. These devices can be used to record played back audio and mix the individual channels in multiple ways. Virtual OSS also supports playback and recording through bluetooth audio devices. Submitted by: Hans Petter Selasky
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile2
-rw-r--r--audio/virtual_oss/Makefile39
-rw-r--r--audio/virtual_oss/distinfo3
-rw-r--r--audio/virtual_oss/pkg-descr8
-rw-r--r--audio/virtual_oss_ctl/Makefile21
-rw-r--r--audio/virtual_oss_ctl/distinfo3
-rw-r--r--audio/virtual_oss_ctl/pkg-descr1
-rw-r--r--audio/virtual_oss_ctl/pkg-plist3
8 files changed, 80 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 0a6b798e1f81..906fa4fb1c3d 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -794,6 +794,8 @@
SUBDIR += vagalume
SUBDIR += vamp-plugin-sdk
SUBDIR += ventrilo-server
+ SUBDIR += virtual_oss
+ SUBDIR += virtual_oss_ctl
SUBDIR += vitunes
SUBDIR += vo-aacenc
SUBDIR += vo-amrwbenc
diff --git a/audio/virtual_oss/Makefile b/audio/virtual_oss/Makefile
new file mode 100644
index 000000000000..afe09f771228
--- /dev/null
+++ b/audio/virtual_oss/Makefile
@@ -0,0 +1,39 @@
+# Created by: Hans Petter Selasky <hselasky@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= virtual_oss
+PORTVERSION= 1.1.1
+CATEGORIES= audio
+MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
+ http://home.selasky.org:8192/distfiles/
+
+MAINTAINER= hselasky@FreeBSD.org
+COMMENT= Virtual OSS multi device mixer application.
+
+LICENSE= BSD2CLAUSE
+
+LIB_DEPENDS= libsamplerate.so:audio/libsamplerate
+
+USES= tar:bzip2 uidfix
+
+OPTIONS_DEFINE= BLUETOOTH DEBUG
+OPTIONS_DEFAULT=BLUETOOTH
+
+.if exists(/usr/lib/libcuse.so)
+MAKE_ARGS= HAVE_CUSE="YES"
+.else
+BUILD_DEPENDS+= cuse4bsd-kmod>=0.1.24:multimedia/cuse4bsd-kmod
+LIB_DEPENDS+= libcuse4bsd.so:multimedia/cuse4bsd-kmod
+.endif
+
+BLUETOOTH_DESC= Build with bluetooth support
+BLUETOOTH_MAKE_ARGS= HAVE_BLUETOOTH="YES"
+DEBUG_DESC= Build with debugging support
+DEBUG_MAKE_ARGS= HAVE_DEBUG="YES"
+
+PLIST_FILES= sbin/virtual_oss \
+ man/man8/virtual_oss.8.gz
+
+MAKE_ARGS+= PTHREAD_LIBS="-lpthread"
+
+.include <bsd.port.mk>
diff --git a/audio/virtual_oss/distinfo b/audio/virtual_oss/distinfo
new file mode 100644
index 000000000000..c0fb5925cd9d
--- /dev/null
+++ b/audio/virtual_oss/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1477659310
+SHA256 (virtual_oss-1.1.1.tar.bz2) = 69f443a07eeaff1ae2cf248115e901fc55ee0f4e9f567e05cc18e5d4322a91c0
+SIZE (virtual_oss-1.1.1.tar.bz2) = 33476
diff --git a/audio/virtual_oss/pkg-descr b/audio/virtual_oss/pkg-descr
new file mode 100644
index 000000000000..5d602deb8b36
--- /dev/null
+++ b/audio/virtual_oss/pkg-descr
@@ -0,0 +1,8 @@
+Virtual OSS is an audio mixing application that multiplexes and
+demultiplexes a single OSS device into multiple customizable OSS
+compatible devices using character devices in userspace. These devices
+can be used to record played back audio and mix the individual
+channels in multiple ways.
+
+Virtual OSS also supports playback and recording through bluetooth
+audio devices.
diff --git a/audio/virtual_oss_ctl/Makefile b/audio/virtual_oss_ctl/Makefile
new file mode 100644
index 000000000000..9cf1313bc242
--- /dev/null
+++ b/audio/virtual_oss_ctl/Makefile
@@ -0,0 +1,21 @@
+# Created by: Hans Petter Selasky <hselasky@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= virtual_oss_ctl
+PORTVERSION= 1.1.0
+CATEGORIES= audio
+MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
+ http://home.selasky.org:8192/distfiles/
+
+MAINTAINER= hselasky@FreeBSD.org
+COMMENT= Grapical control panel for the virtual OSS daemon
+
+LICENSE= BSD2CLAUSE
+
+RUN_DEPENDS= virtual_oss:audio/virtual_oss
+
+USES= qmake tar:bzip2
+USE_QT4= corelib gui qmake_build moc_build rcc_build
+
+.include <bsd.port.mk>
+
diff --git a/audio/virtual_oss_ctl/distinfo b/audio/virtual_oss_ctl/distinfo
new file mode 100644
index 000000000000..a7b371b99e85
--- /dev/null
+++ b/audio/virtual_oss_ctl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1474625830
+SHA256 (virtual_oss_ctl-1.1.0.tar.bz2) = 19d7434c3a85d6741be25aa09e6bf83f28b34768f6b314766955e6e09450068b
+SIZE (virtual_oss_ctl-1.1.0.tar.bz2) = 12725
diff --git a/audio/virtual_oss_ctl/pkg-descr b/audio/virtual_oss_ctl/pkg-descr
new file mode 100644
index 000000000000..589752c1bc28
--- /dev/null
+++ b/audio/virtual_oss_ctl/pkg-descr
@@ -0,0 +1 @@
+A grapical control panel for the virtual OSS daemon.
diff --git a/audio/virtual_oss_ctl/pkg-plist b/audio/virtual_oss_ctl/pkg-plist
new file mode 100644
index 000000000000..2b6615e16c17
--- /dev/null
+++ b/audio/virtual_oss_ctl/pkg-plist
@@ -0,0 +1,3 @@
+bin/virtual_oss_ctl
+share/pixmaps/virtual_oss_ctl.png
+share/applications/virtual_oss_ctl.desktop