From 9574298151cf44a3b410bdb7a7076e7bed72570d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 13 Aug 2023 12:10:18 +0100 Subject: gentoo auto-resync : 13:08:2023 - 12:10:18 --- media-libs/libsndfile/Manifest | 4 +- media-libs/libsndfile/libsndfile-1.2.2.ebuild | 77 +++++++++++++++++++++++++++ media-libs/libsndfile/libsndfile-9999.ebuild | 4 +- 3 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 media-libs/libsndfile/libsndfile-1.2.2.ebuild (limited to 'media-libs/libsndfile') diff --git a/media-libs/libsndfile/Manifest b/media-libs/libsndfile/Manifest index e8b31e0cb7cb..d839d8826ddb 100644 --- a/media-libs/libsndfile/Manifest +++ b/media-libs/libsndfile/Manifest @@ -1,4 +1,6 @@ DIST libsndfile-1.2.0.tar.xz 730268 BLAKE2B cb13fde9b9f44c6279a9ee7741457824eb41fc17261bf9c669d757e9e506eba2c3d4ad259e4625b8a11c82308188cc19f7399e9d1fc0299a3a11794e4b653e47 SHA512 c0dee6b33cd3c619aa13ec2854a5480e826640ca98a438758346194e83752af576a39f9de118824f0d0c61288632d87b489dc5793c025296e0f15564d87ca12a +DIST libsndfile-1.2.2.tar.xz 730760 BLAKE2B bc8e49983d9ad9dfd98984e2ffef501c6f576480e556e9f9ef91c7d597524cc1bb8baed15dfef8e239f72c42136c524117029eb8271f3a2c9d607fee490279b5 SHA512 a6e3ea3ac5d91befaa99f6a31a3fac44e7b7c11f1de4698167317a461d5a19a2651d47486a920b34400f18367b4f6173bf0c1c9ba80eb682cece1b5beee352a0 EBUILD libsndfile-1.2.0.ebuild 1884 BLAKE2B f8b52899cd39e5d69dbc930d68ea5cf2d9e53de6f6e1827dcfb56434ac5e243be1840c653250a8aa8f57c18e25a4c3675c9fdf56e982f4a8a8a5891e833b2628 SHA512 da9c6d2c04bb047d19004705c3a8dc82cd6e2dbe330612915b69e2d9ae81ff0169ccf493fe005b94b03740f7e5f5dc7a815c91e2c804d50071d348aa7e33824d -EBUILD libsndfile-9999.ebuild 1884 BLAKE2B 88e9abe02282d080a3f9642a6e8a48d96f5c3436a897b23158085da29632d76f2387454e5c41f56ad60dce605ebbcb608c7b51d726d2dbbadf31b62be6c95347 SHA512 3f44761fe2b4576b07a9ac2d9331fa19a8b3078bb2db0e8eac9be4bac1cce83859c0553df41cfdbf0d6952ee2f16c7f5753839a525a6113de9f33bc6f782d7cf +EBUILD libsndfile-1.2.2.ebuild 1892 BLAKE2B e433101d59eb286fafec0bb0a4ecc3a8739d3c513e79eae29b5e887bb471cd37a2e0484ef1a8f637e3eb86310acd4c8651958f15911598f20003545a4c39d65c SHA512 8ffd986c64551e2ba83dc37cc19aecad32206fae85d8c6469cd537eaf4f7cac94956aab58da08bce79ef4a270d2c6db6189f2bbb568ba4defed16534a6ba8d8c +EBUILD libsndfile-9999.ebuild 1892 BLAKE2B e433101d59eb286fafec0bb0a4ecc3a8739d3c513e79eae29b5e887bb471cd37a2e0484ef1a8f637e3eb86310acd4c8651958f15911598f20003545a4c39d65c SHA512 8ffd986c64551e2ba83dc37cc19aecad32206fae85d8c6469cd537eaf4f7cac94956aab58da08bce79ef4a270d2c6db6189f2bbb568ba4defed16534a6ba8d8c MISC metadata.xml 340 BLAKE2B 26c245d58463cd3d14645b476de30407e51e47777d36dff251f0f68d9e981e8b6d95cf9aacc51d08feb4f1e550152f38b66d8dae23c40fd1b65702d59044b05a SHA512 54f132b485fc720dc0e1c311370dbc5f7ed4d3a1c8271aafeb9f01fef411df95f0cd55d605debcc3477fcc07aab4b298c240084e70df19a10b1b22c33d57b9c2 diff --git a/media-libs/libsndfile/libsndfile-1.2.2.ebuild b/media-libs/libsndfile/libsndfile-1.2.2.ebuild new file mode 100644 index 000000000000..4adcb3826f99 --- /dev/null +++ b/media-libs/libsndfile/libsndfile-1.2.2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +if [[ ${PV} == *9999 ]]; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/libsndfile/libsndfile.git" +else + SRC_URI="https://github.com/libsndfile/libsndfile/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 + +DESCRIPTION="C library for reading and writing files containing sampled sound" +HOMEPAGE="https://libsndfile.github.io/libsndfile/" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="alsa minimal sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !minimal? ( + media-libs/flac:=[${MULTILIB_USEDEP}] + media-libs/libogg:=[${MULTILIB_USEDEP}] + media-libs/libvorbis:=[${MULTILIB_USEDEP}] + media-libs/opus:=[${MULTILIB_USEDEP}] + media-sound/lame:=[${MULTILIB_USEDEP}] + media-sound/mpg123:=[${MULTILIB_USEDEP}] + ) + alsa? ( media-libs/alsa-lib:= ) + sqlite? ( dev-db/sqlite )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( ${PYTHON_DEPS} )" +if [[ ${PV} == *9999 ]]; then + BDEPEND+=" + ${PYTHON_DEPS} + sys-devel/autogen + " +fi + +pkg_setup() { + if use test || [[ ${PV} == *9999 ]]; then + python-any-r1_pkg_setup + fi +} + +src_prepare() { + default + + [[ ${PV} == *9999 ]] && eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-octave \ + --disable-static \ + --disable-werror \ + $(use_enable !minimal external-libs) \ + $(use_enable !minimal mpeg) \ + $(multilib_native_enable full-suite) \ + $(multilib_native_use_enable alsa) \ + $(multilib_native_use_enable sqlite) \ + PYTHON="${EPYTHON}" +} + +multilib_src_install_all() { + einstalldocs + + # no static archives + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/libsndfile/libsndfile-9999.ebuild b/media-libs/libsndfile/libsndfile-9999.ebuild index a4be0f3ec5d7..4adcb3826f99 100644 --- a/media-libs/libsndfile/libsndfile-9999.ebuild +++ b/media-libs/libsndfile/libsndfile-9999.ebuild @@ -3,14 +3,14 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) if [[ ${PV} == *9999 ]]; then inherit autotools git-r3 EGIT_REPO_URI="https://github.com/libsndfile/libsndfile.git" else SRC_URI="https://github.com/libsndfile/libsndfile/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 -- cgit v1.2.3