summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-02-14 11:21:48 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-02-14 11:21:48 +0000
commit65044261486bf42b220a901877062e6aee6145e4 (patch)
tree23b74c92afb4d0c3ae96e9794f92a222f8c38aa9 /x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild
parentStable on x86, bug #112942. (diff)
downloadhistorical-65044261486bf42b220a901877062e6aee6145e4.tar.gz
historical-65044261486bf42b220a901877062e6aee6145e4.tar.bz2
historical-65044261486bf42b220a901877062e6aee6145e4.zip
Re-enabled audio capture, see bug #122592.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild')
-rw-r--r--x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild75
1 files changed, 75 insertions, 0 deletions
diff --git a/x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild b/x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild
new file mode 100644
index 000000000000..4b5a22746521
--- /dev/null
+++ b/x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xvidcap/xvidcap-1.1.3-r4.ebuild,v 1.1 2006/02/14 11:21:48 nelchael Exp $
+
+inherit eutils autotools
+
+IUSE="gtk"
+
+DESCRIPTION="Screen capture utility enabling you to create videos of your desktop for illustration or documentation purposes."
+HOMEPAGE="http://xvidcap.sourceforge.net/"
+SRC_URI="mirror://sourceforge/xvidcap/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="GPL-2"
+
+RDEPEND="gtk? ( >=x11-libs/gtk+-2.0.0 )
+ >=media-video/ffmpeg-0.4.9_pre1
+ media-libs/libpng
+ media-libs/jpeg
+ sys-libs/zlib
+ !gtk? (
+ || ( (
+ x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXext )
+ virtual/x11 )
+ )"
+
+DEPEND="${RDEPEND}
+ !gtk2? (
+ || ( (
+ x11-proto/xextproto
+ x11-proto/xf86dgaproto
+ x11-proto/videoproto
+ x11-proto/xproto )
+ virtual/x11 )
+ )"
+
+SLOT="0"
+
+src_unpack() {
+
+ unpack "${A}"
+ cd "${S}"
+
+ # Fix bug #62741 and bug #115675:
+ epatch "${FILESDIR}/${P}-ffmpeg.patch"
+
+ # Fix bug #120551:
+ epatch "${FILESDIR}/${P}-alpha_mask.patch"
+
+ # Fix broken configure (bug #122592):
+ epatch "${FILESDIR}/${P}-configure.patch"
+
+ eautoreconf
+
+}
+
+src_compile() {
+
+ econf `use_with gtk gtk2` || die "Configuration failed"
+ emake || die "Compilation failed"
+
+}
+
+src_install() {
+
+ einstall || die "Installation failed"
+
+ # Fix for #58322
+ rm -fr ${D}/usr/share/doc/${PN}_${PV}
+ dodoc NEWS TODO README AUTHORS ChangeLog XVidcap.ad
+
+}