All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa
@ 2022-06-28 18:32 Fabrice Fontaine
  2022-06-28 18:32 ` [Buildroot] [PATCH 2/3] package/libsamplerate: disable sndfile Fabrice Fontaine
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2022-06-28 18:32 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Commit 5b679d7806767206f2c7bd7ff69b412bebb504f8 forgot to set
--{dis,en}able-alsa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libsamplerate/libsamplerate.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/libsamplerate/libsamplerate.mk b/package/libsamplerate/libsamplerate.mk
index 146d57d15e..9d6b6a5ca5 100644
--- a/package/libsamplerate/libsamplerate.mk
+++ b/package/libsamplerate/libsamplerate.mk
@@ -15,6 +15,9 @@ LIBSAMPLERATE_CPE_ID_VENDOR = libsamplerate_project
 
 ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
 LIBSAMPLERATE_DEPENDENCIES += alsa-lib
+LIBSAMPLERATE_CONF_OPTS += --enable-alsa
+else
+LIBSAMPLERATE_CONF_OPTS += --disable-alsa
 endif
 
 ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/3] package/libsamplerate: disable sndfile
  2022-06-28 18:32 [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa Fabrice Fontaine
@ 2022-06-28 18:32 ` Fabrice Fontaine
  2022-07-23 14:33   ` Peter Korsgaard
  2022-06-28 18:32 ` [Buildroot] [PATCH 3/3] package/libsamplerate: bump to version 0.2.2 Fabrice Fontaine
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Fabrice Fontaine @ 2022-06-28 18:32 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

libsndfile is only used for examples and tests so disable it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libsamplerate/libsamplerate.mk | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/package/libsamplerate/libsamplerate.mk b/package/libsamplerate/libsamplerate.mk
index 9d6b6a5ca5..584f61f02a 100644
--- a/package/libsamplerate/libsamplerate.mk
+++ b/package/libsamplerate/libsamplerate.mk
@@ -8,7 +8,10 @@ LIBSAMPLERATE_VERSION = 0.1.9
 LIBSAMPLERATE_SITE = http://www.mega-nerd.com/SRC
 LIBSAMPLERATE_INSTALL_STAGING = YES
 LIBSAMPLERATE_DEPENDENCIES = host-pkgconf
-LIBSAMPLERATE_CONF_OPTS = --disable-fftw --program-transform-name=''
+LIBSAMPLERATE_CONF_OPTS = \
+	--disable-fftw \
+	--disable-sndfile \
+	--program-transform-name=''
 LIBSAMPLERATE_LICENSE = BSD-2-Clause
 LIBSAMPLERATE_LICENSE_FILES = COPYING
 LIBSAMPLERATE_CPE_ID_VENDOR = libsamplerate_project
@@ -20,8 +23,4 @@ else
 LIBSAMPLERATE_CONF_OPTS += --disable-alsa
 endif
 
-ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
-LIBSAMPLERATE_DEPENDENCIES += libsndfile
-endif
-
 $(eval $(autotools-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 3/3] package/libsamplerate: bump to version 0.2.2
  2022-06-28 18:32 [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa Fabrice Fontaine
  2022-06-28 18:32 ` [Buildroot] [PATCH 2/3] package/libsamplerate: disable sndfile Fabrice Fontaine
@ 2022-06-28 18:32 ` Fabrice Fontaine
  2022-07-06 21:27 ` [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa Thomas Petazzoni via buildroot
  2022-07-23 14:32 ` Peter Korsgaard
  3 siblings, 0 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2022-06-28 18:32 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

- Switch site to get latest release
- Update indentation in hash file (two spaces)

https://github.com/libsndfile/libsamplerate/blob/0.2.2/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libsamplerate/Config.in          | 2 +-
 package/libsamplerate/libsamplerate.hash | 4 ++--
 package/libsamplerate/libsamplerate.mk   | 5 +++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/package/libsamplerate/Config.in b/package/libsamplerate/Config.in
index b394fdb0ac..5cce287f81 100644
--- a/package/libsamplerate/Config.in
+++ b/package/libsamplerate/Config.in
@@ -6,4 +6,4 @@ config BR2_PACKAGE_LIBSAMPLERATE
 	  be useful is converting audio from the CD sample rate of
 	  44.1kHz to the 48kHz sample rate used by DAT players.
 
-	  http://www.mega-nerd.com/SRC/
+	  http://libsndfile.github.io/libsamplerate/
diff --git a/package/libsamplerate/libsamplerate.hash b/package/libsamplerate/libsamplerate.hash
index 73722563ef..c5e22ba57c 100644
--- a/package/libsamplerate/libsamplerate.hash
+++ b/package/libsamplerate/libsamplerate.hash
@@ -1,4 +1,4 @@
 # Locally calculated after checking pgp signature
-sha256  0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1  libsamplerate-0.1.9.tar.gz
+sha256  3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893  libsamplerate-0.2.2.tar.xz
 # Locally computed
-sha256 2c1f76ce2effdddb425018405d5690c0b1ab4e6976e35296b0a6db65c5e1a55d  COPYING
+sha256  2c1f76ce2effdddb425018405d5690c0b1ab4e6976e35296b0a6db65c5e1a55d  COPYING
diff --git a/package/libsamplerate/libsamplerate.mk b/package/libsamplerate/libsamplerate.mk
index 584f61f02a..5489f35cc0 100644
--- a/package/libsamplerate/libsamplerate.mk
+++ b/package/libsamplerate/libsamplerate.mk
@@ -4,8 +4,9 @@
 #
 ################################################################################
 
-LIBSAMPLERATE_VERSION = 0.1.9
-LIBSAMPLERATE_SITE = http://www.mega-nerd.com/SRC
+LIBSAMPLERATE_VERSION = 0.2.2
+LIBSAMPLERATE_SOURCE = libsamplerate-$(LIBSAMPLERATE_VERSION).tar.xz
+LIBSAMPLERATE_SITE = https://github.com/libsndfile/libsamplerate/releases/download/$(LIBSAMPLERATE_VERSION)
 LIBSAMPLERATE_INSTALL_STAGING = YES
 LIBSAMPLERATE_DEPENDENCIES = host-pkgconf
 LIBSAMPLERATE_CONF_OPTS = \
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa
  2022-06-28 18:32 [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa Fabrice Fontaine
  2022-06-28 18:32 ` [Buildroot] [PATCH 2/3] package/libsamplerate: disable sndfile Fabrice Fontaine
  2022-06-28 18:32 ` [Buildroot] [PATCH 3/3] package/libsamplerate: bump to version 0.2.2 Fabrice Fontaine
@ 2022-07-06 21:27 ` Thomas Petazzoni via buildroot
  2022-07-23 14:32 ` Peter Korsgaard
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-06 21:27 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

On Tue, 28 Jun 2022 20:32:11 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Commit 5b679d7806767206f2c7bd7ff69b412bebb504f8 forgot to set
> --{dis,en}able-alsa
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/libsamplerate/libsamplerate.mk | 3 +++
>  1 file changed, 3 insertions(+)

Series applied to master. On PATCH 2/3, I've added a comment in
libsamplerate.mk to explain why we're passing --disable-sndfile, so
that someone is not tempted to re-add an optional dependency to sndfile.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa
  2022-06-28 18:32 [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa Fabrice Fontaine
                   ` (2 preceding siblings ...)
  2022-07-06 21:27 ` [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa Thomas Petazzoni via buildroot
@ 2022-07-23 14:32 ` Peter Korsgaard
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2022-07-23 14:32 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Commit 5b679d7806767206f2c7bd7ff69b412bebb504f8 forgot to set
 > --{dis,en}able-alsa

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.05.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 2/3] package/libsamplerate: disable sndfile
  2022-06-28 18:32 ` [Buildroot] [PATCH 2/3] package/libsamplerate: disable sndfile Fabrice Fontaine
@ 2022-07-23 14:33   ` Peter Korsgaard
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2022-07-23 14:33 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > libsndfile is only used for examples and tests so disable it
 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.05.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-07-23 14:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-28 18:32 [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa Fabrice Fontaine
2022-06-28 18:32 ` [Buildroot] [PATCH 2/3] package/libsamplerate: disable sndfile Fabrice Fontaine
2022-07-23 14:33   ` Peter Korsgaard
2022-06-28 18:32 ` [Buildroot] [PATCH 3/3] package/libsamplerate: bump to version 0.2.2 Fabrice Fontaine
2022-07-06 21:27 ` [Buildroot] [PATCH 1/3] package/libsamplerate: use --{dis, en}able-alsa Thomas Petazzoni via buildroot
2022-07-23 14:32 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.