wok annotate kino/receipt @ rev 16034
Add to ARM: audiofile, libwrap and improve mpd package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 09 02:28:02 2014 +0100 (2014-03-09) |
parents | a086b32bc95d |
children | 533c0cab6960 |
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 { |
pankso@296 | 26 cd $src |
pascal@12987 | 27 sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \ |
pascal@12987 | 28 ffmpeg/libavdevice/v4l.c src/v4l.h |
pankso@296 | 29 ./configure \ |
pankso@296 | 30 --prefix=/usr \ |
pankso@296 | 31 --mandir=/usr/share/man \ |
pankso@296 | 32 --sysconfdir=/etc \ |
jozee@2911 | 33 --disable-local-ffmpeg \ |
jozee@2911 | 34 --enable-shared \ |
pankso@4347 | 35 --with-libdv-only \ |
pascal@1484 | 36 $CONFIGURE_ARGS && |
pascal@1484 | 37 make && |
pascal@15000 | 38 make DESTDIR=$DESTDIR install |
pankso@296 | 39 } |
pankso@296 | 40 |
pankso@296 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@296 | 42 genpkg_rules() |
pankso@296 | 43 { |
pascal@11623 | 44 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications |
pascal@15053 | 45 cp -a $stuff/applications/*desktop $fs/usr/share/applications |
pascal@15000 | 46 cp -a $install/etc $fs |
pascal@15000 | 47 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 48 cp -a $install/usr/lib $fs/usr |
pankso@296 | 49 rm $fs/usr/lib/kino-gtk2/*.*a |
pascal@15000 | 50 cp -a $install/usr/share/kino $fs/usr/share |
pascal@15000 | 51 cp -a $install/usr/share/mime $fs/usr/share |
pankso@4085 | 52 |
pankso@4340 | 53 # Remove Help files |
jozee@2911 | 54 rm -rf $fs/usr/share/kino/help |
pankso@296 | 55 } |
pankso@296 | 56 |