wok rev 24930

updated mtpaint (3.49.25 -> 3.50)
author Hans-G?nter Theisgen
date Wed Apr 13 16:37:38 2022 +0100 (2022-04-13)
parents 93cf4f2340c6
children 9a5de86d3449
files mtpaint-lang/receipt mtpaint/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mtpaint-lang/receipt	Wed Apr 13 16:37:38 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mtpaint-lang"
     1.7 +VERSION="3.50"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Painting program to create pixel art and manipulate digital photos - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://sourceforge.net/projects/mtpaint/"
    1.13 +
    1.14 +WANTED="mtpaint"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- a/mtpaint/receipt	Wed Apr 13 15:59:41 2022 +0100
     2.2 +++ b/mtpaint/receipt	Wed Apr 13 16:37:38 2022 +0100
     2.3 @@ -1,19 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="mtpaint"
     2.7 -VERSION="3.49.25"
     2.8 -COMMIT="03b1b0938067b88d86d9f1b1088730f1934d411e"
     2.9 +VERSION="3.50"
    2.10  CATEGORY="graphics"
    2.11  SHORT_DESC="Painting program to create pixel art and manipulate digital photos."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="GPL3"
    2.14 -WEB_SITE="http://mtpaint.sourceforge.net/"
    2.15 +WEB_SITE="https://sourceforge.net/projects/mtpaint/"
    2.16  
    2.17 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 -#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.19 -WGET_URL="https://github.com/wjaguar/mtPaint/archive/$COMMIT.tar.gz"
    2.20 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.21 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.22  
    2.23 -DEPENDS="gtk+ libpng lcms2"
    2.24 +SUGGESTED="mtpaint-lang"
    2.25 +DEPENDS="gtk+ lcms2 libpng"
    2.26  BUILD_DEPENDS="cairo-dev gtk+-dev lcms2-dev libpng-dev zlib-dev"
    2.27  
    2.28  #HOST_ARCH="i486 arm"
    2.29 @@ -32,35 +31,37 @@
    2.30  		$src/src/mainwindow.c
    2.31  
    2.32  	case "$ARCH" in
    2.33 -		i?86)
    2.34 +		(i?86)
    2.35  			export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpng12"
    2.36  			./configure		\
    2.37  				--cpu=$ARCH	\
    2.38  				--prefix=/usr	\
    2.39 -				intl nogif nojp2 ;;
    2.40 -		arm*)
    2.41 +				intl nogif nojp2
    2.42 +			;;
    2.43 +		(arm*)
    2.44  			# we need: arm-slitaz-linux-gnueabi-pkg-config
    2.45  			./configure \
    2.46  				--prefix=/usr \
    2.47  				--host=${HOST_SYSTEM} \
    2.48  				intl nogif
    2.49 +			;;
    2.50  	esac &&
    2.51  	make &&
    2.52 -	make DESTDIR=$install install
    2.53 +	make install DESTDIR=$install
    2.54  }
    2.55  
    2.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.57  genpkg_rules()
    2.58  {
    2.59 +	mkdir -p $fs/etc/mtpaint
    2.60  	mkdir -p $fs/usr/share/applications
    2.61  	mkdir -p $fs/usr/share/pixmaps
    2.62 -	mkdir -p $fs/etc/mtpaint
    2.63  	mkdir -p $fs/usr/share/thumbnailers
    2.64  
    2.65  	cp -a $install/usr/bin				$fs/usr
    2.66  	install -m755 -oroot -groot $stuff/mtpaint-doc	$fs/usr/bin
    2.67 +	cp $stuff/mtpaintrc				$fs/etc/mtpaint
    2.68  	cp $stuff/*.desktop				$fs/usr/share/applications
    2.69  	cp $src/doc/mtpaint.png				$fs/usr/share/pixmaps
    2.70 -	cp $stuff/mtpaintrc				$fs/etc/mtpaint
    2.71  	cp $stuff/mtpaint.thumbnailer			$fs/usr/share/thumbnailers
    2.72  }