Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] libsoxr: new package
Date: Sat, 19 Apr 2014 09:02:00 +0200	[thread overview]
Message-ID: <059e93c0-e63d-43ce-bf3b-6dcbcfd11ee4@email.android.com> (raw)
In-Reply-To: <1397867553-7107-1-git-send-email-hadrien.boutteville@gmail.com>

Hadrien Boutteville <hadrien.boutteville@gmail.com> schreef:
>Building tests fails mainly because of the cross-compilation, so they
>are disabled for the moment.
>
>Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
>---
> package/Config.in          |  1 +
> package/libsoxr/Config.in  | 16 ++++++++++++++++
> package/libsoxr/libsoxr.mk | 24 ++++++++++++++++++++++++
> 3 files changed, 41 insertions(+)
> create mode 100644 package/libsoxr/Config.in
> create mode 100644 package/libsoxr/libsoxr.mk
>
>diff --git a/package/Config.in b/package/Config.in
>index 748d28e..f04e422 100644
>--- a/package/Config.in
>+++ b/package/Config.in
>@@ -505,6 +505,7 @@ source "package/libmpd/Config.in"
> source "package/libreplaygain/Config.in"
> source "package/libsamplerate/Config.in"
> source "package/libsndfile/Config.in"
>+source "package/libsoxr/Config.in"
> source "package/libvorbis/Config.in"
> source "package/opus/Config.in"
> source "package/portaudio/Config.in"
>diff --git a/package/libsoxr/Config.in b/package/libsoxr/Config.in
>new file mode 100644
>index 0000000..ad6f8dd
>--- /dev/null
>+++ b/package/libsoxr/Config.in
>@@ -0,0 +1,16 @@
>+config BR2_PACKAGE_LIBSOXR
>+	bool "libsoxr"
>+	help
>+	  The SoX Resampler library `libsoxr' performs one-dimensional
>+	  sample-rate conversion?it may be used, for example, to
>+	  resample PCM-encoded audio.
>+
>+	  It aims to give fast and high quality results for any constant
>+	  (rational or irrational) resampling ratio. Phase-response,
>+	  preserved bandwidth, aliasing, and rejection level parameters
>+	  are all configurable; alternatively, simple `preset'
>+	  configurations may be selected. An experimental, variable-rate
>+	  resampling mode of operation is also included.
>+
>+	  http://sourceforge.net/projects/soxr/
>+
>diff --git a/package/libsoxr/libsoxr.mk b/package/libsoxr/libsoxr.mk
>new file mode 100644
>index 0000000..c0fb72b
>--- /dev/null
>+++ b/package/libsoxr/libsoxr.mk
>@@ -0,0 +1,24 @@
>+################################################################################
>+#
>+# libsoxr
>+#
>+################################################################################
>+
>+LIBSOXR_VERSION = 0.1.1
>+LIBSOXR_SITE = git://git.code.sf.net/p/soxr/code
>+LIBSOXR_LICENSE = LGPLv2.1
>+LIBSOXR_LICENSE_FILES = LICENCE COPYING.LGPL
>+LIBSOXR_INSTALL_STAGING = YES
>+LIBSOXR_CONF_OPT = -DWITH_OPENMP:BOOL=OFF -DBUILD_TESTS:BOOL=OFF
>+
>+ifeq ($(BR2_PREFER_STATIC_LIB),y)
>+LIBSOXR_CONF_OPT += -DBUILD_SHARED_LIBS:BOOL=OFF
>+endif
>+
>+ifeq ($(BR2_ENDIAN),"BIG")

Use 
ifeq ($(call qstrip,$(BR2_ENDIAN) ),BIG) 
instead..

Best regards,
Thomas

  reply	other threads:[~2014-04-19  7:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-19  0:32 [Buildroot] [PATCH 1/1] libsoxr: new package Hadrien Boutteville
2014-04-19  7:02 ` Thomas De Schampheleire [this message]
2014-04-19  7:52 ` Thomas Petazzoni
2014-04-19 10:49   ` Hadrien Boutteville
2014-04-19 12:06     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=059e93c0-e63d-43ce-bf3b-6dcbcfd11ee4@email.android.com \
    --to=patrickdepinguin@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox