aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2017-11-04 13:53:23 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2017-11-04 13:53:23 +0000
commitef0062d20a75c115f724c5f5d97c871193d27b86 (patch)
tree4ec7a928c64eef84e6b806e54909c8687d288c96
parent4813d17d9f0ba0b66d140cc382a3b12f474a45cb (diff)
downloadports-ef0062d20a75c115f724c5f5d97c871193d27b86.tar.gz
ports-ef0062d20a75c115f724c5f5d97c871193d27b86.zip
Notes
-rw-r--r--audio/Makefile1
-rw-r--r--audio/rtaudio/Makefile20
-rw-r--r--audio/rtaudio/distinfo3
-rw-r--r--audio/rtaudio/files/patch-configure.ac11
-rw-r--r--audio/rtaudio/pkg-descr6
-rw-r--r--audio/rtaudio/pkg-plist6
6 files changed, 47 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 3f15c51f022c..a9e4734af251 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -698,6 +698,7 @@
SUBDIR += rosegarden
SUBDIR += rplay
SUBDIR += rsynth
+ SUBDIR += rtaudio
SUBDIR += rtmidi
SUBDIR += rubberband
SUBDIR += ruby-smf
diff --git a/audio/rtaudio/Makefile b/audio/rtaudio/Makefile
new file mode 100644
index 000000000000..dc040c395123
--- /dev/null
+++ b/audio/rtaudio/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= rtaudio
+DISTVERSIONPREFIX= v
+DISTVERSION= 5.0.0
+CATEGORIES= audio
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= C++ classes that provide a common API for realtime audio input/output
+
+LICENSE= MIT
+
+USES= autoreconf libtool pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= thestk
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.mk>
diff --git a/audio/rtaudio/distinfo b/audio/rtaudio/distinfo
new file mode 100644
index 000000000000..e9e4da2badd9
--- /dev/null
+++ b/audio/rtaudio/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1509775215
+SHA256 (thestk-rtaudio-v5.0.0_GH0.tar.gz) = 14d1936c88585cacf081a896438f04f158c115c0fc9eec9364214040c4328376
+SIZE (thestk-rtaudio-v5.0.0_GH0.tar.gz) = 211279
diff --git a/audio/rtaudio/files/patch-configure.ac b/audio/rtaudio/files/patch-configure.ac
new file mode 100644
index 000000000000..1bd1da82bea7
--- /dev/null
+++ b/audio/rtaudio/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2017-11-04 06:06:02 UTC
++++ configure.ac
+@@ -142,7 +142,7 @@ case $host in
+ AS_IF([test "$api" == ""], [
+ AC_MSG_RESULT(using OSS)
+ api="$api -D__LINUX_OSS__"
+- LIBS="$LIBS -lossaudio"
++ LIBS="$LIBS"
+ AC_CHECK_LIB(pthread, pthread_create, , AC_MSG_ERROR(RtAudio requires the pthread library!))])
+ ;;
+
diff --git a/audio/rtaudio/pkg-descr b/audio/rtaudio/pkg-descr
new file mode 100644
index 000000000000..cd0d1204dce8
--- /dev/null
+++ b/audio/rtaudio/pkg-descr
@@ -0,0 +1,6 @@
+A set of C++ classes that provide a common API for realtime audio input/output
+across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X
+(CoreAudio and JACK), and Windows (DirectSound, ASIO and WASAPI) operating
+systems.
+
+WWW: https://github.com/thestk/rtaudio
diff --git a/audio/rtaudio/pkg-plist b/audio/rtaudio/pkg-plist
new file mode 100644
index 000000000000..96d2d723578a
--- /dev/null
+++ b/audio/rtaudio/pkg-plist
@@ -0,0 +1,6 @@
+include/rtaudio/RtAudio.h
+lib/librtaudio.a
+lib/librtaudio.so
+lib/librtaudio.so.6
+lib/librtaudio.so.6.0.0
+libdata/pkgconfig/rtaudio.pc