wok-4.x view cinepaint/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | 9022c9580faa |
children |
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 \
13 gutenprint zlib mesa jbigkit openexr"
14 BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \
15 xorg-xextproto util-linux-ng-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
16 ilmbase-dev "
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -Np1 -i $stuff/cinepaint-0.22.1-gcc43.patch
23 patch -Np1 -i $stuff/cinepaint-0.22-gcc44.patch
24 patch -Np1 -i $stuff/cinepaint-0.22.1-multiple_parameters_named.patch
25 patch -Np0 -i $stuff/cinepaint-0.22.1-ambiguousawake.patch
26 find plug-ins/print -type f -exec \
27 sed -i "s:gutenprintui/gutenprintui:gutenprintui2/gutenprintui:" {} \;
28 grep -rl Fl/Fl * | xargs sed -i 's|Fl/Fl|FL/Fl|'
29 # Fix insecure rpath
30 sed '/-rpath/d' -i plug-ins/icc_examin/icc_examin/configure
31 ./configure \
32 --prefix=/usr \
33 --enable-gtk2 \
34 --disable-print \
35 $CONFIGURE_ARGS &&
36 make && make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share $fs/usr/lib
43 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/lib/cinepaint $fs/usr/lib
45 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
46 cp -a $_pkg/usr/share/cinepaint $fs/usr/share
47 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
48 cp -a $_pkg/usr/share/applications $fs/usr/share
49 cp -a $_pkg/usr/share/fonts $fs/usr/share
50 }