You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/ttcut/ttcut-0.19.6_p1.ebuild

43 lines
783 B

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils 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
eqmake5 ttcut.pro
}
src_install() {
dobin ttcut
domenu "${FILESDIR}"/${PN}.desktop
dodoc AUTHORS BUGS CHANGELOG README.* TODO
}