summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-05-20 23:48:00 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-21 00:17:52 +0200
commitb137168024a19fafb2885c4916aed9d9b50064eb (patch)
tree1f7cbaafd25b2d6eb96650e843a9ed9afe6bc85c /media-sound
parentsci-libs/liborigin: Drop 20110829-r1 (diff)
downloadgentoo-b137168024a19fafb2885c4916aed9d9b50064eb.tar.gz
gentoo-b137168024a19fafb2885c4916aed9d9b50064eb.tar.bz2
gentoo-b137168024a19fafb2885c4916aed9d9b50064eb.zip
media-sound/qtagger: EAPI-7 bump, switch to cmake, missing DEPEND
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild b/media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild
index 460a0e654404..f85a7a431edc 100644
--- a/media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild
+++ b/media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
COMMIT=0e74fe022ddbb689f7bae0460a21be303114029b
-inherit cmake-utils qmake-utils vcs-snapshot
+inherit cmake qmake-utils
DESCRIPTION="Simple Qt5 ID3v2 tag editor"
HOMEPAGE="https://github.com/DOOMer/qtagger"
@@ -16,6 +16,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
+BDEPEND="dev-qt/linguist-tools:5"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -24,12 +25,14 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
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
+ cmake_src_prepare
}
src_configure() {
@@ -37,11 +40,11 @@ src_configure() {
-DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON
-DQT_LRELEASE_EXECUTABLE=$(qt5_get_bindir)/lrelease
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
rm "${ED}"/usr/share/doc/${PF}/LICENSE || die
}