wok view cinepaint/receipt @ rev 24345

azpainter: added build dependency tiff-dev
author Hans-G?nter Theisgen
date Wed Feb 02 09:55:35 2022 +0100 (2022-02-02)
parents dcaa989c1de7
children 192db54e5c3d
line source
1 # SliTaz package receipt.
3 PACKAGE="cinepaint"
4 VERSION="1.3"
5 CATEGORY="graphics"
6 SHORT_DESC="For painting and retouching bitmap frames of films."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="MIT GPL LGPL"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://www.cinepaint.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm \
14 gutenprint zlib mesa jbigkit openexr"
15 BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \
16 xorg-xextproto util-linux-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
17 ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev bash automake autoconf libtool \
18 python-dev"
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/cinepaint/files/CinePaint/ 2>/dev/null | \
23 sed '/CinePaint-/!d;/in32/d;s|.*CinePaint-\(.*\).src.*".*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 sh ./autogen.sh
31 ./configure \
32 --prefix=/usr \
33 --enable-gtk2 \
34 --disable-print \
35 $CONFIGURE_ARGS 2>&1 | grep -v 'ls: argyll-0.60:' &&
36 {
37 make && make DESTDIR=$DESTDIR install
38 } 2>&1 | grep -v "rename 'pygimp/..html':"
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/cinepaint $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/share/cinepaint $fs/usr/share
49 cp -a $install/usr/share/pixmaps $fs/usr/share
50 cp -a $install/usr/share/applications $fs/usr/share
51 cp -a $install/usr/share/fonts $fs/usr/share
52 }