wok annotate kino/receipt @ rev 18684
Add ipkungfu (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 21:59:42 2015 +0100 (2015-12-09) |
parents | a7848c730d68 |
children | e6b7a2aaf2e1 |
rev | line source |
---|---|
pankso@296 | 1 # SliTaz package receipt. |
pankso@296 | 2 |
pankso@296 | 3 PACKAGE="kino" |
pankso@4085 | 4 VERSION="1.3.4" |
pankso@299 | 5 CATEGORY="multimedia" |
pankso@296 | 6 SHORT_DESC="Non linear Video editor." |
pankso@296 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@15000 | 9 SUGGESTED="lame vorbis-tools mjpegtools dvdauthor" |
pascal@15000 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15000 | 11 WEB_SITE="http://www.kinodv.org/" |
pascal@15000 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15000 | 13 TAGS="video editor" |
pascal@15000 | 14 |
pankso@4085 | 15 DEPENDS="gtk+ libglade libdv libraw1394 libavc1394 libsamplerate alsa-lib \ |
slaxemulator@8089 | 16 libiec61883 xorg-libXv linux-firewire xorg-libXdamage ffmpeg" |
pascal@8939 | 17 BUILD_DEPENDS="intltool libdv perl xorg-dev xorg-dev-proto gtk+-dev libglade-dev \ |
pankso@4085 | 18 libdv-dev libraw1394-dev libavc1394-dev libsamplerate-dev xorg-libXv-dev \ |
pankso@4085 | 19 libiec61883-dev libxml2-dev bash libpng-dev freetype-dev fontconfig-dev \ |
pankso@12481 | 20 libiec61883 ffmpeg-dev xorg-libXv libsamplerate util-linux-uuid-dev \ |
pascal@12987 | 21 alsa-lib xorg-libXext libv4l-dev" |
pankso@296 | 22 |
pankso@296 | 23 # Rules to configure and make the package. |
pankso@296 | 24 compile_rules() |
pankso@296 | 25 { |
pascal@12987 | 26 sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \ |
pascal@12987 | 27 ffmpeg/libavdevice/v4l.c src/v4l.h |
pankso@296 | 28 ./configure \ |
pankso@296 | 29 --prefix=/usr \ |
pankso@296 | 30 --mandir=/usr/share/man \ |
pankso@296 | 31 --sysconfdir=/etc \ |
jozee@2911 | 32 --disable-local-ffmpeg \ |
jozee@2911 | 33 --enable-shared \ |
pankso@4347 | 34 --with-libdv-only \ |
pascal@1484 | 35 $CONFIGURE_ARGS && |
pascal@1484 | 36 make && |
pascal@15000 | 37 make DESTDIR=$DESTDIR install |
pankso@296 | 38 } |
pankso@296 | 39 |
pankso@296 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@296 | 41 genpkg_rules() |
pankso@296 | 42 { |
pascal@11623 | 43 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications |
pascal@15053 | 44 cp -a $stuff/applications/*desktop $fs/usr/share/applications |
pascal@15000 | 45 cp -a $install/etc $fs |
pascal@15000 | 46 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 47 cp -a $install/usr/lib $fs/usr |
pankso@296 | 48 rm $fs/usr/lib/kino-gtk2/*.*a |
pascal@15000 | 49 cp -a $install/usr/share/kino $fs/usr/share |
pankso@4085 | 50 |
pankso@4340 | 51 # Remove Help files |
jozee@2911 | 52 rm -rf $fs/usr/share/kino/help |
pankso@296 | 53 } |