summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild')
-rw-r--r--media-sound/qtagger/qtagger-1.0.1_p20150402.ebuild47
1 files changed, 47 insertions, 0 deletions
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
+}