From 80197ab6ee2fcf304f290bc536a153e7b84e9a16 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Wed, 16 Dec 2015 05:25:57 +1100 Subject: media-sound/qtagger: fix opening help file Gentoo-bug: 568344 Package-Manager: portage-2.2.26 --- media-sound/qtagger/qtagger-1.0.1-r2.ebuild | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 media-sound/qtagger/qtagger-1.0.1-r2.ebuild (limited to 'media-sound/qtagger') diff --git a/media-sound/qtagger/qtagger-1.0.1-r2.ebuild b/media-sound/qtagger/qtagger-1.0.1-r2.ebuild new file mode 100644 index 000000000000..fac495eda79b --- /dev/null +++ b/media-sound/qtagger/qtagger-1.0.1-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Simple Qt4 ID3v2 tag editor" +HOMEPAGE="https://code.google.com/p/qtagger" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4 + media-libs/taglib +" +RDEPEND="${DEPEND}" + +src_prepare() { + # fix doc installation path + sed -i -e "s/doc\/${PN}/doc\/${PF}/" CMakeLists.txt || die + sed -i -e "s/share%1doc%1qtagger/share%1doc%1${PF}/" src/mainwindow.cpp || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + rm "${D}"/usr/share/doc/${PF}/{ChangeLog~,LICENSE} +} -- cgit v1.2.3-65-gdbad