From 2018227e9344edb9da15fc6a4a8298086cc2aa77 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 2 Jun 2019 21:45:28 +0100 Subject: gentoo resync : 02.06.2019 --- media-sound/vb2rip/vb2rip-1.4.ebuild | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'media-sound/vb2rip/vb2rip-1.4.ebuild') diff --git a/media-sound/vb2rip/vb2rip-1.4.ebuild b/media-sound/vb2rip/vb2rip-1.4.ebuild index 0ee16ac10e2d..e9bacb5a23df 100644 --- a/media-sound/vb2rip/vb2rip-1.4.ebuild +++ b/media-sound/vb2rip/vb2rip-1.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit versionator toolchain-funcs +inherit toolchain-funcs -MY_PV=$(replace_version_separator '') +MY_PV=${PV//./} DESCRIPTION="Konami VB2 sound format ripping utility" HOMEPAGE="http://www.neillcorlett.com/vb2rip" @@ -14,20 +14,18 @@ SRC_URI="http://www.neillcorlett.com/vb2rip/${PN}${MY_PV}.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" -DEPEND="app-arch/unzip" +BDEPEND="app-arch/unzip" S=${WORKDIR}/src -src_compile() { +PATCHES=( "${FILESDIR}"/${PN}-1.4-makefile.patch ) + +src_configure() { tc-export CC - echo "vb2rip: main.o decode.o wav.o lsb.o rip.o fmt.o fmt_raw.o fmt_vb2.o fmt_8.o fmt_msa.o fmt_xa2.o" > Makefile - echo ' $(CC) $(LDFLAGS) $^ -o $@' >> Makefile - emake || die } src_install() { - dobin vb2rip || die - dodoc "${WORKDIR}/games.txt" "${WORKDIR}/vb2rip.txt" + dobin vb2rip + dodoc "${WORKDIR}"/{games.txt,vb2rip.txt} } -- cgit v1.2.3