wok view kino/receipt @ rev 17602

appdata-tools: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 12 11:09:07 2015 +0100 (2015-02-12)
parents a7848c730d68
children e6b7a2aaf2e1
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="http://www.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 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
27 ffmpeg/libavdevice/v4l.c src/v4l.h
28 ./configure \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 --sysconfdir=/etc \
32 --disable-local-ffmpeg \
33 --enable-shared \
34 --with-libdv-only \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
44 cp -a $stuff/applications/*desktop $fs/usr/share/applications
45 cp -a $install/etc $fs
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib $fs/usr
48 rm $fs/usr/lib/kino-gtk2/*.*a
49 cp -a $install/usr/share/kino $fs/usr/share
51 # Remove Help files
52 rm -rf $fs/usr/share/kino/help
53 }