# SliTaz package receipt. PACKAGE="kino" VERSION="1.3.4" CATEGORY="multimedia" SHORT_DESC="Non linear Video editor." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" SUGGESTED="lame vorbis-tools mjpegtools dvdauthor" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://web.archive.org/web/20171208061933/http://kinodv.org/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="video editor" DEPENDS="gtk+ libglade libdv libraw1394 libavc1394 libsamplerate alsa-lib \ libiec61883 xorg-libXv linux-firewire xorg-libXdamage ffmpeg" BUILD_DEPENDS="intltool libdv perl xorg-dev xorg-dev-proto gtk+-dev libglade-dev \ libdv-dev libraw1394-dev libavc1394-dev libsamplerate-dev xorg-libXv-dev \ libiec61883-dev libxml2-dev bash libpng-dev freetype-dev fontconfig-dev \ libiec61883 ffmpeg-dev xorg-libXv libsamplerate util-linux-uuid-dev \ alsa-lib xorg-libXext libv4l-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/kino/files/kino/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/kino/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \ ffmpeg/libavdevice/v4l.c src/v4l.h ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --disable-local-ffmpeg \ --enable-shared \ --with-libdv-only \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications cp -a $stuff/applications/*desktop $fs/usr/share/applications cp -a $install/etc $fs cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib $fs/usr rm $fs/usr/lib/kino-gtk2/*.*a cp -a $install/usr/share/kino $fs/usr/share # Remove Help files rm -rf $fs/usr/share/kino/help }