summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Crudo <ricardo.crudo@gmail.com>2014-11-01 13:32:17 -0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-11-01 18:31:29 +0100
commit56d081de284947007c3f621cf987167ec928e4d7 (patch)
tree26955f344c1d907c65886007ff62a7f1bf161d27
parent3292f5524bc7f4777c74186bf8c51f90bee6fc2d (diff)
downloadembtoolkit-56d081de284947007c3f621cf987167ec928e4d7.tar.gz
embtoolkit-56d081de284947007c3f621cf987167ec928e4d7.tar.bz2
embtoolkit-56d081de284947007c3f621cf987167ec928e4d7.tar.xz
Packages/audio: New jack2 v1.9.10
Signed-off-by: Ricardo Crudo <ricardo.crudo@gmail.com>
-rw-r--r--packages/audio/jack2/jack2.kconfig77
-rw-r--r--packages/audio/jack2/jack2.mk47
2 files changed, 124 insertions, 0 deletions
diff --git a/packages/audio/jack2/jack2.kconfig b/packages/audio/jack2/jack2.kconfig
new file mode 100644
index 0000000..94a0952
--- /dev/null
+++ b/packages/audio/jack2/jack2.kconfig
@@ -0,0 +1,77 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file jack2.kconfig
+# \brief jack2.kconfig of Embtoolkit.
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \date Oct 2014
+################################################################################
+
+config EMBTK_HAVE_JACK2
+ bool "Have jack2"
+ select EMBTK_HAVE_LIBSNDFILE
+ select EMBTK_HAVE_LIBSAMPLERATE
+ help
+ JACK Audio Connection Kit - Have you ever wanted to take the audio
+ output of one piece of software and send it to another? How about
+ taking the output of that same program and send it to two others,
+ then record the result in the first program? Or maybe you're a
+ programmer who writes real-time audio and music applications and
+ who is looking for a cross-platform API that enables not only
+ device sharing but also inter-application audio routing, and is
+ incredibly easy to learn and use? If so, JACK may be what you've
+ been looking for.
+
+choice
+ prompt "jack2 version to use"
+ depends on EMBTK_HAVE_JACK2
+ help
+ jack2 version to use
+
+ config EMBTK_JACK2_VERSION_1_9_10
+ bool "jack2-1.9.10"
+endchoice
+
+if EMBTK_HAVE_JACK2
+comment "JACK2 options"
+config EMBTK_JACK2_WITH_ALSA
+ bool "Build JACK2 with alsa driver support"
+#config EMBTK_JACK2_WITH_DBUS
+# bool "Build JACK2 with D-Bus support"
+# TODO: solve dependencies
+#config EMBTK_JACK2_WITH_IIO
+# bool "Build JACK2 with IIO driver support"
+#config EMBTK_JACK2_WITH_FIREWIRE
+# bool "Build JACK2 with FireWire (FFADO) driver support"
+#config EMBTK_JACK2_WITH_FREEBOB
+# bool "Build JACK2 with FreeBob driver support"
+#config EMBTK_JACK2_WITH_PORTAUDIO
+# bool "Build JACK2 with Portaudio driver support"
+endif
+
+config EMBTK_JACK2_VERSION_STRING
+ string
+ default "1.9.10" if EMBTK_JACK2_VERSION_1_9_10
+
+config EMBTK_JACK2_NEED_PATCH
+ bool
+
+config EMBTK_JACK2_USE_WAF
+ bool
+ default y
diff --git a/packages/audio/jack2/jack2.mk b/packages/audio/jack2/jack2.mk
new file mode 100644
index 0000000..6a3e9ec
--- /dev/null
+++ b/packages/audio/jack2/jack2.mk
@@ -0,0 +1,47 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file jack2.mk
+# \brief jack2.mk of Embtoolkit.
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \date Oct 2014
+################################################################################
+
+JACK2_NAME := jack2
+JACK2_VERSION := $(call embtk_pkg_version,jack2)
+JACK2_SITE := https://github.com/jackaudio/jack2/archive
+JACK2_PACKAGE := v$(JACK2_VERSION).tar.gz
+JACK2_SRC_DIR := $(embtk_pkgb)/jack2-$(JACK2_VERSION)
+JACK2_BUILD_DIR := $(embtk_pkgb)/jack2-$(JACK2_VERSION)
+
+JACK2_BINS := jackd jack_*
+JACK2_INCLUDES := jack
+JACK2_LIBS := jack libjack*
+JACK2_PKGCONFIGS := jack.pc
+JACK2_SHARES := man/man1/jack* man/man1/alsa_in.1 man/man1/alsa_out.1
+
+JACK2_CONFIGURE_OPTS := $(if $(CONFIG_EMBTK_JACK2_WITH_ALSA),--alsa)
+#JACK2_CONFIGURE_OPTS += $(if $(CONFIG_EMBTK_JACK2_WITH_DBUS),--dbus)
+#JACK2_CONFIGURE_OPTS += $(if $(CONFIG_EMBTK_JACK2_WITH_FIREWIRE),--firewire)
+#JACK2_CONFIGURE_OPTS += $(if $(CONFIG_EMBTK_JACK2_WITH_FREEBOB),--freebob)
+#JACK2_CONFIGURE_OPTS += $(if $(CONFIG_EMBTK_JACK2_WITH_IIO),--iio)
+#JACK2_CONFIGURE_OPTS += $(if $(CONFIG_EMBTK_JACK2_WITH_PORTAUDIO),--portaudio)
+
+JACK2_DEPS := libsndfile_install libsamplerate_install
+JACK2_DEPS += $(if $(CONFIG_EMBTK_JACK2_WITH_ALSA),alsa-lib_install)