diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-26 14:07:48 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-26 14:07:48 +0000 |
commit | adb727afeb568404873e8cbc91ba93d3d49eff13 (patch) | |
tree | d86cdceda93a48d792f162c7b5f054f09c41ee73 /media-libs/libsndfile | |
parent | ed94061721073b4f7b546c30ae337f5737939985 (diff) |
gentoo auto-resync : 26:12:2022 - 14:07:48
Diffstat (limited to 'media-libs/libsndfile')
-rw-r--r-- | media-libs/libsndfile/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libsndfile/libsndfile-1.2.0.ebuild | 77 |
2 files changed, 79 insertions, 0 deletions
diff --git a/media-libs/libsndfile/Manifest b/media-libs/libsndfile/Manifest index db6aed4d56c2..74ad1288ac03 100644 --- a/media-libs/libsndfile/Manifest +++ b/media-libs/libsndfile/Manifest @@ -1,4 +1,6 @@ DIST libsndfile-1.1.0.tar.xz 730604 BLAKE2B ff2d27bff460c4d3c549bdf70c84c6f17a2c3e10674a44216ed83e657e603ddfbc33afe0827676fc4f5dc7745a9fb6aa866023fe589d0c00714477e3a246e5f2 SHA512 d01696a8a88a4444e5eb91a137cf7b26b55b12c1fe3b648653f7e78674bbdf61870066216c9ff2f6a1e63bdf7b558af9a759480cf6523b607d29347b12762006 +DIST libsndfile-1.2.0.tar.xz 730268 BLAKE2B cb13fde9b9f44c6279a9ee7741457824eb41fc17261bf9c669d757e9e506eba2c3d4ad259e4625b8a11c82308188cc19f7399e9d1fc0299a3a11794e4b653e47 SHA512 c0dee6b33cd3c619aa13ec2854a5480e826640ca98a438758346194e83752af576a39f9de118824f0d0c61288632d87b489dc5793c025296e0f15564d87ca12a EBUILD libsndfile-1.1.0-r1.ebuild 1912 BLAKE2B c8e351c83d053b46463599a7a97027f24c2631accacde3c4a1c87aef3f87e2cd45ef9d18fb5db32b59a537691f0eba73af77564695e0c047952945f0db35627b SHA512 6194ec4779c118fe2d3b0ce36a093f27805120a4a48697f15dfda7a1c78144b511ec8bc1509d521247ca97f2a6cf58c0679b6a6929388c575f54e22972591d57 +EBUILD libsndfile-1.2.0.ebuild 1919 BLAKE2B e4e9a4c95d5a50f25299102d98def2c6727a39ed6b1dc51397509e835cd174685b4d1ba5f0a6c5150a62dfd16bf5e18a79c6034494e1ff1a331d36082a2fb123 SHA512 c6e05465aead8a504db3923d3ca3b635b9dbd5c567a0183023ab93e3bcbdced2cf3623c9471d903e9cf2a6c5fead61ab4e2e933affa18b3b8c4171231105ac6f EBUILD libsndfile-9999.ebuild 1912 BLAKE2B 84e666034a8e8ac0d4c0185b7b3f472fe3cef78f58a6a312bab6f63b3e171fa0120eacf38ebcac3b44c3252c925f8f337a08b7bf84ab0ca65d673e5eed83cbdd SHA512 c1fe0949539460c485d7f9169147bd0117b3ac577c70c94c6513ea6b662613e701d61d30949860eb062fc8016b0056bbc503274301ee477bf83be8e5e8cbd631 MISC metadata.xml 340 BLAKE2B 26c245d58463cd3d14645b476de30407e51e47777d36dff251f0f68d9e981e8b6d95cf9aacc51d08feb4f1e550152f38b66d8dae23c40fd1b65702d59044b05a SHA512 54f132b485fc720dc0e1c311370dbc5f7ed4d3a1c8271aafeb9f01fef411df95f0cd55d605debcc3477fcc07aab4b298c240084e70df19a10b1b22c33d57b9c2 diff --git a/media-libs/libsndfile/libsndfile-1.2.0.ebuild b/media-libs/libsndfile/libsndfile-1.2.0.ebuild new file mode 100644 index 000000000000..4917ea54f4c0 --- /dev/null +++ b/media-libs/libsndfile/libsndfile-1.2.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} 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 ~sparc-solaris ~x64-solaris ~x86-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 +} |