From 76ad450a167f1d2bb681422818b4925684b168ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 9 Nov 2019 22:45:48 +0100 Subject: [PATCH] media-sound/entagged-tageditor: Bump to EAPI 7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/697270 Signed-off-by: Michał Górny --- .../entagged-tageditor-0.35.ebuild | 20 +++++++++---------- .../entagged-tageditor-0.35-buildfixes.patch | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/media-sound/entagged-tageditor/entagged-tageditor-0.35.ebuild b/media-sound/entagged-tageditor/entagged-tageditor-0.35.ebuild index e5316f528a5a..1113fa708d1e 100644 --- a/media-sound/entagged-tageditor/entagged-tageditor-0.35.ebuild +++ b/media-sound/entagged-tageditor/entagged-tageditor-0.35.ebuild @@ -1,15 +1,15 @@ -# 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 eutils java-pkg-2 java-ant-2 +inherit desktop java-pkg-2 java-ant-2 DESCRIPTION="Open-source audiofile tagger" HOMEPAGE="http://entagged.sourceforge.net/" SRC_URI="mirror://gentoo/${P}.tar.gz" -LICENSE="|| ( GPL-2 LGPL-2.1 )" +LICENSE="GPL-2+ LGPL-2.1+" SLOT="0" KEYWORDS="~amd64" IUSE="" @@ -17,23 +17,23 @@ IUSE="" S="${WORKDIR}" RDEPEND=">=virtual/jre-1.5 - dev-java/squareness-jlf - dev-db/hsqldb" + dev-java/squareness-jlf:0 + dev-db/hsqldb:0" DEPEND=">=virtual/jdk-1.5 - dev-db/hsqldb" + dev-db/hsqldb:0" EANT_BUILD_XML="entagged/build.xml" EANT_BUILD_TARGET="build" -src_unpack() { - unpack ${A} +src_prepare() { + java-pkg-2_src_prepare mkdir -p test/entagged/junit || die mv entagged/entagged/junit test/entagged || die rm entagged/*.jar || die java-pkg_jarfrom hsqldb hsqldb.jar entagged/hsqldb.jar cd entagged || die - epatch "${FILESDIR}"/${P}-buildfixes.patch + eapply "${FILESDIR}"/${P}-buildfixes.patch } src_install() { diff --git a/media-sound/entagged-tageditor/files/entagged-tageditor-0.35-buildfixes.patch b/media-sound/entagged-tageditor/files/entagged-tageditor-0.35-buildfixes.patch index 7b470e2dbeb5..709b16b32a58 100644 --- a/media-sound/entagged-tageditor/files/entagged-tageditor-0.35-buildfixes.patch +++ b/media-sound/entagged-tageditor/files/entagged-tageditor-0.35-buildfixes.patch @@ -1,5 +1,5 @@ ---- build.xml 2007-03-23 16:25:25.000000000 +0200 -+++ build.xml.fixed 2007-09-01 09:20:44.000000000 +0300 +--- a/build.xml 2007-03-23 16:25:25.000000000 +0200 ++++ b/build.xml 2007-09-01 09:20:44.000000000 +0300 @@ -30,7 +30,7 @@ -- 2.26.2