From 886fae5dccc1e7b24f69cb4c2a338d20d0ae92ba Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 31 Dec 2017 23:50:04 +0000 Subject: media-video/qtlmovie : use virtual/cdrtools as dep --- media-video/qtlmovie/qtlmovie-1.12-r2.ebuild | 53 ++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 media-video/qtlmovie/qtlmovie-1.12-r2.ebuild (limited to 'media-video/qtlmovie/qtlmovie-1.12-r2.ebuild') diff --git a/media-video/qtlmovie/qtlmovie-1.12-r2.ebuild b/media-video/qtlmovie/qtlmovie-1.12-r2.ebuild new file mode 100644 index 00000000..1df84d42 --- /dev/null +++ b/media-video/qtlmovie/qtlmovie-1.12-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils qmake-utils + +DESCRIPTION="A specialized Qt frontend for FFmpeg and other free media tools" +HOMEPAGE="http://qtlmovie.sourceforge.net/doc/qtlmovie-intro.html" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtsvg:5 +" +RDEPEND="${DEPEND} + app-cdr/dvd+rw-tools + media-video/ccextractor + media-video/dvdauthor + virtual/cdrtools + virtual/ffmpeg" + +src_configure() { + eqmake5 PREFIX="${EPREFIX}/usr" "src/QtlMovie.pro" +} + +src_install() { + # FIXME + # This project has a very weird source code + # make does work, but make install doesn't + # so we must do everything by hand, for now + dodir usr/bin + exeinto usr/bin + doexe QtlMovie/QtlMovie + dodir usr/share/applications + insinto usr/share/applications + doins build/QtlMovie.desktop + dodir usr/share/qt5/translations + insinto usr/share/qt5/translations + for localesrc in QtlMovie libQtl libQts; do + doins "${localesrc}"/locale/*qm + done + dodir usr/share/pixmaps + insinto usr/share/pixmaps + newins src/QtlMovie/images/qtlmovie-48.png qtlmovie.png +} -- cgit v1.2.3