From patchwork Fri Oct 25 23:36:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wojciech M. Zabolotny" X-Patchwork-Id: 286244 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id B12EF2C0126 for ; Sat, 26 Oct 2013 10:36:24 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 818BC93120; Fri, 25 Oct 2013 23:36:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aqV5wL6F75gO; Fri, 25 Oct 2013 23:36:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B56F0894F1; Fri, 25 Oct 2013 23:36:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6865C1BFA79 for ; Fri, 25 Oct 2013 23:36:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 61B058D0F7 for ; Fri, 25 Oct 2013 23:36:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yvmjkDXMQXbG for ; Fri, 25 Oct 2013 23:36:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id 79EB28CE90 for ; Fri, 25 Oct 2013 23:36:19 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id q58so4556620wes.28 for ; Fri, 25 Oct 2013 16:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:references:in-replay-to; bh=sW5Hx6e9UXbua6IVhae+zRM7xZSrnn+HBSvA7OT8/uQ=; b=Pd28xoBsW9gp+wOZuocCISAfGqwGQOzYg9Oe5vCSdjm7Zkr97XFQRPg91AWszGMheH VaxmptsGs1+vJi/NSpyZwmLSEjXDDqpFiIF5GzFw/rKOTNNi+24Fc9ueUwTYzw/XPYQJ XLrSZG9qlcglRdUKyloDdtUJZK9qtLGUXe4ZmFUzGAIyQM4kxt4qWbGsSbnPta2QfR1F QOnWDpGYBUX1DdPXCm4SUuoBYf6RVd40Pm+n6jUyF3lmRJ7M+q7Sz7HYujOw2X3tVGSc QXKvFiLYevmvmzTfhuiYItXM4OVL0Pjqf6en9Vsylz74AA10bcS6v4vi23ohKaOq3jMG VqGw== X-Received: by 10.194.206.5 with SMTP id lk5mr9423872wjc.46.1382744177910; Fri, 25 Oct 2013 16:36:17 -0700 (PDT) Received: from WZlap.lan (031011152171.warszawa.vectranet.pl. [31.11.152.171]) by mx.google.com with ESMTPSA id b7sm10901580wiz.8.2013.10.25.16.36.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Oct 2013 16:36:17 -0700 (PDT) From: "Wojciech M. Zabolotny" To: buildroot@busybox.net Date: Sat, 26 Oct 2013 01:36:08 +0200 Message-Id: <1382744168-14259-1-git-send-email-wzab01@gmail.com> X-Mailer: git-send-email 1.8.4.rc3 References: <1256826d-31b9-4b85-8834-35694e372fac@email.android.com> <1382658143-3850-1-git-send-email-wzab01@gmail.com> In-Replay-To: <1382658143-3850-1-git-send-email-wzab01@gmail.com> Subject: [Buildroot] [PATCH 1/1] jack2: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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))