diff options
-rw-r--r-- | media-sound/sndfile-tools/Manifest | 1 | ||||
-rw-r--r-- | media-sound/sndfile-tools/sndfile-tools-1.5.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/media-sound/sndfile-tools/Manifest b/media-sound/sndfile-tools/Manifest index d2c11f912f4b..d0b88bc80fdf 100644 --- a/media-sound/sndfile-tools/Manifest +++ b/media-sound/sndfile-tools/Manifest @@ -1 +1,2 @@ DIST sndfile-tools-1.04a.tar.bz2 715692 BLAKE2B e65a222bfdd96803293f006c2c5704fd1037d81524559d86c8e3812b91bd90fa0b47d1f589adb303f68e1ffdbebfd8b4ec616c9f1d897ad993768981c83022e3 SHA512 b93fd74386960c986031fd1652335bc34243bd785ccf31480b82f4d76ef86760ca53173aace273a635db70db46c0c1c4066328aef9c21c01c6e76346dbe56390 +DIST sndfile-tools-1.5.tar.bz2 555122 BLAKE2B c273bb655163816dcad81f15b089fa36a227a73b3b331d51bc16f91025afdca4a994b5d3838c5cf61335b5f900e8da3a299f9dd9cf8e34d2c9b2c21987625809 SHA512 04926a6c489634762efaa787e468ab653990762d5b96ba3cdfca595102c1d5eeb86411c9010d5640b1b3ec2b38d8d9d434fb549c52446e4b88d5b2a1d06a2bc6 diff --git a/media-sound/sndfile-tools/sndfile-tools-1.5.ebuild b/media-sound/sndfile-tools/sndfile-tools-1.5.ebuild new file mode 100644 index 000000000000..0c8db45bf7a3 --- /dev/null +++ b/media-sound/sndfile-tools/sndfile-tools-1.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Small collection of programs that use libsndfile" +HOMEPAGE="http://libsndfile.github.io/sndfile-tools/" + +if [[ ${PV} == *9999 ]]; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/libsndfile/sndfile-tools.git" +else + SRC_URI="https://github.com/libsndfile/sndfile-tools/releases/download/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="jack" + +DEPEND=" + media-libs/libsamplerate + media-libs/libsndfile + x11-libs/cairo + sci-libs/fftw:3.0= + jack? ( virtual/jack )" +RDEPEND="${DEPEND} + !<media-libs/libsamplerate-0.1.9-r1" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + econf $(use_enable jack) +} |