summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-11-05 01:17:17 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-11-05 01:17:17 +0000
commit2c59668b61d4b527e95e28f3d0ec685b61c42f96 (patch)
treec7743014ae36d28f3f879bf5823b0d33ee6964b0 /media-video/xawtv
parentadded support for kde-3.1_rc2 (diff)
downloadhistorical-2c59668b61d4b527e95e28f3d0ec685b61c42f96.tar.gz
historical-2c59668b61d4b527e95e28f3d0ec685b61c42f96.tar.bz2
historical-2c59668b61d4b527e95e28f3d0ec685b61c42f96.zip
version bump
Diffstat (limited to 'media-video/xawtv')
-rw-r--r--media-video/xawtv/ChangeLog13
-rw-r--r--media-video/xawtv/files/digest-xawtv-3.783
-rw-r--r--media-video/xawtv/files/tv-fonts-1.0-gentoo.diff16
-rw-r--r--media-video/xawtv/files/webcamrc30
-rw-r--r--media-video/xawtv/xawtv-3.78.ebuild106
5 files changed, 167 insertions, 1 deletions
diff --git a/media-video/xawtv/ChangeLog b/media-video/xawtv/ChangeLog
index fb3ebf16b874..cc9ee469b96d 100644
--- a/media-video/xawtv/ChangeLog
+++ b/media-video/xawtv/ChangeLog
@@ -1,6 +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.6 2002/07/19 11:28:21 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/ChangeLog,v 1.7 2002/11/05 01:17:17 seemant Exp $
+
+*xawtv-3.78 (04 Nov 2002)
+
+ 04 Nov 2002; Seemant Kulleen <seemant@gentoo.org> xawtv-3.78.ebuild
+ files/tv-fonts-1.0-gentoo.diff files/digest-xawtv-3.78 files/webcamrc :
+
+ Version bump. This release depends on libquicktime instead and the fonts
+ package is downloaded separately. Thanks to: jmarcet@pobox.com (Javier
+ Marcet) in bug #7345 for informing us. Also provided a default webcamrc
+ in the docs directory. Thanks to: sascha@killerhippy.de (Sascha
+ Wuestemann) in bug #9895 for that.
*xawtv-3.73-r1 (14 July 2002)
diff --git a/media-video/xawtv/files/digest-xawtv-3.78 b/media-video/xawtv/files/digest-xawtv-3.78
new file mode 100644
index 000000000000..af2d46dbcf9d
--- /dev/null
+++ b/media-video/xawtv/files/digest-xawtv-3.78
@@ -0,0 +1,3 @@
+MD5 12dc344028611e56e69cc7b4c4b2207e xawtv_3.78.tar.gz 530458
+MD5 46c68df4976306e25a1526a762371770 tv-fonts-1.0.tar.bz2 140781
+MD5 13a6d70ce058f3576f1d047dd2c20364 xaw-deinterlace-3.76-0.1.0.diff 15039
diff --git a/media-video/xawtv/files/tv-fonts-1.0-gentoo.diff b/media-video/xawtv/files/tv-fonts-1.0-gentoo.diff
new file mode 100644
index 000000000000..25b49a609499
--- /dev/null
+++ b/media-video/xawtv/files/tv-fonts-1.0-gentoo.diff
@@ -0,0 +1,16 @@
+--- Makefile.orig 2002-11-04 15:51:42.000000000 -0800
++++ Makefile 2002-11-04 15:51:56.000000000 -0800
+@@ -23,12 +23,7 @@
+ ##################################################################
+
+ all: $(LED_PCF) $(TT_PCF) $(LED_BDF) $(TT_BDF)
+- mkfontdir
+-ifneq ($(DISPLAY),)
+- -xset fp- "`pwd`:unscaled"
+- xset fp+ "`pwd`:unscaled"
+- xset fp rehash
+-endif
++ echo "fonts created"
+
+ clean distclean:
+ rm -f $(LED_PCF) $(TT_PCF)
diff --git a/media-video/xawtv/files/webcamrc b/media-video/xawtv/files/webcamrc
new file mode 100644
index 000000000000..6773a673cb4c
--- /dev/null
+++ b/media-video/xawtv/files/webcamrc
@@ -0,0 +1,30 @@
+ [ftp]
+ host = www
+ user = webcam
+ pass = xxxxxx
+ dir = public_html/images
+ file = webcam.jpeg
+ tmp = uploading.jpeg
+ passive = 1
+ debug = 0
+ auto = 0
+ local = 0
+ ssh = 0
+
+ [grab]
+ device = /dev/video0
+ text = "webcam %Y-%m-%d %H:%M:%S"
+ infofile = filename
+ width = 320
+ height = 240
+ delay = 3
+ input = composite1
+ norm = pal
+ rotate = 0
+ top = 0
+ left = 0
+ bottom = -1
+ right = -1
+ quality = 75
+ trigger = 0
+ once = 0
diff --git a/media-video/xawtv/xawtv-3.78.ebuild b/media-video/xawtv/xawtv-3.78.ebuild
new file mode 100644
index 000000000000..793f1e9c6289
--- /dev/null
+++ b/media-video/xawtv/xawtv-3.78.ebuild
@@ -0,0 +1,106 @@
+# 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.78.ebuild,v 1.1 2002/11/05 01:17:17 seemant Exp $
+
+IUSE="aalib motif alsa opengl"
+
+S=${WORKDIR}/${P}
+MY_FONT=tv-fonts-1.0
+DESCRIPTION="TV application for the bttv driver"
+SRC_URI="http://bytesex.org/xawtv/${PN}_${PV}.tar.gz
+ http://bytesex.org/xawtv/${MY_FONT}.tar.bz2
+ mirror://sourceforge/xaw-deinterlace/xaw-deinterlace-3.76-0.1.0.diff"
+HOMEPAGE="http://bytesex.org/xawtv/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND=">=sys-libs/ncurses-5.1
+ >=media-libs/jpeg-6b
+ >=media-libs/libpng-1.0.8
+ media-libs/zvbi
+ virtual/x11
+ alsa? ( media-libs/alsa-lib )
+ aalib? ( media-libs/aalib )
+ motif? ( x11-libs/openmotif )
+ opengl? ( virtual/opengl )
+ quicktime? ( media-libs/libquicktime )"
+
+
+src_unpack() {
+
+ unpack ${PN}_${PV}.tar.gz
+ cd ${S}
+ patch -p1 < ${DISTDIR}/xaw-deinterlace-3.76-0.1.0.diff || die
+
+ unpack ${MY_FONT}.tar.bz2
+ cd ${S}/${MY_FONT}
+ patch -p0 < ${FILESDIR}/${MY_FONT}-gentoo.diff || die
+
+}
+
+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"
+
+
+ use opengl \
+ && myconf="${myconf} --enable-gl" \
+ || myconf="${myconf} --disable-gl"
+
+ econf \
+ --with-x \
+ --enable-xfree-ext \
+ --enable-xvideo \
+ --enable-zvbi \
+ ${myconf} || die
+
+ emake || die
+
+ cd ${MY_FONT}
+ emake || die
+
+}
+
+src_install() {
+
+ cd ${S}
+
+ fontdir=/usr/X11R6/lib/X11/fonts/misc
+
+ einstall \
+ resdir=${D}/etc/X11 || die
+
+ dodoc COPYING Changes README* TODO
+
+ exeinto /home/httpd/cgi-bin
+ doexe scripts/webcam.cgi
+ dodoc ${FILESDIR}/webcamrc
+
+ cd ${MY_FONT}
+ insinto ${fontdir}
+ doins *.gz fonts.alias
+}
+
+src_postinst() {
+ mkfontdir /usr/X11R6/lib/X11/fonts/misc
+}
+
+src_postrm() {
+ mkfontdir /usr/X11R6/lib/X11/fonts/misc
+}