wok-next annotate mtpaint/receipt @ rev 21268
updated frogatto (1.3.1 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 17:30:20 2019 +0100 (2019-12-06) |
parents | 82b613cfd1e0 |
children |
rev | line source |
---|---|
al@20526 | 1 # SliTaz package receipt v2. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="mtpaint" |
al@20526 | 4 VERSION="3.49.13" |
al@20526 | 5 COMMIT="3884b6d" |
pankso@207 | 6 CATEGORY="graphics" |
al@17948 | 7 SHORT_DESC="Painting program to create pixel art and manipulate digital photos" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
al@20526 | 10 WEB_SITE="http://mtpaint.sourceforge.net/" |
al@20526 | 11 |
al@17948 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@17948 | 13 WGET_URL="https://github.com/wjaguar/mtPaint/archive/$COMMIT.tar.gz" |
pankso@42 | 14 |
al@21078 | 15 BUILD_DEPENDS="gtk2-dev libpng-dev lcms-dev zlib-dev gettext-dev \ |
al@20890 | 16 libjpeg-turbo-dev tiff-dev" |
pankso@12120 | 17 |
al@20526 | 18 compile_rules() { |
psychomaniak@18845 | 19 sed 's/mem_undo_limit,\t32/mem_undo_limit,\t64/' -i $src/src/mainwindow.c |
al@20526 | 20 |
pankso@16334 | 21 case "$ARCH" in |
al@20526 | 22 i?86) ARCH_ARGS="--cpu=$ARCH intl nogif nojp2";; |
al@20526 | 23 x86_64) ARCH_ARGS="intl nogif nojp2";; |
al@20526 | 24 esac |
al@20526 | 25 |
al@20526 | 26 ./configure \ |
al@20526 | 27 --prefix=/usr \ |
al@20526 | 28 $ARCH_ARGS && |
al@20526 | 29 make && |
al@20526 | 30 make DESTDIR=$install install || return 1 |
al@20526 | 31 |
al@20526 | 32 mkdir -p $install/usr/share/applications/ |
al@20526 | 33 install -Dm644 $stuff/*.desktop $install/usr/share/applications/ |
al@20526 | 34 install -Dm755 $stuff/mtpaint-doc $install/usr/bin/mtpaint-doc |
al@20526 | 35 install -Dm644 $src/doc/mtpaint.png $install/usr/share/pixmaps/mtpaint.png |
al@20526 | 36 install -Dm644 $stuff/mtpaintrc $install/etc/mtpaint/mtpaintrc |
pankso@42 | 37 } |
pankso@42 | 38 |
al@20526 | 39 genpkg_rules() { |
al@20526 | 40 copy @std |
al@21143 | 41 DEPENDS="atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 liblcms \ |
al@21080 | 42 libjpeg-turbo libpng pango libtiff libx11 zlib" |
pankso@42 | 43 } |