wok view lives/receipt @ rev 24987
grub: add gpt support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 07:08:39 2022 +0000 (2022-05-12) |
parents | ede1d184d5c5 |
children | 22471cbea549 |
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 SOURCE="LiVES"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="http://lives-video.com/releases/$TARBALL"
15 DEPENDS="alsa-lib gtk+ libavc1394 liboil libpng libtheora mjpegtools sox"
16 BUILD_DEPENDS="alsa-lib alsa-lib-dev expat-dev gtk+-dev libpng-dev perl procps"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - http://lives-video.com/index.php?do=downloads 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 #
27 compile_rules()
28 {
29 sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' \
30 Makefile*
32 ./configure \
33 --prefix=/usr \
34 --disable-jack \
35 $CONFIGURE_ARGS &&
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install 2>&1 | \
38 sed "s/gmo': No such file/gmo': no such file/"
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 mkdir -p $fs/usr/share
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/lives $fs/usr/lib
50 cp -a $install/usr/share/lives $fs/usr/share
52 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
54 # Fix the name (.desktop) file.
55 sed -i 's/^Exec=.*/Exec=lives-exe/' \
56 $install/usr/share/applications/LiVES.desktop
57 }