summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-06-12 11:35:50 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-06-12 12:02:13 +0200
commitcded7b80aee62801517c4fe0794b04483c72a7a5 (patch)
treecd351a25972502fa5ec8947f7521da4a4043b070 /media-sound/kmetronome
parentprofiles: remove deprecated musl and uclibc profiles (diff)
downloadgentoo-cded7b80aee62801517c4fe0794b04483c72a7a5.tar.gz
gentoo-cded7b80aee62801517c4fe0794b04483c72a7a5.tar.bz2
gentoo-cded7b80aee62801517c4fe0794b04483c72a7a5.zip
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 <asturm@gentoo.org>
Diffstat (limited to 'media-sound/kmetronome')
-rw-r--r--media-sound/kmetronome/kmetronome-1.0.0.ebuild32
1 files 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
}