From 56d081de284947007c3f621cf987167ec928e4d7 Mon Sep 17 00:00:00 2001 From: Ricardo Crudo Date: Sat, 1 Nov 2014 13:32:17 -0200 Subject: Packages/audio: New jack2 v1.9.10 Signed-off-by: Ricardo Crudo --- packages/audio/jack2/jack2.kconfig | 77 ++++++++++++++++++++++++++++++++++++++ packages/audio/jack2/jack2.mk | 47 +++++++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 packages/audio/jack2/jack2.kconfig create mode 100644 packages/audio/jack2/jack2.mk (limited to 'packages') 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 . +# +################################################################################ +# +# \file jack2.kconfig +# \brief jack2.kconfig of Embtoolkit. +# \author Ricardo Crudo +# \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 . +# +################################################################################ +# +# \file jack2.mk +# \brief jack2.mk of Embtoolkit. +# \author Ricardo Crudo +# \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) -- cgit v1.2.3