From patchwork Sat Oct 3 17:21:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Zwing?= X-Patchwork-Id: 525970 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 7CCD91402A8 for ; Sun, 4 Oct 2015 04:22:02 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=dawncrow.de header.i=@dawncrow.de header.b=wSz9r8Bj; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C056530D11; Sat, 3 Oct 2015 17:22:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lEdPrzpCvT97; Sat, 3 Oct 2015 17:21:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id B1A502EF65; Sat, 3 Oct 2015 17:21:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id AED8F1BF83A for ; Sat, 3 Oct 2015 17:21:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AB326A49C6 for ; Sat, 3 Oct 2015 17:21:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id epwHgUY3DT21 for ; Sat, 3 Oct 2015 17:21:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.216]) by fraxinus.osuosl.org (Postfix) with ESMTPS id ECEF6A49BD for ; Sat, 3 Oct 2015 17:21:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1443892913; l=2718; s=domk; d=dawncrow.de; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:To:Subject: From; bh=m9n4VzPlwkRsKbDZz+o7oHAFfp9elGrQJ3v+fSG64Do=; b=wSz9r8Bjgp1VjdFSEPOHj08K/2DnznagysnIhvpDrJ+zqgvfPytjPY3+f7T7terwNk5 K/WYk8DF8tfNgVpo5TXX09zB1h6rgXRVXRuMXmuGQ46l8IvDOMw/kzYcuAENorYngA3Y2 Szd8t7V7uKtQOa/O/LSRCsCnTqC9YDhcDVQ= X-RZG-AUTH: :ImkWY2CseuihIZy6ZWWciR6unPh5JPSWE7VxbdUCFBN5njG7Q28CH4dMe3vtXw== X-RZG-CLASS-ID: mo00 Received: from [192.168.178.40] ([185.61.122.208]) by smtp.strato.de (RZmta 37.12 AUTH) with ESMTPSA id t029b8r93HLrylz (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sat, 3 Oct 2015 19:21:53 +0200 (CEST) From: =?UTF-8?Q?Andr=c3=a9_Hentschel?= To: buildroot@buildroot.org Message-ID: <56100EB1.4010100@dawncrow.de> Date: Sat, 3 Oct 2015 19:21:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] openal: New package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: André Hentschel --- package/Config.in | 1 + package/openal/Config.in | 16 ++++++++++++++++ package/openal/openal.hash | 2 ++ package/openal/openal.mk | 26 ++++++++++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 package/openal/Config.in create mode 100644 package/openal/openal.hash create mode 100644 package/openal/openal.mk diff --git a/package/Config.in b/package/Config.in index 79cbbe6..6d15dd1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -722,6 +722,7 @@ menu "Audio/Sound" source "package/opencore-amr/Config.in" source "package/opus/Config.in" source "package/opusfile/Config.in" + source "package/openal/Config.in" source "package/portaudio/Config.in" source "package/speex/Config.in" source "package/taglib/Config.in" diff --git a/package/openal/Config.in b/package/openal/Config.in new file mode 100644 index 0000000..8eb177b --- /dev/null +++ b/package/openal/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_OPENAL + bool "openal" + # OpenAL needs a backend + depends on BR2_PACKAGE_ALSA_LIB || \ + BR2_PACKAGE_PORTAUDIO || \ + BR2_PACKAGE_PULSEAUDIO + help + OpenAL provides capabilities for playing audio in a virtual + 3D environment. Distance attenuation, doppler shift, and + directional sound emitters are among the features handled by + the API. + +comment "openal needs a backend" + depends on !BR2_PACKAGE_ALSA_LIB && \ + !BR2_PACKAGE_PORTAUDIO && \ + !BR2_PACKAGE_PULSEAUDIO diff --git a/package/openal/openal.hash b/package/openal/openal.hash new file mode 100644 index 0000000..b28b2e2 --- /dev/null +++ b/package/openal/openal.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 2f3dcd313fe26391284fbf8596863723f99c65d6c6846dccb48e79cadaf40d5f openal-soft-1.16.0.tar.bz2 diff --git a/package/openal/openal.mk b/package/openal/openal.mk new file mode 100644 index 0000000..a67d675 --- /dev/null +++ b/package/openal/openal.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# openal +# +################################################################################ + +OPENAL_VERSION = 1.16.0 +OPENAL_SOURCE = openal-soft-$(OPENAL_VERSION).tar.bz2 +OPENAL_SITE = http://kcat.strangesoft.net/openal-releases/ +OPENAL_LICENSE = LGPL +OPENAL_LICENSE_FILES = COPYING +OPENAL_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +OPENAL_DEPENDENCIES += alsa-lib +endif + +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +OPENAL_DEPENDENCIES += portaudio +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +OPENAL_DEPENDENCIES += pulseaudio +endif + +$(eval $(cmake-package))