wok-6.x view guvcview/receipt @ rev 25560
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 25 18:09:10 2023 +0000 (18 months ago) |
parents | 932cd974e081 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="guvcview"
4 SOURCE="guvcview-src"
5 VERSION="2.0.6"
6 CATEGORY="multimedia"
7 SHORT_DESC="A simple GTK interface for capturing and viewing video from webcams."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://guvcview.sourceforge.net"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gtk+3 portaudio ffmpeg libsdl2 libv4l libgudev libusb"
15 BUILD_DEPENDS="gtk+3-dev portaudio-dev ffmpeg-dev libsdl2-dev libv4l-dev \
16 libgudev-dev libusb-dev gsl-dev alsa-lib-dev jack-audio-connection-kit-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/guvcview/files/source/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/guvcview-src-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -lrt"
29 ./configure --prefix=/usr \
30 --disable-debian-menu \
31 --disable-pulse $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/pixmaps $fs/usr/bin
40 cp -a $install/usr/bin/* $fs/usr/bin
41 cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
42 }