summaryrefslogtreecommitdiff
path: root/media-sound/shnflacverify
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/shnflacverify')
-rw-r--r--media-sound/shnflacverify/Manifest2
-rw-r--r--media-sound/shnflacverify/shnflacverify-0.3.ebuild17
2 files changed, 10 insertions, 9 deletions
diff --git a/media-sound/shnflacverify/Manifest b/media-sound/shnflacverify/Manifest
index cab9872bb090..6748b4db5823 100644
--- a/media-sound/shnflacverify/Manifest
+++ b/media-sound/shnflacverify/Manifest
@@ -1,3 +1,3 @@
DIST shnflacverify-0.3.zip 11845 BLAKE2B cbc4cfcdaf54c91572a6b6b4a9ebdb002b1a04cb6a9029e8bfd92c227e9177d646bab25515f2a855aa504dcde256733b68dc4c1a4195fd6b0ca3bc0dce274f02 SHA512 8d05d476d7c89ca7f93f3d4b12d6bdb8c197e87c9c400e12f39ad3fd9b8b2a2b8d158baa0e663a98a898f732694c16064c8ba2996101d4b74d173a3ca13942b0
-EBUILD shnflacverify-0.3.ebuild 874 BLAKE2B 01876f231b8ffb31367fd294ad787502471fffb9276bb2bfb911276ee6e053e3f68331547081c428b295d5dd054aff5648de9a2aca26ed0c08892c0f2f6aff6f SHA512 130f9e97262cc212d7717b15c5576a993b5b7a000c2265c014b502f89852aa29c91ca712022f6bb4bc6afc80b4fb30c19f9ec97f22eca83a91e061beaf68812a
+EBUILD shnflacverify-0.3.ebuild 862 BLAKE2B 92c4ce062043aee5d50d063857db44a4aeba4cf7b5b6cda31706573d163b28ac9c4ab270dbd55d367dd051a845c835079665edb889c6c0e1830efd90e69dbfe6 SHA512 315676ee36e3d6cfd9662d383cea2c1cd2e117a1e5f6c1e9a33925b99ebb2125217902e6dc8aa8a318ba2ca42b01321a25b2d079a9483f9d1b6b37aeca98277e
MISC metadata.xml 481 BLAKE2B 2457fff7ebc37ea1224f8273e1c986ae0aab8d0f2665641ce1d828325a7d20ddf2fd0f5180d49955a439cdc356f4ad78ec7beb2e0cc4d1e5a3d285db51254af9 SHA512 5d48ebcf1bba0a93b1c6fbe03bab7262c75d8c23d8cb404261f51e3d242b3f906aeb780ce6dd3bae521f6d40bf22b3a383b7224bb8f0a5fe75eab94acddd2a22
diff --git a/media-sound/shnflacverify/shnflacverify-0.3.ebuild b/media-sound/shnflacverify/shnflacverify-0.3.ebuild
index 80e08a78f3bb..7f5b5eb1bf00 100644
--- a/media-sound/shnflacverify/shnflacverify-0.3.ebuild
+++ b/media-sound/shnflacverify/shnflacverify-0.3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
inherit eutils
@@ -12,12 +12,10 @@ SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-lang/perl
+RDEPEND="
app-arch/unzip
+ dev-lang/perl
media-libs/flac
media-sound/shntool
sys-apps/coreutils"
@@ -25,11 +23,14 @@ RDEPEND="${DEPEND}
S="${WORKDIR}"
src_prepare() {
- local X
+ default
+
edos2unix *.txt
+
+ local X
for X in flac md5sum shntool metaflac; do
einfo "setting \$${X}_cmd to $(type -p ${X})"
- sed -i -e "s|^\(\$${X}_cmd\s*=\s*'\)[^']*\('.*\)|\1$(type -p ${X})\2|g" shnflac*
+ sed -i -e "s|^\(\$${X}_cmd\s*=\s*'\)[^']*\('.*\)|\1$(type -p ${X})\2|g" shnflac* || die
done
}