wok-current annotate guvcview/receipt @ rev 25268
xorg-cf-files/Imake.tmpl: update ArCmd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 17 14:59:20 2022 +0000 (2022-07-17) |
parents | c25206bfb95e |
children | b0069c845544 |
rev | line source |
---|---|
claudinei@13961 | 1 # SliTaz package receipt. |
claudinei@13961 | 2 |
claudinei@13961 | 3 PACKAGE="guvcview" |
claudinei@13961 | 4 SOURCE="guvcview-src" |
maniac@21614 | 5 VERSION="2.0.6" |
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" |
pascal@14999 | 9 LICENSE="GPL3" |
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 |
maniac@21616 | 14 DEPENDS="gtk+3 portaudio ffmpeg libsdl2 libv4l libgudev libusb" |
maniac@21616 | 15 BUILD_DEPENDS="gtk+3-dev portaudio-dev ffmpeg-dev libsdl2-dev libv4l-dev \ |
pascal@21800 | 16 libgudev-dev libusb-dev gsl-dev alsa-lib-dev jack-audio-connection-kit-dev" |
claudinei@13961 | 17 |
pascal@24403 | 18 # What is the latest version available today? |
pascal@24403 | 19 current_version() |
pascal@24403 | 20 { |
pascal@24403 | 21 wget -O - https://sourceforge.net/projects/guvcview/files/source/ 2>/dev/null | \ |
pascal@24403 | 22 sed '/scope="row/!d;s|.*/guvcview-src-||;s|.tar.*||;q' |
pascal@24403 | 23 } |
pascal@24403 | 24 |
claudinei@13961 | 25 # Rules to configure and make the package. |
claudinei@13961 | 26 compile_rules() |
claudinei@13961 | 27 { |
pascal@21799 | 28 export LDFLAGS="$LDFLAGS -lrt" |
claudinei@13963 | 29 ./configure --prefix=/usr \ |
claudinei@13963 | 30 --disable-debian-menu \ |
claudinei@13963 | 31 --disable-pulse $CONFIGURE_ARGS && |
claudinei@13961 | 32 make && |
claudinei@13961 | 33 make install |
claudinei@13961 | 34 } |
claudinei@13961 | 35 |
claudinei@13961 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@13961 | 37 genpkg_rules() |
claudinei@13961 | 38 { |
claudinei@13963 | 39 mkdir -p $fs/usr/share/pixmaps $fs/usr/bin |
claudinei@13961 | 40 cp -a $install/usr/bin/* $fs/usr/bin |
claudinei@13961 | 41 cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps |
claudinei@13961 | 42 } |