wok-current view kino/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | e6b7a2aaf2e1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="kino"
4 VERSION="1.3.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Non linear Video editor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="lame vorbis-tools mjpegtools dvdauthor"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://web.archive.org/web/20171208061933/http://kinodv.org/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="video editor"
15 DEPENDS="gtk+ libglade libdv libraw1394 libavc1394 libsamplerate alsa-lib \
16 libiec61883 xorg-libXv linux-firewire xorg-libXdamage ffmpeg"
17 BUILD_DEPENDS="intltool libdv perl xorg-dev xorg-dev-proto gtk+-dev libglade-dev \
18 libdv-dev libraw1394-dev libavc1394-dev libsamplerate-dev xorg-libXv-dev \
19 libiec61883-dev libxml2-dev bash libpng-dev freetype-dev fontconfig-dev \
20 libiec61883 ffmpeg-dev xorg-libXv libsamplerate util-linux-uuid-dev \
21 alsa-lib xorg-libXext libv4l-dev"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://sourceforge.net/projects/kino/files/kino/ 2>/dev/null | \
27 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
28 sed '/scope="row/!d;s|.*/kino/||;s|/.*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
35 ffmpeg/libavdevice/v4l.c src/v4l.h
36 ./configure \
37 --prefix=/usr \
38 --mandir=/usr/share/man \
39 --sysconfdir=/etc \
40 --disable-local-ffmpeg \
41 --enable-shared \
42 --with-libdv-only \
43 $CONFIGURE_ARGS &&
44 make &&
45 make DESTDIR=$DESTDIR install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
52 cp -a $stuff/applications/*desktop $fs/usr/share/applications
53 cp -a $install/etc $fs
54 cp -a $install/usr/bin $fs/usr
55 cp -a $install/usr/lib $fs/usr
56 rm $fs/usr/lib/kino-gtk2/*.*a
57 cp -a $install/usr/share/kino $fs/usr/share
59 # Remove Help files
60 rm -rf $fs/usr/share/kino/help
61 }