summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-13 02:07:09 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-13 02:07:09 +0100
commitb538f90f6911d034d46f082d926226b5fd8556a3 (patch)
treedda6dd2938ed4bafab9f773d1662a98b3b5c584c /media-sound/qtagger
parentprofiles: Mask x11-misc/touchfreeze for removal (diff)
downloadgentoo-b538f90f6911d034d46f082d926226b5fd8556a3.tar.gz
gentoo-b538f90f6911d034d46f082d926226b5fd8556a3.tar.bz2
gentoo-b538f90f6911d034d46f082d926226b5fd8556a3.zip
media-sound/qtagger: Add 1.0.1_p20150402 Qt5-based snapshot
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-sound/qtagger')
-rw-r--r--media-sound/qtagger/Manifest1
-rw-r--r--media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/qtagger/Manifest b/media-sound/qtagger/Manifest
index b9c89da4a145..4adc4c4469ce 100644
--- a/media-sound/qtagger/Manifest
+++ b/media-sound/qtagger/Manifest
@@ -1 +1,2 @@
DIST qtagger-1.0.1.tar.gz 60791 BLAKE2B 617f8bcff6e3627ad9f36b814662111ad7cdb9a782e4cd3703e2010ce019ec247e77f6e7dd620409338b1561fcaa356924de009778a812ddbd57ee27abc79a39 SHA512 45969475abefa865244946fb6a74dcfa7397f0a9bd57b0fda4de98fc8c8edb2c0c3a631eccfa199bebb8442df38b0beaca9234fae4166629bcb5c08aee42b47a
+DIST qtagger-1.0.1_p20150402.tar.gz 60745 BLAKE2B 0260ac8cf4b07cdb3b5887357ac4034f4c02a801cc91568cc54cb73293884fefcdbf2019d1b61542353f4ef2e79c07ffda1c1414ff4b99d10faff1e8dcab95fb SHA512 2510350d479008b0c2af4b489aa16ab88003b18f1cbb66796dece6c93dd4222ff073f575b9de8136fb6a46ece1c67ace7de605ef3db0c73038a52472d652f279
diff --git a/media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild b/media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild
new file mode 100644
index 000000000000..17e012ecab95
--- /dev/null
+++ b/media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+COMMIT=0e74fe022ddbb689f7bae0460a21be303114029b
+inherit cmake-utils qmake-utils vcs-snapshot
+
+DESCRIPTION="Simple Qt4 ID3v2 tag editor"
+HOMEPAGE="https://github.com/DOOMer/qtagger"
+SRC_URI="https://github.com/DOOMer/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ 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
+ -DQT_LRELEASE_EXECUTABLE=$(qt5_get_bindir)/lrelease
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ rm "${ED}"/usr/share/doc/${PF}/LICENSE || die
+}