summaryrefslogtreecommitdiff
path: root/media-video/qtlmovie/qtlmovie-1.12-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-31 23:50:04 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-31 23:50:04 +0000
commit886fae5dccc1e7b24f69cb4c2a338d20d0ae92ba (patch)
tree0be99b9da1824c3562502a37fe316ffe870cb81d /media-video/qtlmovie/qtlmovie-1.12-r2.ebuild
parentb832256945f3475aedb97a93158f3024e4d945be (diff)
media-video/qtlmovie : use virtual/cdrtools as dep
Diffstat (limited to 'media-video/qtlmovie/qtlmovie-1.12-r2.ebuild')
-rw-r--r--media-video/qtlmovie/qtlmovie-1.12-r2.ebuild53
1 files changed, 53 insertions, 0 deletions
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
+}