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