summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video')
-rw-r--r--media-video/xawtv/ChangeLog12
-rw-r--r--media-video/xawtv/files/digest-xawtv-3.73-r12
-rw-r--r--media-video/xawtv/xawtv-3.73-r1.ebuild79
3 files changed, 91 insertions, 2 deletions
diff --git a/media-video/xawtv/ChangeLog b/media-video/xawtv/ChangeLog
index 55d7ce6ab084..a27466c94d79 100644
--- a/media-video/xawtv/ChangeLog
+++ b/media-video/xawtv/ChangeLog
@@ -1,9 +1,17 @@
# ChangeLog for media-video/xawtv
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/ChangeLog,v 1.4 2002/04/23 16:56:03 verwilst Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/ChangeLog,v 1.5 2002/07/15 04:59:12 lostlogic Exp $
+*xawtv-3.73-r1 (14 July 2002)
+
+ 14 July 2002; Brandon Low <lostlogic@gentoo.org> xawtv-3.73-r1.ebuild:
+
+ Add lirc support thanks goes to George Sauthoff, he did great work
+ preparing the lirc ebuild.
+
*xawtv-3.73 (23 April 2002)
- 23 April 2002; Bart Verwilst <spider@gentoo.org> Changelog:
+
+ 23 April 2002; Bart Verwilst <verwilst@gentoo.org> xawtv-3.73.ebuild:
New version, removed old versions from the Portage tree
diff --git a/media-video/xawtv/files/digest-xawtv-3.73-r1 b/media-video/xawtv/files/digest-xawtv-3.73-r1
new file mode 100644
index 000000000000..0d98328ae85a
--- /dev/null
+++ b/media-video/xawtv/files/digest-xawtv-3.73-r1
@@ -0,0 +1,2 @@
+MD5 c9a8b96439a877bccd9463bf3331b538 xawtv_3.73.tar.gz 498974
+MD5 b6749d2289e2c49fca3802b2d47efc2e xaw-deinterlace-0.0.3.diff.bz2 3155
diff --git a/media-video/xawtv/xawtv-3.73-r1.ebuild b/media-video/xawtv/xawtv-3.73-r1.ebuild
new file mode 100644
index 000000000000..32efe1e8e180
--- /dev/null
+++ b/media-video/xawtv/xawtv-3.73-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/xawtv-3.73-r1.ebuild,v 1.1 2002/07/15 04:59:12 lostlogic Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="TV application for the bttv driver"
+SRC_URI="http://bytesex.org/xawtv/xawtv_3.73.tar.gz
+mirror://sourceforge/xaw-deinterlace/xaw-deinterlace-0.0.3.diff.bz2"
+HOMEPAGE="http://bytesex.org/xawtv/"
+SLOT="0"
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.1
+ >=media-libs/jpeg-6b
+ >=media-libs/libpng-1.0.8
+ >=x11-base/xfree-4.0.1
+ motif? ( x11-libs/openmotif ) aalib? ( media-libs/aalib )
+ quicktime? ( media-libs/quicktime4linux )
+ alsa? ( media-libs/alsa-lib )"
+
+
+src_unpack() {
+
+ unpack ${PN}_${PV}.tar.gz
+ cd ${S}
+ bzcat ${DISTDIR}/xaw-deinterlace-0.0.3.diff.bz2 | patch -p1
+
+}
+
+src_compile() {
+ local myconf
+ use motif && myconf="--enable-motif" \
+ || myconf="--disable-motif"
+ use aalib && myconf="$myconf --enable-aa" \
+ || myconf="$myconf --disable-aa"
+ use quicktime && myconf="$myconf --enable-quicktime" \
+ || myconf="$myconf --disable-quicktime"
+ use alsa && myconf="$myconf --enable-alsa" \
+ || myconf="$myconf --disable-alsa"
+
+ touch src/Xawtv.h src/MoTV.h
+
+ ./configure --prefix=/usr --host=${CHOST} \
+ --enable-jpeg \
+ --enable-xfree-ext \
+ --enable-xvideo \
+ --with-x $myconf || die
+
+# Why disable lirc when some people will have it installed now?
+# --disable-lirc \
+
+ emake || die
+}
+
+src_install() {
+ fontdir=${D}/usr/X11R6/lib/X11/fonts/misc
+ make install \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ resdir=${D}/etc/X11 \
+ fontdir=$fontdir || die
+ # remove the bogus fonts.dir so it isn't "owned" by this ebuild
+ rm -f $fontdir/fonts.dir
+
+ dodoc COPYING Changes
+ dodoc Programming-FAQ README* TODO
+ dodoc UPDATE_TO_v3.0
+
+ insinto /usr/local/httpd/cgi-bin
+ insopts -m 755
+ doins webcam/webcam.cgi
+}
+
+src_postinst() {
+ mkfontdir /usr/X11R6/lib/X11/fonts/misc
+}
+
+src_postrm() {
+ mkfontdir /usr/X11R6/lib/X11/fonts/misc
+}