summaryrefslogtreecommitdiff
path: root/media-libs/libsndfile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-02 02:07:07 +0000
commitd4f65848c7ecabb56e2f93889cbd20078cd347f7 (patch)
tree180032f5afeb689db6a270d612f3e3364ed8fd2b /media-libs/libsndfile
parentc635a4b7ddb6105bfc6fef130b188a087726677b (diff)
gentoo auto-resync : 02:12:2024 - 02:07:07
Diffstat (limited to 'media-libs/libsndfile')
-rw-r--r--media-libs/libsndfile/Manifest4
-rw-r--r--media-libs/libsndfile/libsndfile-1.2.2-r2.ebuild12
-rw-r--r--media-libs/libsndfile/libsndfile-9999.ebuild9
3 files changed, 20 insertions, 5 deletions
diff --git a/media-libs/libsndfile/Manifest b/media-libs/libsndfile/Manifest
index 60f9235e1662..9af48ae1ed8f 100644
--- a/media-libs/libsndfile/Manifest
+++ b/media-libs/libsndfile/Manifest
@@ -1,4 +1,4 @@
DIST libsndfile-1.2.2.tar.xz 730760 BLAKE2B bc8e49983d9ad9dfd98984e2ffef501c6f576480e556e9f9ef91c7d597524cc1bb8baed15dfef8e239f72c42136c524117029eb8271f3a2c9d607fee490279b5 SHA512 a6e3ea3ac5d91befaa99f6a31a3fac44e7b7c11f1de4698167317a461d5a19a2651d47486a920b34400f18367b4f6173bf0c1c9ba80eb682cece1b5beee352a0
-EBUILD libsndfile-1.2.2-r2.ebuild 1767 BLAKE2B ee09c452b9c799774df5391e9cb00a87812632629c6adfddb3a881a9fc00fdf25e9cde12e81ea7b7d32a1c7717beb2d6152ad3ac1da9e9ffac3bce1a0a9e8cf7 SHA512 9b3ea342bfc5481267bb22785156993d00cdf67198e1aff746ca4aec8b9b448e603274efc6ab039f97736062de0510bf789c00125d5f239d4f88f9ed976ab8a2
-EBUILD libsndfile-9999.ebuild 1774 BLAKE2B a9963d47b497aa510a1d6a3fb3ddf4c679ede3655d21cb1f34c7c40e4f4ea3c6d77c113d166d14be5631e0dae4fcc74376d72af59ef161f0e46b7513fdea0b05 SHA512 a4bcfec322f5c51b3a18eea870c6ca9306d7fdfaf6c962364ea1e032fe995a90088ef1fd097c9468f602c801ca98d87bcb69e086ba1e869ee93d8c0ed04bfd3a
+EBUILD libsndfile-1.2.2-r2.ebuild 2020 BLAKE2B 1773ccb115cfa0ffa12e43d46fd5433a637e7e0e3a31085a43363a039d2b70df59a39cdfe89881e746494c9b522bc6a25af718bc773afb162834c4ccc736b34b SHA512 fd13ca364e7b6003d96230ffdd6e57b512cfbb23870a0b5ff34eed92ef1d9c303d4b4affa1d98813b9386b3b5ad5c4b38c8d78d2f8f069751503b975456577c1
+EBUILD libsndfile-9999.ebuild 1937 BLAKE2B 470a38129598862f32a8b2fbfeace16e946ddb5da4745a5347a9b5d408cf7c5ed409281f257ab890154147f948e4a0f46f50e9657a2ef2e8ddd2405a0f460446 SHA512 298c82e756e3c48e94b0d6e95d429075161edcb00fa642d0590fcf7942fd62ea2c2732b0e81ae804d804213fc7ba0a0d701a6bdbb8fe50edb49615ce36eb58ad
MISC metadata.xml 413 BLAKE2B 744bb13f39bb333b397c4d00ca7f59ff8d6155992bc9991fe50345a456a9bbd5a059dc0bd6d6478cf04991f53aeabc409896d44bc0e963945ecf99ac260ebd0e SHA512 dfbac91e8bd390ed1cb504180418ace1c4becf34fa7306effc78f1d188e1fa7cbf20418c9eef67ab10c9479240c7fa576ad76e263a16e7133e15c83596bf2f2e
diff --git a/media-libs/libsndfile/libsndfile-1.2.2-r2.ebuild b/media-libs/libsndfile/libsndfile-1.2.2-r2.ebuild
index dc08adbb90a0..21634fd6b8ab 100644
--- a/media-libs/libsndfile/libsndfile-1.2.2-r2.ebuild
+++ b/media-libs/libsndfile/libsndfile-1.2.2-r2.ebuild
@@ -12,7 +12,7 @@ else
SRC_URI="https://github.com/libsndfile/libsndfile/releases/download/${PV}/${P}.tar.xz"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
-inherit python-any-r1 multilib-minimal
+inherit flag-o-matic python-any-r1 multilib-minimal
DESCRIPTION="C library for reading and writing files containing sampled sound"
HOMEPAGE="https://libsndfile.github.io/libsndfile/"
@@ -49,8 +49,16 @@ src_prepare() {
[[ ${PV} == *9999 ]] && eautoreconf
}
+src_configure() {
+ # https://github.com/libsndfile/libsndfile/issues/1049 (bug #943864)
+ append-cflags -std=gnu17
+
+ multilib-minimal_src_configure
+}
+
multilib_src_configure() {
- ECONF_SOURCE="${S}" econf \
+ # CONFIG_SHELL hack can be dropped >1.2.2 (bug #923921)
+ CONFIG_SHELL="${BROOT}"/bin/bash ECONF_SOURCE="${S}" econf \
--disable-octave \
--disable-static \
--disable-werror \
diff --git a/media-libs/libsndfile/libsndfile-9999.ebuild b/media-libs/libsndfile/libsndfile-9999.ebuild
index d75e3910471e..f32a95a3585c 100644
--- a/media-libs/libsndfile/libsndfile-9999.ebuild
+++ b/media-libs/libsndfile/libsndfile-9999.ebuild
@@ -12,7 +12,7 @@ else
SRC_URI="https://github.com/libsndfile/libsndfile/releases/download/${PV}/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
-inherit python-any-r1 multilib-minimal
+inherit flag-o-matic python-any-r1 multilib-minimal
DESCRIPTION="C library for reading and writing files containing sampled sound"
HOMEPAGE="https://libsndfile.github.io/libsndfile/"
@@ -49,6 +49,13 @@ src_prepare() {
[[ ${PV} == *9999 ]] && eautoreconf
}
+src_configure() {
+ # https://github.com/libsndfile/libsndfile/issues/1049 (bug #943864)
+ append-cflags -std=gnu17
+
+ multilib-minimal_src_configure
+}
+
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
--disable-octave \