summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-01-13 11:25:36 +0000
committerjmmv <jmmv@pkgsrc.org>2004-01-13 11:25:36 +0000
commit79273d08f50c3f76cbfe56560611cc7c4525aeeb (patch)
treeea00ed54560d58ff9f61460cff65b2bf444211e1 /graphics
parentbca9b36cd709d547cc72445f8d49461af86d501e (diff)
downloadpkgsrc-79273d08f50c3f76cbfe56560611cc7c4525aeeb.tar.gz
Initial import of xawtv, version 3.90:
xawtv is a set of utilities to manage the video4linux interface (and BSD's bktr driver too). The main component of the suite is xawtv itself, which is a X11 application to watch the TV. The package includes the following main utilities: * xawtv: a nice X11 application for watching TV. * v4lctl: a command line tool to set video4linux parameters. * streamer: a command line tool for capturing still images and AVI videos (with sound). * radio: a simple, curses-based radio app. * webcam: captures images and uploads them with FTP to a Web-Server in an endless loop. From pkgsrc-wip. Overlay mode now works, so this is why I'm importing it.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xawtv/DESCR12
-rw-r--r--graphics/xawtv/Makefile37
-rw-r--r--graphics/xawtv/PLIST93
-rw-r--r--graphics/xawtv/distinfo6
-rw-r--r--graphics/xawtv/patches/patch-aa16
-rw-r--r--graphics/xawtv/patches/patch-ab13
6 files changed, 177 insertions, 0 deletions
diff --git a/graphics/xawtv/DESCR b/graphics/xawtv/DESCR
new file mode 100644
index 00000000000..fa16d771298
--- /dev/null
+++ b/graphics/xawtv/DESCR
@@ -0,0 +1,12 @@
+xawtv is a set of utilities to manage the video4linux interface (and BSD's
+bktr driver too). The main component of the suite is xawtv itself, which
+is a X11 application to watch the TV.
+
+The package includes the following main utilities:
+* xawtv: a nice X11 application for watching TV.
+* v4lctl: a command line tool to set video4linux parameters.
+* streamer: a command line tool for capturing still images and AVI videos
+ (with sound).
+* radio: a simple, curses-based radio app.
+* webcam: captures images and uploads them with FTP to a Web-Server in an
+ endless loop.
diff --git a/graphics/xawtv/Makefile b/graphics/xawtv/Makefile
new file mode 100644
index 00000000000..4a4d07085f5
--- /dev/null
+++ b/graphics/xawtv/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/13 11:25:36 jmmv Exp $
+#
+
+DISTNAME= xawtv_3.90
+PKGNAME= ${DISTNAME:S/_/-/}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+CATEGORIES= graphics
+MASTER_SITES= http://bytesex.org/xawtv/
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://bytesex.org/xawtv/
+COMMENT= TV application for Brooktree 848 compatible cards
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+USE_GMAKE= YES
+USE_X11= YES
+
+CONFIGURE_ARGS+= --disable-aalib
+CONFIGURE_ARGS+= --disable-motif
+
+LDFLAGS+= ${LIBOSSAUDIO}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_MMX) && !empty(USE_MMX:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-mmx
+.endif
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../fonts/Xft2/buildlink2.mk"
+.include "../../graphics/MesaLib/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../x11/Xaw3d/buildlink2.mk"
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/xawtv/PLIST b/graphics/xawtv/PLIST
new file mode 100644
index 00000000000..e8ddbe7f87b
--- /dev/null
+++ b/graphics/xawtv/PLIST
@@ -0,0 +1,93 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/13 11:25:36 jmmv Exp $
+bin/dump-mixers
+bin/ntsc-cc
+bin/pia
+bin/propwatch
+bin/record
+bin/rootv
+bin/showqt
+bin/showriff
+bin/streamer
+bin/subtitles
+bin/v4lctl
+bin/webcam
+bin/xawtv
+bin/xawtv-remote
+lib/X11/app-defaults/Xawtv
+lib/xawtv/bilinear.so
+lib/xawtv/conv-mjpeg.so
+lib/xawtv/cubic.so
+lib/xawtv/drv0-bsd.so
+lib/xawtv/flt-disor.so
+lib/xawtv/flt-gamma.so
+lib/xawtv/flt-invert.so
+lib/xawtv/flt-smooth.so
+lib/xawtv/linear-blend.so
+lib/xawtv/linedoubler.so
+lib/xawtv/read-avi.so
+lib/xawtv/snd-oss.so
+lib/xawtv/write-avi.so
+man/es/man1/fbtv.1
+man/es/man1/rootv.1
+man/es/man1/scantv.1
+man/es/man1/streamer.1
+man/es/man1/subtitles.1
+man/es/man1/ttv.1
+man/es/man1/v4lctl.1
+man/es/man1/xawtv-remote.1
+man/es/man1/xawtv.1
+man/es/man5/xawtvrc.5
+man/es/man8/v4l-conf.8
+man/fr/man1/xawtv.1
+man/man1/alevtd.1
+man/man1/dump-mixers.1
+man/man1/fbtv.1
+man/man1/motv.1
+man/man1/mtt.1
+man/man1/ntsc-cc.1
+man/man1/pia.1
+man/man1/propwatch.1
+man/man1/radio.1
+man/man1/record.1
+man/man1/rootv.1
+man/man1/scantv.1
+man/man1/showriff.1
+man/man1/streamer.1
+man/man1/subtitles.1
+man/man1/ttv.1
+man/man1/v4l-info.1
+man/man1/v4lctl.1
+man/man1/webcam.1
+man/man1/xawtv-remote.1
+man/man1/xawtv.1
+man/man5/xawtvrc.5
+man/man8/v4l-conf.8
+share/xawtv/Index.map
+share/xawtv/argentina.list
+share/xawtv/ccir-h.list
+share/xawtv/ccir-i-iii.list
+share/xawtv/ccir-sl-sh.list
+share/xawtv/europe-east.list
+share/xawtv/europe-west.list
+share/xawtv/ntsc-bcast-jp.list
+share/xawtv/ntsc-bcast.list
+share/xawtv/ntsc-cable-ca.list
+share/xawtv/ntsc-cable-jp.list
+share/xawtv/ntsc-cable.list
+share/xawtv/ntsc-hrc.list
+share/xawtv/oirt-h.list
+share/xawtv/oirt-i-iii.list
+share/xawtv/oirt-sl-sh.list
+share/xawtv/pal-australia-optus.list
+share/xawtv/pal-australia.list
+share/xawtv/pal-bcast-cn.list
+share/xawtv/pal-bcast-za.list
+share/xawtv/pal-ireland.list
+share/xawtv/pal-italy.list
+share/xawtv/pal-newzealand.list
+share/xawtv/secam-france.list
+share/xawtv/secam-russia.list
+share/xawtv/uhf.list
+@dirrm share/xawtv
+@dirrm lib/xawtv
+@unexec ${RMDIR} %D/lib/X11/app-defaults 2>/dev/null || ${TRUE}
diff --git a/graphics/xawtv/distinfo b/graphics/xawtv/distinfo
new file mode 100644
index 00000000000..c9835862a2e
--- /dev/null
+++ b/graphics/xawtv/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/13 11:25:36 jmmv Exp $
+
+SHA1 (xawtv_3.90.tar.gz) = 6a1a0ba506ff5ec46e3d8c2d0721a2833ec5941d
+Size (xawtv_3.90.tar.gz) = 555935 bytes
+SHA1 (patch-aa) = 926173ec69b3acb8fd3b32143c9a03ef2f59cdf6
+SHA1 (patch-ab) = bd6e07044155ba7fbfc45c3cab5c4ea2c57ac2e5
diff --git a/graphics/xawtv/patches/patch-aa b/graphics/xawtv/patches/patch-aa
new file mode 100644
index 00000000000..5b09dcd0265
--- /dev/null
+++ b/graphics/xawtv/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/13 11:25:36 jmmv Exp $
+
+--- configure.orig 2003-04-12 19:43:47.000000000 +0200
++++ configure
+@@ -6071,10 +6071,7 @@ echo "${ECHO_T}$x11conf" >&6
+
+ echo "$as_me:$LINENO: checking for X11 app-defaults directory" >&5
+ echo $ECHO_N "checking for X11 app-defaults directory... $ECHO_C" >&6
+-resdir=/usr/X11R6/lib/X11
+-if test -d /etc/X11/app-defaults; then
+- resdir=/etc/X11
+-fi
++resdir=$prefix/lib/X11
+ echo "$as_me:$LINENO: result: $resdir/app-defaults" >&5
+ echo "${ECHO_T}$resdir/app-defaults" >&6
+
diff --git a/graphics/xawtv/patches/patch-ab b/graphics/xawtv/patches/patch-ab
new file mode 100644
index 00000000000..82adf63e36b
--- /dev/null
+++ b/graphics/xawtv/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/13 11:25:36 jmmv Exp $
+
+--- Makefile.in.orig 2003-04-12 20:00:30.000000000 +0200
++++ Makefile.in
+@@ -84,7 +84,7 @@ CXXFLAGS := $(CFLAGS)
+ %.so : CXXFLAGS += -fPIC
+
+ # libraries
+-LDLIBS := @LDLIBS@
++LDLIBS := @LDLIBS@ @LDFLAGS@
+
+
+ #########################################################