summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <jchelmert3@posteo.net>2020-07-06 19:20:15 -0500
committerSam James <sam@gentoo.org>2020-07-20 18:24:41 +0000
commitc776c386637618b5b9f951d6a13251b7200bf9ef (patch)
tree9701ad6379e04d3058960c3973da4387283744c1 /media-sound/wavpack
parentdev-lang/gprolog: amd64, x86 stable. (Bug #733338) (diff)
downloadgentoo-c776c386637618b5b9f951d6a13251b7200bf9ef.tar.gz
gentoo-c776c386637618b5b9f951d6a13251b7200bf9ef.tar.bz2
gentoo-c776c386637618b5b9f951d6a13251b7200bf9ef.zip
media-sound/wavpack: Security bump to 5.3.2
This also fixes tests. Previously `make check` successfully executed but didn't run any tests. Bug: https://bugs.gentoo.org/672638 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: John Helmert III <jchelmert3@posteo.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/wavpack')
-rw-r--r--media-sound/wavpack/Manifest1
-rw-r--r--media-sound/wavpack/wavpack-5.3.2.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/media-sound/wavpack/Manifest b/media-sound/wavpack/Manifest
index 9aca241ebb9d..92249c7e56c2 100644
--- a/media-sound/wavpack/Manifest
+++ b/media-sound/wavpack/Manifest
@@ -1 +1,2 @@
DIST wavpack-5.1.0.tar.bz2 824331 BLAKE2B 736dcb3cc0bee4ebcf76b8a7df178aa1b797ec6858358bf289a3e151f62d2ce8f430d163d46a84c0b5a7501c732ac639955c867e53fd9217ca7f213b601a8697 SHA512 4c31616ae63c3a875afa20f26ce935f7a8f9921e2892b4b8388eca3ccd83b2d686f43eed8b9ec1dead934a1148401b9dced3b05f509b7942c48d7af31cf80a54
+DIST wavpack-5.3.2.tar.gz 2047344 BLAKE2B 621414f580ef0c6f71ec411cafba5e9d3f971c9ed3fa901d92083b803fb337ad5455c8f488cc985d2203fde56572adcd2899e5a5d6e07365248ef6bfd59b591b SHA512 cff46e000c2edf0124e2f4c9577611d029f124c235bf7811a58dbd5d87a02827d25f7bd0e28d2f05fd413ee9997ba48390acfc2a91ebb53885eb2a0423994a7b
diff --git a/media-sound/wavpack/wavpack-5.3.2.ebuild b/media-sound/wavpack/wavpack-5.3.2.ebuild
new file mode 100644
index 000000000000..31bd4db68fb2
--- /dev/null
+++ b/media-sound/wavpack/wavpack-5.3.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+# Need to fetch a commit because upstream didn't tag the minor release
+COMMIT="e4e8d191e8dd74cbdbeaef3232c16a7ef517e68d"
+
+DESCRIPTION="Hybrid lossless audio compression tools"
+HOMEPAGE="http://www.wavpack.com/"
+SRC_URI="https://github.com/dbry/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=virtual/libiconv-0-r1"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/WavPack-${COMMIT}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} econf \
+ --disable-static \
+ $(use_enable test tests) \
+ $(multilib_native_enable apps)
+}
+
+multilib_src_test() {
+ cli/wvtest --default
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${D}" -name '*.la' -delete || die
+}