From cded7b80aee62801517c4fe0794b04483c72a7a5 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 12 Jun 2019 11:35:50 +0200 Subject: [PATCH] media-sound/kmetronome: EAPI-7 bump, gnome2-utils -> xdg.eclass Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Andreas Sturmlechner --- .../kmetronome/kmetronome-1.0.0.ebuild | 32 +++++++------------ 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/media-sound/kmetronome/kmetronome-1.0.0.ebuild b/media-sound/kmetronome/kmetronome-1.0.0.ebuild index 6de06d8f22f8..8adf01c87da4 100644 --- a/media-sound/kmetronome/kmetronome-1.0.0.ebuild +++ b/media-sound/kmetronome/kmetronome-1.0.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils gnome2-utils +inherit cmake-utils xdg DESCRIPTION="MIDI based metronome using ALSA sequencer" HOMEPAGE="http://kmetronome.sourceforge.net/" @@ -14,7 +14,11 @@ SLOT="5" KEYWORDS="amd64 x86" IUSE="debug" -RDEPEND=" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" +DEPEND=" dev-qt/qtcore:5 dev-qt/qtdbus:5 dev-qt/qtgui:5 @@ -22,23 +26,9 @@ RDEPEND=" dev-qt/qtwidgets:5 media-libs/alsa-lib >=media-sound/drumstick-1.0.0 - !media-sound/kmetronome:4 -" -DEPEND="${RDEPEND} - dev-qt/linguist-tools:5 - virtual/pkgconfig " +RDEPEND="${DEPEND}" -DOCS=( AUTHORS ChangeLog NEWS README TODO ) - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update +src_prepare() { + cmake-utils_src_prepare } -- 2.26.2