commit: 2ed5cd24e9cadd8d4da54eff0161532f69c8e410 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Tue Dec 10 23:48:43 2019 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Dec 10 23:48:43 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed5cd24
media-sound/wavbreaker: Port to EAPI 7 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap <AT> gentoo.org> .../files/wavbreaker-0.11-QA-desktop-file.patch | 9 +++++++ media-sound/wavbreaker/wavbreaker-0.11.ebuild | 31 +++++++++++++--------- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/media-sound/wavbreaker/files/wavbreaker-0.11-QA-desktop-file.patch b/media-sound/wavbreaker/files/wavbreaker-0.11-QA-desktop-file.patch new file mode 100644 index 00000000000..c382e5e5dd1 --- /dev/null +++ b/media-sound/wavbreaker/files/wavbreaker-0.11-QA-desktop-file.patch @@ -0,0 +1,9 @@ +--- a/wavbreaker.desktop ++++ b/wavbreaker.desktop +@@ -9,5 +9,5 @@ + Icon=wavbreaker + Terminal=false + Type=Application +-Categories=Application;AudioVideo;Audio; ++Categories=AudioVideo;Audio; + MimeType=audio/x-wav diff --git a/media-sound/wavbreaker/wavbreaker-0.11.ebuild b/media-sound/wavbreaker/wavbreaker-0.11.ebuild index 482c8096fc2..6ab4036ae81 100644 --- a/media-sound/wavbreaker/wavbreaker-0.11.ebuild +++ b/media-sound/wavbreaker/wavbreaker-0.11.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit autotools eutils +EAPI=7 + +inherit autotools DESCRIPTION="wavbreaker/wavmerge GTK+ utility to break or merge WAV files" HOMEPAGE="http://wavbreaker.sourceforge.net" @@ -13,18 +14,24 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="alsa nls oss pulseaudio" -RDEPEND="dev-libs/libxml2 - >=x11-libs/gtk+-2:2 - alsa? ( media-libs/alsa-lib ) - pulseaudio? ( media-sound/pulseaudio )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext ) - virtual/pkgconfig" +RDEPEND=" + dev-libs/libxml2:= + x11-libs/gtk+:2 + alsa? ( media-libs/alsa-lib:= ) + pulseaudio? ( media-sound/pulseaudio:= )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext )" -DOCS="AUTHORS ChangeLog CONTRIBUTORS NEWS README* TODO" +PATCHES=( + "${FILESDIR}"/${PN}-0.10-pkgconfig.patch + "${FILESDIR}"/${PN}-0.11-QA-desktop-file.patch +) src_prepare() { - epatch "${FILESDIR}"/${PN}-0.10-pkgconfig.patch + default + mv configure.{in,ac} || die eautoreconf }