summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-08-13 18:42:12 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-08-13 18:42:12 +0000
commit54cb598eb91f469ad283867c7708395ba80e3f68 (patch)
treee0db05e8948a509926581d68e9bec201251f1bbc /media-video/kmpg2/kmpg2-1.96.ebuild
parentfix digests (diff)
downloadsunrise-54cb598eb91f469ad283867c7708395ba80e3f68.tar.gz
sunrise-54cb598eb91f469ad283867c7708395ba80e3f68.tar.bz2
sunrise-54cb598eb91f469ad283867c7708395ba80e3f68.zip
media-video/kmpg2: New ebuild for bug #143036
svn path=/sunrise/; revision=904
Diffstat (limited to 'media-video/kmpg2/kmpg2-1.96.ebuild')
-rw-r--r--media-video/kmpg2/kmpg2-1.96.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/media-video/kmpg2/kmpg2-1.96.ebuild b/media-video/kmpg2/kmpg2-1.96.ebuild
new file mode 100644
index 000000000..34bb4697f
--- /dev/null
+++ b/media-video/kmpg2/kmpg2-1.96.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils kde
+
+KEYWORDS="~x86"
+
+MY_P=${P/kmp/KmP}
+
+DESCRIPTION="A graphical MPEG2 encoder frontend, for producing 100% DVD compatible MPEG2 streams."
+HOMEPAGE="http://kmpg2.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+need-kde 3.5
+
+DEPEND=""
+RDEPEND="|| ( kde-base/kommander kde-base/kdewebdev )
+ media-video/ffmpeg
+ media-video/transcode
+ media-sound/sox
+ media-video/y4mscaler
+ >=media-video/mjpegtools-1.8.0"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cp "${FILESDIR}/kmpg2.desktop" "${FILESDIR}/kmpg2profiler.desktop" "${S}"
+ cd "${S}"
+
+ sed -i \
+ -e "s#/\(Profiles\)#/../share/apps/${PN}/\1#" \
+ KmPg2.kmdr
+
+ sed -i \
+ -e "s#%VERSION%#${PV}#" \
+ -e "s#%KDEDIR%#${KDEDIR}#" \
+ kmpg2.desktop kmpg2profiler.desktop || die "sed failed"
+
+}
+
+src_compile() {
+ einfo "This is a Kommander script, nothing to compile"
+}
+
+src_install() {
+ insinto "${KDEDIR}/share/apps/${PN}"
+ doins -r Profiles
+
+ DESTTREE="${KDEDIR}"
+ dobin KmPg2*.kmdr YUV*.sh
+
+ domenu kmpg2.desktop kmpg2profiler.desktop
+
+ dodoc Changelog README
+}