summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2019-03-24 10:35:02 +0100
committerDaniel Pielmeier <billie@gentoo.org>2019-03-24 10:35:02 +0100
commit761379c98de17215d038c0f99be9050ffe9cb608 (patch)
treee40f4f0a21c91e945aab8c0972054ca015bd6c3e /media-video/ttcut
parentmedia-sound/aqualung: Revision bump to aqualung-1.0-r3. (diff)
downloadgentoo-761379c98de17215d038c0f99be9050ffe9cb608.tar.gz
gentoo-761379c98de17215d038c0f99be9050ffe9cb608.tar.bz2
gentoo-761379c98de17215d038c0f99be9050ffe9cb608.zip
media-video/ttcut: Revision bump to ttcut-0.19.6_p1-r1.
Switch to EAPI 7. Signed-off-by: Daniel Pielmeier <billie@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'media-video/ttcut')
-rw-r--r--media-video/ttcut/ttcut-0.19.6_p1-r1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/media-video/ttcut/ttcut-0.19.6_p1-r1.ebuild b/media-video/ttcut/ttcut-0.19.6_p1-r1.ebuild
new file mode 100644
index 000000000000..2ca5c574c244
--- /dev/null
+++ b/media-video/ttcut/ttcut-0.19.6_p1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop qmake-utils xdg
+
+DESCRIPTION="Tool for cutting MPEG files especially for removing commercials"
+HOMEPAGE="https://github.com/templer/ttcut"
+SRC_URI="https://dev.gentoo.org/~billie/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=media-libs/libmpeg2-0.4.0
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwidgets:5
+ virtual/glu
+ virtual/opengl
+"
+RDEPEND="
+ ${DEPEND}
+ media-video/mplayer
+ >=media-video/ffmpeg-1.0.8[encode]
+"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ default
+
+ xdg_environment_reset
+
+ eqmake5 ttcut.pro
+}
+
+src_install() {
+ dobin ttcut
+
+ domenu "${FILESDIR}"/${PN}.desktop
+
+ dodoc AUTHORS BUGS CHANGELOG README.* TODO
+}