wok view lives/receipt @ rev 25028

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