commit: 416389103a4f6b42295b9975b6fc82278cc7b3d4 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat Sep 5 13:47:11 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Sep 6 16:45:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41638910
media-sound/yarock: Fix .desktop file and appdata install location Also raising to >=media-libs/phonon-4.11.0, first version to drop Qt4. Closes: https://bugs.gentoo.org/740524 Closes: https://bugs.gentoo.org/740506 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../yarock/{yarock-1.4.0.ebuild => yarock-1.4.0-r1.ebuild} | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/media-sound/yarock/yarock-1.4.0.ebuild b/media-sound/yarock/yarock-1.4.0-r1.ebuild similarity index 76% rename from media-sound/yarock/yarock-1.4.0.ebuild rename to media-sound/yarock/yarock-1.4.0-r1.ebuild index 27284bd8598..39414485b05 100644 --- a/media-sound/yarock/yarock-1.4.0.ebuild +++ b/media-sound/yarock/yarock-1.4.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,7 +29,7 @@ RDEPEND=" dev-qt/qtxml:5 media-libs/taglib x11-libs/libX11 - phonon? ( >=media-libs/phonon-4.10.1 ) + phonon? ( >=media-libs/phonon-4.11.0 ) vlc? ( media-video/vlc:= ) " DEPEND="${RDEPEND} @@ -41,6 +41,14 @@ DOCS=( CHANGES.md README.md ) S="${WORKDIR}/${MY_P}" +src_prepare() { + cmake_src_prepare + sed -e "/^install.*org.yarock.appdata.xml/s:share/appdata:share/metadata:" \ + -i CMakeLists.txt || die + sed -e "/^Version/d" \ + -i data/org.yarock.desktop || die +} + src_configure() { local mycmakeargs=( -DENABLE_QT5=ON
