diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2007-06-03 20:09:31 +0000 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2007-06-03 20:09:31 +0000 |
commit | 98805420ffe5d8d58c77e54028a71ff422456cd3 (patch) | |
tree | 1c5c995144ed6fa19cd2ed0dca8f0af5607e6527 /media-video | |
parent | removed ttmpeg2 USE flags media-video/ttcut (diff) | |
download | sunrise-reviewed-98805420ffe5d8d58c77e54028a71ff422456cd3.tar.gz sunrise-reviewed-98805420ffe5d8d58c77e54028a71ff422456cd3.tar.bz2 sunrise-reviewed-98805420ffe5d8d58c77e54028a71ff422456cd3.zip |
media-video/ttcut: Various changes to svn ebuild
svn path=/sunrise/; revision=3806
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/ttcut/ChangeLog | 4 | ||||
-rw-r--r-- | media-video/ttcut/Manifest | 4 | ||||
-rw-r--r-- | media-video/ttcut/ttcut-9999.ebuild | 34 |
3 files changed, 22 insertions, 20 deletions
diff --git a/media-video/ttcut/ChangeLog b/media-video/ttcut/ChangeLog index 6a6b09074..8665643d4 100644 --- a/media-video/ttcut/ChangeLog +++ b/media-video/ttcut/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 03 Jun 2007; Pielmeier Daniel (billie) <daniel.pielmeier@googlemail.com> + ttcut-9999.ebuild: + Various changes to svn ebuild + 01 May 2007; Pielmeier Daniel (billie) <daniel.pielmeier@googlemail.com> ttcut-9999.ebuild: Added virtual/opengl as dependency and dodoc to install documentation diff --git a/media-video/ttcut/Manifest b/media-video/ttcut/Manifest index 49b30a229..d9a955f3d 100644 --- a/media-video/ttcut/Manifest +++ b/media-video/ttcut/Manifest @@ -1,3 +1,3 @@ -EBUILD ttcut-9999.ebuild 1363 RMD160 7bdc4dfcff313045ca8e1fab5fd9a1572ce4411d SHA1 58d8decee52b196cd7723c790efda81591f09b2f SHA256 b6bc90793c138619e11b907fd42a49c0f6f56d84b9869ca55f9c81b402acb6c1 -MISC ChangeLog 2337 RMD160 0aae3329974468ef7834e7f3a617e28fd2755e4f SHA1 d927ad544f0469692013f2920c3d4bcf0488d88e SHA256 62ee13b2f6e31eace7237456dbcd9976ffb08cd60ec9d7c76fffa684c7f4de1c +EBUILD ttcut-9999.ebuild 1230 RMD160 2e8d1ae59fd14a670c4732a10408414af4ebfc27 SHA1 b7d225a0cd01317c62486e53fd7c5ef39a27f4d9 SHA256 4488cfe72b8b71444ead5068deb47cc652807754334594f6ad3ec1d01aa48ff7 +MISC ChangeLog 2466 RMD160 b77ded2aac306a33a08e2ab09a519e175b07eee8 SHA1 39ff60f2cdf0ac6fac1a5d3659ba24b89859916d SHA256 450ebc89477c9597309a1b26c7f9ca843b647a43a712395cce5edbbc51f6fd29 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/media-video/ttcut/ttcut-9999.ebuild b/media-video/ttcut/ttcut-9999.ebuild index 20cf5cb96..b64bcf6c0 100644 --- a/media-video/ttcut/ttcut-9999.ebuild +++ b/media-video/ttcut/ttcut-9999.ebuild @@ -11,7 +11,7 @@ ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/ttcut/trunk" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="ttmpeg2" +IUSE="" DEPEND="$(qt4_min_version 4.1) >=media-libs/libmpeg2-0.4.0 @@ -19,31 +19,29 @@ DEPEND="$(qt4_min_version 4.1) RDEPEND="${DEPEND} media-video/mplayer - media-video/transcode - media-video/ffmpeg" + media-video/transcode" S=${WORKDIR}/${PN} -src_compile() { - if use ttmpeg2 ; then - qmake ttmpeg2.pro -o Makefile.ttmpeg2 || \ - die "configuring ttpmeg2 failed" - make -f Makefile.ttmpeg2 || die "emake ttmpeg2 failed" +pkg_setup() { + if ! built_with_use media-video/transcode mjpeg ; then + eerror "In order to have encoding mode working with ttcut" + eerror "you need to recompile transcode with mjpeg USE flag enabled." + die "Recompile transcode with mjpeg USE flag enabled" fi - qmake ttcut.pro -o Makefile.ttcut || \ - die "configuring ttcut failed" - emake -f Makefile.ttcut || die "emake failed" } -src_install() { - if use ttmpeg2 ; then - dobin ttmpeg2 || die "Couldn't install ttmpeg2" - make_desktop_entry ttmpeg2 TTMpeg2 "" "AudioVideo;Video;AudioVideoEditing" || \ - die "Couldn't make ttmpeg2 desktop entry" - fi +src_compile() { + qmake ttcut.pro -o Makefile.ttcut || \ + die "configuring ttcut failed" + emake -f Makefile.ttcut || die "emake failed" +} +src_install() { dobin ttcut || die "Couldn't install ttcut" make_desktop_entry ttcut TTCut "" "AudioVideo;Video;AudioVideoEditing" || \ die "Couldn't make ttcut desktop entry" - dodoc AUTHORS BUGS CHANGELOG COPYING INSTALL README TODO || die "Couldn't install documentation" + + dodoc AUTHORS BUGS CHANGELOG \ + README.DE README.EN TODO || die "Couldn't install documentation" } |