wok view lives/receipt @ rev 24170

updated otf-gfs
author Hans-G?nter Theisgen
date Wed Dec 29 07:55:54 2021 +0100 (2021-12-29)
parents 6f52735cb8a2
children ede1d184d5c5
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="http://lives-video.com/"
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 # Rules to configure and make the package.
19 #
20 compile_rules()
21 {
22 sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' \
23 Makefile*
25 ./configure \
26 --prefix=/usr \
27 --disable-jack \
28 $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install 2>&1 | \
31 sed "s/gmo': No such file/gmo': no such file/"
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/lives $fs/usr/lib
43 cp -a $install/usr/share/lives $fs/usr/share
45 find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
47 # Fix the name (.desktop) file.
48 sed -i 's/^Exec=.*/Exec=lives-exe/' \
49 $install/usr/share/applications/LiVES.desktop
50 }