From: Andreas Sturmlechner Date: Sun, 5 May 2019 19:38:35 +0000 (+0200) Subject: media-sound/rosegarden: EAPI-7 bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77e24be2b9c9c2938d91b6f8db14d2c906d692e4;p=gentoo.git media-sound/rosegarden: EAPI-7 bump Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- diff --git a/media-sound/rosegarden/rosegarden-17.12.1.ebuild b/media-sound/rosegarden/rosegarden-17.12.1.ebuild index 2e2fb9280351..a62b21c7fa70 100644 --- a/media-sound/rosegarden/rosegarden-17.12.1.ebuild +++ b/media-sound/rosegarden/rosegarden-17.12.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 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 xdg-utils +inherit cmake-utils xdg DESCRIPTION="MIDI and audio sequencer and notation editor" HOMEPAGE="https://www.rosegardenmusic.com/" @@ -14,6 +14,10 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="lirc" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" RDEPEND=" dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -35,30 +39,16 @@ RDEPEND=" lirc? ( app-misc/lirc:= ) " DEPEND="${RDEPEND} - dev-qt/linguist-tools:5 dev-qt/qttest:5 - virtual/pkgconfig " +src_prepare() { + cmake-utils_src_prepare +} + src_configure() { local mycmakeargs=( "-DDISABLE_LIRC=$(usex lirc OFF ON)" ) cmake-utils_src_configure } - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update -}