# HG changeset patch # User Rohit Joshi # Date 1260893442 0 # Node ID d420f02022794ba1ec11c87f1c4de55a8629f6ca # Parent 5d2d1d0a819c6ef81ea2871fb8595d07a7c73eb8 Add fswebcam (tiny webcam viewer) diff -r 5d2d1d0a819c -r d420f0202279 fswebcam/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fswebcam/receipt Tue Dec 15 16:10:42 2009 +0000 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="fswebcam" +VERSION="20070108" +CATEGORY="misc" +MAINTAINER="jozee@slitaz.org" +SHORT_DESC="Tiny and flexible webcam app" +BUILD_DEPENDS="$DEPENDS libgd-dev" +WEB_SITE="http://www.firestorm.cx/fswebcam/" +DEPENDS="libgd" +CONFIG_FILES="etc/fswebcam.conf" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$WEB_SITE/files/$TARBALL" +TAGS="webcam" + +# Rules to configure and make the package. + +compile_rules() { + cd $src + while read file; do + [ -f done.$file ] && continue + echo "Apply $file..." + patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1 + touch done.$file + done < fswebcam.1.gz ++ gzip -c fswebcam.1 > fswebcam.1.gz + + clean: + rm -f core* *.o fswebcam fswebcam.1.gz diff -r 5d2d1d0a819c -r d420f0202279 fswebcam/stuff/fswebcam.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fswebcam/stuff/fswebcam.conf Tue Dec 15 16:10:42 2009 +0000 @@ -0,0 +1,35 @@ +# Example configuration for fswebcam +# [2006-09-05: phil@firestorm.cx] + +# Be very quiet... +quiet + +# Or be very loud? +#verbose + +# The image source - In this case we are capturing frames from a TV channel +device "v4l2:/dev/video0" +input 0 +#loop 10 +skip 2 # Skip the first two frames. +frames 1 # And capture one. +#background +#palette YUV420P +palette YUYV +#palette MJPEG +frequency 670.90 +resolution 640x480 +#resolution 768x576 +set brightness=60% +set contrast=13% +# Scale the image down to half it's size. +#scale 384x288 +top-banner +font "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf" +title "My Webcam" +timestamp "%d-%m-%Y %H:%M:%S (%Z)" +jpeg 95 +save /home/tux/Images/viewcam.jpg +# Load an overlay image. This is placed above everything, including the banner. +#overlay "/home/user/outline.png" +