wok-next diff kino/receipt @ rev 20545

vmtouch: create $install/usr/bin path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 03 15:08:22 2018 +0200 (2018-04-03)
parents dd145c435e4b
children 0ec6086e21d6
line diff
     1.1 --- a/kino/receipt	Wed Feb 28 17:32:31 2018 +0200
     1.2 +++ b/kino/receipt	Tue Apr 03 15:08:22 2018 +0200
     1.3 @@ -1,34 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="kino"
     1.8  VERSION="1.3.4"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Non linear Video editor."
    1.11 +SHORT_DESC="Non linear Video editor"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -SUGGESTED="lame vorbis-tools mjpegtools dvdauthor"
    1.15 +WEB_SITE="http://www.kinodv.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.kinodv.org/"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 -TAGS="video editor"
    1.21  
    1.22 -DEPENDS="gtk+ libglade libdv libraw1394 libavc1394 libsamplerate alsa-lib \
    1.23 -libiec61883 xorg-libXv linux-firewire xorg-libXdamage ffmpeg"
    1.24  BUILD_DEPENDS="intltool libdv perl xorg-dev xorg-dev-proto gtk+-dev libglade-dev \
    1.25  libdv-dev libraw1394-dev libavc1394-dev libsamplerate-dev xorg-libXv-dev \
    1.26  libiec61883-dev libxml2-dev bash libpng16-dev freetype-dev fontconfig-dev \
    1.27  libiec61883 ffmpeg-dev xorg-libXv libsamplerate util-linux-uuid-dev \
    1.28  alsa-lib xorg-libXext libv4l-dev"
    1.29  
    1.30 -# Rules to configure and make the package.
    1.31 -compile_rules()
    1.32 -{
    1.33 +compile_rules() {
    1.34  	sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
    1.35  		ffmpeg/libavdevice/v4l.c src/v4l.h
    1.36 +
    1.37  	./configure \
    1.38 -		--prefix=/usr \
    1.39 -		--mandir=/usr/share/man \
    1.40 -		--sysconfdir=/etc \
    1.41  		--disable-local-ffmpeg \
    1.42  		--enable-shared \
    1.43  		--with-libdv-only \
    1.44 @@ -37,17 +30,12 @@
    1.45  	make DESTDIR=$DESTDIR install
    1.46  }
    1.47  
    1.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.49 -genpkg_rules()
    1.50 -{
    1.51 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
    1.52 -	cp -a $stuff/applications/*desktop $fs/usr/share/applications
    1.53 -	cp -a $install/etc $fs
    1.54 -	cp -a $install/usr/bin $fs/usr
    1.55 -	cp -a $install/usr/lib $fs/usr
    1.56 -	rm $fs/usr/lib/kino-gtk2/*.*a
    1.57 -	cp -a $install/usr/share/kino $fs/usr/share
    1.58 -
    1.59 +genpkg_rules() {
    1.60 +	copy @std
    1.61  	# Remove Help files
    1.62  	rm -rf $fs/usr/share/kino/help
    1.63 +	DEPENDS="gtk+ libglade libdv libraw1394 libavc1394 libsamplerate alsa-lib \
    1.64 +	libiec61883 xorg-libXv linux-firewire xorg-libXdamage ffmpeg"
    1.65 +	SUGGESTED="lame vorbis-tools mjpegtools dvdauthor"
    1.66 +	TAGS="video editor"
    1.67  }