wok-6.x annotate mtpaint/receipt @ rev 18845
mtpaint: add pcmanfm thumbnailer
(needs larger undoMBlimit option)
xterm: add libXaw3d options
(needs larger undoMBlimit option)
xterm: add libXaw3d options
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Jan 23 09:22:02 2016 +0100 (2016-01-23) |
parents | d8b76909ac00 |
children | 073f6f21af19 |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="mtpaint" |
al@17948 | 4 VERSION="3.44.91" |
al@17948 | 5 COMMIT="15ec7b65d09bff5372253f9568d06ea97487f9dc" |
pankso@207 | 6 CATEGORY="graphics" |
al@17948 | 7 SHORT_DESC="Painting program to create pixel art and manipulate digital photos" |
pankso@42 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
al@17948 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@42 | 11 WEB_SITE="http://mtpaint.sourceforge.net/" |
al@17948 | 12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@17948 | 13 WGET_URL="https://github.com/wjaguar/mtPaint/archive/$COMMIT.tar.gz" |
pankso@16334 | 14 #HOST_ARCH="i486 arm" |
pankso@42 | 15 |
pankso@12120 | 16 DEPENDS="gtk+ libpng lcms" |
al@17948 | 17 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev zlib-dev" |
pankso@12120 | 18 |
pankso@42 | 19 # Rules to configure and make the package. |
pankso@42 | 20 compile_rules() |
pankso@42 | 21 { |
al@17979 | 22 patch -p0 < $stuff/mtpaint.patch |
psychomaniak@18845 | 23 sed 's/mem_undo_limit,\t32/mem_undo_limit,\t64/' -i $src/src/mainwindow.c |
pankso@16334 | 24 case "$ARCH" in |
pankso@16334 | 25 i?86) |
pankso@16334 | 26 ./configure \ |
pankso@16334 | 27 --cpu=$ARCH \ |
pankso@16334 | 28 --prefix=/usr \ |
psychomaniak@18394 | 29 intl nogif nojp2 ;; |
pankso@16334 | 30 arm*) |
pankso@16334 | 31 # we need: arm-slitaz-linux-gnueabi-pkg-config |
pankso@16334 | 32 ./configure \ |
pankso@16334 | 33 --prefix=/usr \ |
pankso@16334 | 34 --host=${HOST_SYSTEM} \ |
pankso@16334 | 35 intl nogif |
al@17948 | 36 esac && make && |
al@17948 | 37 make DESTDIR=$install install |
pankso@42 | 38 } |
pankso@42 | 39 |
pankso@42 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 41 genpkg_rules() |
pankso@42 | 42 { |
psychomaniak@18845 | 43 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps $fs/etc/mtpaint $fs/usr/share/thumbnailers |
al@17948 | 44 cp -a $install/usr/bin $fs/usr |
al@17979 | 45 install -m755 -oroot -groot $stuff/mtpaint-doc $fs/usr/bin |
al@17948 | 46 cp $stuff/*.desktop $fs/usr/share/applications |
al@17979 | 47 cp $src/doc/mtpaint.png $fs/usr/share/pixmaps |
al@17979 | 48 cp $stuff/mtpaintrc $fs/etc/mtpaint |
psychomaniak@18845 | 49 cp $stuff/mtpaint.thumbnailer $fs/usr/share/thumbnailers |
pankso@42 | 50 } |