Index: head/audio/Makefile =================================================================== --- head/audio/Makefile +++ head/audio/Makefile @@ -698,6 +698,7 @@ SUBDIR += rosegarden SUBDIR += rplay SUBDIR += rsynth + SUBDIR += rtaudio SUBDIR += rtmidi SUBDIR += rubberband SUBDIR += ruby-smf Index: head/audio/rtaudio/Makefile =================================================================== --- head/audio/rtaudio/Makefile +++ head/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 Index: head/audio/rtaudio/distinfo =================================================================== --- head/audio/rtaudio/distinfo +++ head/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 Index: head/audio/rtaudio/files/patch-configure.ac =================================================================== --- head/audio/rtaudio/files/patch-configure.ac +++ head/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!))]) + ;; + Index: head/audio/rtaudio/pkg-descr =================================================================== --- head/audio/rtaudio/pkg-descr +++ head/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 Index: head/audio/rtaudio/pkg-plist =================================================================== --- head/audio/rtaudio/pkg-plist +++ head/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