wok-current rev 23817

updated inkscape
author Hans-G?nter Theisgen
date Wed May 27 07:59:47 2020 +0100 (2020-05-27)
parents 17abf532f3a7
children 5339fa6ba7fe
files inkscape/receipt
line diff
     1.1 --- a/inkscape/receipt	Tue May 26 14:50:14 2020 +0100
     1.2 +++ b/inkscape/receipt	Wed May 27 07:59:47 2020 +0100
     1.3 @@ -1,23 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="inkscape"
     1.7 -VERSION="0.91"
     1.8 +VERSION="0.92.5"
     1.9  CATEGORY="graphics"
    1.10  TAGS="image vector editor svg"
    1.11  SHORT_DESC="Vector-based drawing program."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://www.inkscape.org"
    1.15 +WEB_SITE="https://www.inkscape.org"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -WGET_URL="$WEB_SITE/en/gallery/item/3860/$TARBALL"
    1.20 +WGET_URL="https://media.inkscape.org/dl/resources/file/$TARBALL"
    1.21  
    1.22 -DEPENDS="aspell gc gcc-lib-base glibmm gsl gtk+ gtkmm gtkspell lcms 
    1.23 -	libgiomm libgomp libpng libsigc++ libxml2 libxslt poppler popt 
    1.24 -	xorg-libXdamage"
    1.25 -BUILD_DEPENDS="atkmm-dev autoconf automake cairomm-dev gc-dev glibmm-dev 
    1.26 -	gtk+-dev gtkmm-dev gsl-dev gtkspell-dev intltool lcms-dev 
    1.27 +DEPENDS="aspell gc gcc-lib-base gettext glibmm gsl gtk+ gtkmm gtkspell 
    1.28 +	lcms2 libgiomm libgomp libpng libsigc++ libxml2 libxslt poppler 
    1.29 +	popt xorg-libXdamage"
    1.30 +BUILD_DEPENDS="atkmm-dev cairomm-dev cmake gc-dev gettext glibmm-dev 
    1.31 +	gtk+-dev gtkmm-dev gsl-dev gtkspell-dev intltool lcms2-dev 
    1.32  	libboost-dev libgiomm-dev libsigc++-dev libtool libxml2-dev 
    1.33  	libxslt-dev pkg-config poppler-dev popt-dev xorg-libXau-dev 
    1.34  	xorg-libXdmcp-dev zlib-dev"
    1.35 @@ -25,20 +24,26 @@
    1.36  # Rules to configure and make the package.
    1.37  compile_rules()
    1.38  {
    1.39 -	for patchfile in $(cat $stuff/patches/series); do
    1.40 -		patch -p1 -i $stuff/patches/$patchfile
    1.41 -	done
    1.42 +#	for patchfile in $(cat $stuff/patches/series); do
    1.43 +#		patch -p1 -i $stuff/patches/$patchfile
    1.44 +#	done
    1.45  
    1.46  	# hack to define '_' and 'Q_' functions
    1.47 -	for file in $(find $src/src -type f); do
    1.48 +	for file in $(find $src/src -type f)
    1.49 +	  do
    1.50  		sed -i 's|glibmm/i18n.h|glib/gi18n.h|g' $file
    1.51 -	done
    1.52 +	  done
    1.53  
    1.54 -	find . -name Makefile.in | xargs sed -i 's|@AUTOMAKE@|automake|'
    1.55 -	./configure \
    1.56 -		--prefix=/usr \
    1.57 -		--mandir=/usr/share/man \
    1.58 -		$CONFIGURE_ARGS &&
    1.59 +#	find . -name Makefile.in | xargs sed -i 's|@AUTOMAKE@|automake|'
    1.60 +#	./configure \
    1.61 +#		--prefix=/usr \
    1.62 +#		--mandir=/usr/share/man \
    1.63 +#		$CONFIGURE_ARGS &&
    1.64 +	mkdir	_build
    1.65 +	cd	_build
    1.66 +	cmake	..				\
    1.67 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.68 +		-DCMAKE_BUILD_TYPE=Release &&
    1.69  	make $MAKEFLAGS &&
    1.70  	make DESTDIR=$DESTDIR install
    1.71  }
    1.72 @@ -47,21 +52,21 @@
    1.73  genpkg_rules()
    1.74  {
    1.75  	mkdir -p $fs/usr/share
    1.76 -	cp -a $install/usr/bin $fs/usr
    1.77 +	cp -a $install/usr/bin			$fs/usr
    1.78  
    1.79  	# Copy all Inkscape files and remove tutorials (19,2 Mb) + misc files
    1.80 -	cp -a $install/usr/share/inkscape $fs/usr/share
    1.81 -	rm -rf $fs/usr/share/inkscape/clipart
    1.82 -	rm -rf $fs/usr/share/inkscape/tutorials
    1.83 -	rm -rf $fs/usr/share/inkscape/examples
    1.84 +	cp -a $install/usr/share/inkscape	$fs/usr/share
    1.85 +	rm -rf					$fs/usr/share/inkscape/clipart
    1.86 +	rm -rf					$fs/usr/share/inkscape/tutorials
    1.87 +	rm -rf					$fs/usr/share/inkscape/examples
    1.88  
    1.89  	# Desktop file
    1.90 -	cp -a $install/usr/share/applications $fs/usr/share
    1.91 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.92  	DESKTOP=$fs/usr/share/applications/inkscape.desktop
    1.93 -	sed -i '/^Name/d; s|X-GNOME-Full||g' $DESKTOP
    1.94 +	sed -i '/^Name/d; s|X-GNOME-Full||g'	$DESKTOP
    1.95  	sdft $DESKTOP -g -tf -te -i
    1.96  
    1.97  	# Icons
    1.98 -	cp -a $install/usr/share/icons $fs/usr/share
    1.99 -	rm -rf $fs/usr/share/icons/hicolor/256x256
   1.100 +	cp -a $install/usr/share/icons		$fs/usr/share
   1.101 +	rm -rf					$fs/usr/share/icons/hicolor/256x256
   1.102  }