blob: 0e90d7f9bd09ec99833a94eea546e9f0e1249780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop qmake-utils xdg
DESCRIPTION="Tool for cutting MPEG files especially for removing commercials"
HOMEPAGE="https://github.com/baltendorf/ttcut"
SRC_URI="https://dev.gentoo.org/~billie/distfiles/${P}.tar.gz"
S=${WORKDIR}/${PN}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND="
>=media-libs/libmpeg2-0.4.0
dev-qt/qtbase:6
dev-qt/qtbase:6[gui]
dev-qt/qtbase:6[opengl]
dev-qt/qtbase:6[widgets]
virtual/glu
virtual/opengl
"
RDEPEND="
${DEPEND}
media-video/mjpegtools
media-video/mplayer
>=media-video/ffmpeg-1.0.8[encode]
"
src_prepare() {
default
xdg_environment_reset
eqmake6 ttcut.pro
}
src_install() {
dobin ttcut
domenu "${FILESDIR}"/${PN}.desktop
dodoc AUTHORS BUGS CHANGELOG README.* TODO
}
|