wok-current annotate kino/receipt @ rev 13797
Create grub entry based on current root partition. Fix bug78
author | border |
---|---|
date | Sat Jan 05 12:34:10 2013 -0500 (2013-01-05) |
parents | 30062b4789f2 |
children | 380ffe05937a |
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" |
pankso@4085 | 8 DEPENDS="gtk+ libglade libdv libraw1394 libavc1394 libsamplerate alsa-lib \ |
slaxemulator@8089 | 9 libiec61883 xorg-libXv linux-firewire xorg-libXdamage ffmpeg" |
pascal@8939 | 10 BUILD_DEPENDS="intltool libdv perl xorg-dev xorg-dev-proto gtk+-dev libglade-dev \ |
pankso@4085 | 11 libdv-dev libraw1394-dev libavc1394-dev libsamplerate-dev xorg-libXv-dev \ |
pankso@4085 | 12 libiec61883-dev libxml2-dev bash libpng-dev freetype-dev fontconfig-dev \ |
pankso@12481 | 13 libiec61883 ffmpeg-dev xorg-libXv libsamplerate util-linux-uuid-dev \ |
pascal@12987 | 14 alsa-lib xorg-libXext libv4l-dev" |
pankso@296 | 15 SUGGESTED="lame vorbis-tools mjpegtools dvdauthor" |
pankso@296 | 16 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@296 | 17 WEB_SITE="http://www.kinodv.org/" |
pankso@296 | 18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4942 | 19 TAGS="video editor" |
pankso@296 | 20 |
pankso@296 | 21 # Rules to configure and make the package. |
pankso@296 | 22 compile_rules() |
pankso@296 | 23 { |
pankso@296 | 24 cd $src |
pascal@12987 | 25 sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \ |
pascal@12987 | 26 ffmpeg/libavdevice/v4l.c src/v4l.h |
pankso@296 | 27 ./configure \ |
pankso@296 | 28 --prefix=/usr \ |
pankso@296 | 29 --mandir=/usr/share/man \ |
pankso@296 | 30 --sysconfdir=/etc \ |
jozee@2911 | 31 --disable-local-ffmpeg \ |
jozee@2911 | 32 --enable-shared \ |
pankso@4347 | 33 --with-libdv-only \ |
pascal@1484 | 34 $CONFIGURE_ARGS && |
pascal@1484 | 35 make && |
pankso@296 | 36 make DESTDIR=$PWD/_pkg install |
pankso@296 | 37 } |
pankso@296 | 38 |
pankso@296 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@296 | 40 genpkg_rules() |
pankso@296 | 41 { |
pascal@11623 | 42 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications |
pascal@11623 | 43 cp -a $stuff/kino.desktop $fs/usr/share/applications |
pankso@296 | 44 cp -a $_pkg/etc $fs |
pankso@296 | 45 cp -a $_pkg/usr/bin $fs/usr |
pankso@296 | 46 cp -a $_pkg/usr/lib $fs/usr |
pankso@296 | 47 rm $fs/usr/lib/kino-gtk2/*.*a |
pankso@296 | 48 cp -a $_pkg/usr/share/kino $fs/usr/share |
pankso@296 | 49 cp -a $_pkg/usr/share/mime $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 } |
pankso@296 | 54 |