wok-next annotate guvcview/receipt @ rev 13961

Add: guvcview (1.5.0, newer versions uses gtk3, so skipping them for now)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jan 30 22:52:46 2013 -0200 (2013-01-30)
parents
children 6af97d5ff38a
rev   line source
claudinei@13961 1 # SliTaz package receipt.
claudinei@13961 2
claudinei@13961 3 PACKAGE="guvcview"
claudinei@13961 4 SOURCE="guvcview-src"
claudinei@13961 5 VERSION="1.5.0"
claudinei@13961 6 CATEGORY="multimedia"
claudinei@13961 7 SHORT_DESC="A simple GTK interface for capturing and viewing video from webcams."
claudinei@13961 8 MAINTAINER="claudinei@slitaz.org"
claudinei@13961 9 LICENSE="GNU General Public Licence"
claudinei@13961 10 WEB_SITE="http://guvcview.sourceforge.net"
claudinei@13961 11 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@13961 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
claudinei@13961 13
claudinei@13961 14 DEPENDS="gtk+ libsdl libpng portaudio libv4l ffmpeg libgudev"
claudinei@13961 15 BUILD_DEPENDS="gtk+-dev libsdl-dev libpng-dev portaudio-dev libv4l-dev \
claudinei@13961 16 ffmpeg-dev libgudev-dev"
claudinei@13961 17
claudinei@13961 18 # Rules to configure and make the package.
claudinei@13961 19 compile_rules()
claudinei@13961 20 {
claudinei@13961 21 patch -p0 < $stuff/v412_formats.patch
claudinei@13961 22 patch -p0 < $stuff/vcodecs.patch
claudinei@13961 23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
claudinei@13961 24 make &&
claudinei@13961 25 make install
claudinei@13961 26 }
claudinei@13961 27
claudinei@13961 28 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@13961 29 genpkg_rules()
claudinei@13961 30 {
claudinei@13961 31 mkdir -p $fs/usr/share/pixmaps $fs/usr/bin $fs/usr/share/menu
claudinei@13961 32 cp -a $install/usr/bin/* $fs/usr/bin
claudinei@13961 33 cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
claudinei@13961 34 cp -a $install/usr/share/menu/* $fs/usr/share/menu
claudinei@13961 35 }