wok annotate lives/receipt @ rev 24742

updated libffcall (2.2 -> 2.4)
author Hans-G?nter Theisgen
date Wed Mar 16 10:31:26 2022 +0100 (2022-03-16)
parents ec55902e1f00
children 970deba23db6
rev   line source
pankso@4679 1 # SliTaz package receipt.
pankso@4679 2
pankso@4679 3 PACKAGE="lives"
Hans-G?nter@23139 4 VERSION="3.0.2"
pankso@4679 5 CATEGORY="multimedia"
pankso@4679 6 SHORT_DESC="Simple to use, yet powerful video editor and VJ tool."
pankso@4679 7 MAINTAINER="pankso@slitaz.org"
pascal@15310 8 LICENSE="GPL3"
Hans-G?nter@23139 9 WEB_SITE="http://lives-video.com/"
Hans-G?nter@21369 10
pankso@4679 11 SOURCE="LiVES"
pankso@4679 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
Hans-G?nter@21369 13 WGET_URL="http://lives-video.com/releases/$TARBALL"
pascal@15310 14
Hans-G?nter@21369 15 DEPENDS="alsa-lib gtk+ libavc1394 liboil libpng libtheora mjpegtools sox"
Hans-G?nter@21369 16 BUILD_DEPENDS="alsa-lib alsa-lib-dev expat-dev gtk+-dev libpng-dev perl procps"
pankso@4679 17
pascal@24447 18 # What is the latest version available today?
pascal@24447 19 current_version()
pascal@24447 20 {
pascal@24447 21 wget -O - http://lives-video.com/index.php?do=downloads 2>/dev/null | \
pascal@24447 22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 23 }
pascal@24447 24
pankso@4679 25 # Rules to configure and make the package.
pankso@4679 26 #
pankso@4679 27 compile_rules()
pankso@4679 28 {
Hans-G?nter@23139 29 sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' \
Hans-G?nter@23139 30 Makefile*
Hans-G?nter@21369 31
Hans-G?nter@21369 32 ./configure \
Hans-G?nter@21369 33 --prefix=/usr \
Hans-G?nter@21369 34 --disable-jack \
Hans-G?nter@21369 35 $CONFIGURE_ARGS &&
Hans-G?nter@21369 36 make -j 1 &&
pascal@19930 37 make DESTDIR=$DESTDIR install 2>&1 | \
Hans-G?nter@21369 38 sed "s/gmo': No such file/gmo': no such file/"
pankso@4679 39 }
pankso@4679 40
pankso@4679 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4679 42 genpkg_rules()
pankso@4679 43 {
Hans-G?nter@21369 44 mkdir -p $fs/usr/lib
Hans-G?nter@21369 45 mkdir -p $fs/usr/share
Hans-G?nter@21369 46
Hans-G?nter@21369 47 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21369 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21369 49 cp -a $install/usr/lib/lives $fs/usr/lib
Hans-G?nter@21369 50 cp -a $install/usr/share/lives $fs/usr/share
Hans-G?nter@21369 51
pascal@19930 52 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
Hans-G?nter@21369 53
pascal@19930 54 # Fix the name (.desktop) file.
Hans-G?nter@23139 55 sed -i 's/^Exec=.*/Exec=lives-exe/' \
Hans-G?nter@23139 56 $install/usr/share/applications/LiVES.desktop
pankso@4679 57 }