From patchwork Fri Oct 25 23:36:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] jack2: new package X-Patchwork-Submitter: "Wojciech M. Zabolotny" X-Patchwork-Id: 286244 Message-Id: <1382744168-14259-1-git-send-email-wzab01@gmail.com> To: buildroot@busybox.net Date: Sat, 26 Oct 2013 01:36:08 +0200 From: "Wojciech M. Zabolotny" List-Id: Discussion and development of buildroot I corrected downloading of sources from the github, according to suggestion received from Thomas De Schampheleire. Signed-off-by: Wojciech M. Zabolotny --- package/Config.in | 1 + package/jack2/Config.in | 13 +++++++++++++ package/jack2/jack2.mk | 31 +++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 package/jack2/Config.in create mode 100644 package/jack2/jack2.mk diff --git a/package/Config.in b/package/Config.in index 0e6f86c..9f7e118 100644 --- a/package/Config.in +++ b/package/Config.in @@ -11,6 +11,7 @@ source "package/ffmpeg/Config.in" source "package/flac/Config.in" source "package/gstreamer/Config.in" source "package/gstreamer1/Config.in" +source "package/jack2/Config.in" source "package/lame/Config.in" source "package/libvpx/Config.in" source "package/madplay/Config.in" diff --git a/package/jack2/Config.in b/package/jack2/Config.in new file mode 100644 index 0000000..c82bc15 --- /dev/null +++ b/package/jack2/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_JACK2 + bool "jack2" + select BR2_PACKAGE_LIBSAMPLERATE + select BR2_PACKAGE_LIBSNDFILE + help + JACK Audio Connection Kit (server and example clients) + http://jackaudio.org/ + + JACK is a low-latency sound server, allowing multiple applications to + connect to one audio device, and to share audio between themselves. + + This package contains the daemon jackd as well as some example clients. + diff --git a/package/jack2/jack2.mk b/package/jack2/jack2.mk new file mode 100644 index 0000000..5ab751f --- /dev/null +++ b/package/jack2/jack2.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# jack2 +# +################################################################################ + +JACK2_VERSION = 37976441044d69b91d61d8f6278949a39cf1b7b7 +JACK2_SITE = http://github.com/jackaudio/jack2/tarball/$(JACK2_VERSION) +JACK2_LICENSE = LGPLv2.1+ +JACK2_DEPENDENCIES = \ + libsamplerate \ + libsndfile + +define JACK2_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + ./waf configure \ + --prefix=/usr \ + --alsa \ + ) +endef + +define JACK2_BUILD_CMDS + (cd $(@D); ./waf build -j $(PARALLEL_JOBS)) +endef + +define JACK2_INSTALL_TARGET_CMDS + (cd $(@D); ./waf --destdir=$(TARGET_DIR) install) +endef + +$(eval $(generic-package))