wok-current diff gqview/receipt @ rev 21746

updated qrencode and qrencode-dev again (3.1.1 -> 4.0.2)
author Hans-G?nter Theisgen
date Fri Jun 14 16:14:44 2019 +0100 (2019-06-14)
parents 17e313b5b9c1
children 932cd974e081
line diff
     1.1 --- a/gqview/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/gqview/receipt	Fri Jun 14 16:14:44 2019 +0100
     1.3 @@ -1,13 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gqview"
     1.7 -VERSION="2.0.4"
     1.8 +VERSION="2.1.5"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="Images viewer and manager using GTK+."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://gqview.sourceforge.io/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://gqview.sourceforge.net/"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19  DEPENDS="gtk+ xorg-libXdamage"
    1.20 @@ -16,11 +17,13 @@
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
    1.26 -	./configure --prefix=/usr --mandir=/usr/share/man \
    1.27 -	$CONFIGURE_ARGS &&
    1.28 -	make &&
    1.29 +
    1.30 +	./configure			\
    1.31 +		--prefix=/usr		\
    1.32 +		--mandir=/usr/share/man	\
    1.33 +		$CONFIGURE_ARGS &&
    1.34 +	make -j 1 &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38 @@ -28,7 +31,18 @@
    1.39  genpkg_rules()
    1.40  {
    1.41  	mkdir -p $fs/usr/share/locale
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.44 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    1.45 +	cp -a $install/usr/bin			$fs/usr
    1.46 +	cp -a $install/usr/share/pixmaps	$fs/usr/share
    1.47 +
    1.48 +	# locales
    1.49 +	LOCALE="ca da de es fr id it pl pt_BR ru sv uk zh_CN"
    1.50 +	for locale in $LOCALE
    1.51 +		do
    1.52 +		if [ -e $install/usr/share/locale/$locale/gqview.mo ]
    1.53 +			then
    1.54 +			mkdir -p $fs/usr/share/locale/$locale/LC_MESSAGES
    1.55 +			cp -a	$install/usr/share/locale/$locale/gqview.mo \
    1.56 +				$fs/usr/share/locale/$locale/LC_MESSAGES
    1.57 +			fi
    1.58 +		done
    1.59  }