wok-stable view cinepaint/receipt @ rev 11481

libgtop: add glib to depends; add intltool to build_depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Dec 18 03:01:59 2011 +0100 (2011-12-18)
parents cbfb348cb173
children 9022c9580faa
line source
1 # SliTaz package receipt.
3 PACKAGE="cinepaint"
4 VERSION="0.22-1"
5 CATEGORY="graphics"
6 SHORT_DESC="For painting and retouching bitmap frames of films."
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.cinepaint.org"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm zlib mesa jbigkit openexr"
13 BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \
14 xorg-xextproto util-linux-ng-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
15 ilmbase-dev "
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -Np1 -i $stuff/cinepaint-0.22.1-gcc43.patch
22 patch -Np1 -i $stuff/cinepaint-0.22-gcc44.patch
23 patch -Np1 -i $stuff/cinepaint-0.22.1-multiple_parameters_named.patch
24 patch -Np0 -i $stuff/cinepaint-0.22.1-ambiguousawake.patch
25 find plug-ins/print -type f -exec \
26 sed -i "s:gutenprintui/gutenprintui:gutenprintui2/gutenprintui:" {} \;
27 # Fix insecure rpath
28 sed '/-rpath/d' -i plug-ins/icc_examin/icc_examin/configure
29 ./configure \
30 --prefix=/usr \
31 --enable-gtk2 \
32 --disable-print \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share $fs/usr/lib
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib/cinepaint $fs/usr/lib
43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
44 cp -a $_pkg/usr/share/cinepaint $fs/usr/share
45 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
46 cp -a $_pkg/usr/share/applications $fs/usr/share
47 cp -a $_pkg/usr/share/fonts $fs/usr/share
48 }