wok-next view kino/receipt @ rev 14885

Up: python-kiwi (1.9.29)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jul 24 18:59:52 2013 -0300 (2013-07-24)
parents 30062b4789f2
children 380ffe05937a
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 DEPENDS="gtk+ libglade libdv libraw1394 libavc1394 libsamplerate alsa-lib \
9 libiec61883 xorg-libXv linux-firewire xorg-libXdamage ffmpeg"
10 BUILD_DEPENDS="intltool libdv perl xorg-dev xorg-dev-proto gtk+-dev libglade-dev \
11 libdv-dev libraw1394-dev libavc1394-dev libsamplerate-dev xorg-libXv-dev \
12 libiec61883-dev libxml2-dev bash libpng-dev freetype-dev fontconfig-dev \
13 libiec61883 ffmpeg-dev xorg-libXv libsamplerate util-linux-uuid-dev \
14 alsa-lib xorg-libXext libv4l-dev"
15 SUGGESTED="lame vorbis-tools mjpegtools dvdauthor"
16 TARBALL="$PACKAGE-$VERSION.tar.gz"
17 WEB_SITE="http://www.kinodv.org/"
18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
19 TAGS="video editor"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
26 ffmpeg/libavdevice/v4l.c src/v4l.h
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 --sysconfdir=/etc \
31 --disable-local-ffmpeg \
32 --enable-shared \
33 --with-libdv-only \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$PWD/_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
43 cp -a $stuff/kino.desktop $fs/usr/share/applications
44 cp -a $_pkg/etc $fs
45 cp -a $_pkg/usr/bin $fs/usr
46 cp -a $_pkg/usr/lib $fs/usr
47 rm $fs/usr/lib/kino-gtk2/*.*a
48 cp -a $_pkg/usr/share/kino $fs/usr/share
49 cp -a $_pkg/usr/share/mime $fs/usr/share
51 # Remove Help files
52 rm -rf $fs/usr/share/kino/help
53 }