# HG changeset patch # User Hans-G?nter Theisgen # Date 1552047498 -3600 # Node ID 33b800b4871e85a691eab049d990f8c9926c7270 # Parent 456d349acad9bf773b367150befe675de6b5e1bc updated gqview (2.0.4 -> 2.1.5) diff -r 456d349acad9 -r 33b800b4871e gqview/receipt --- a/gqview/receipt Thu Mar 07 22:51:39 2019 -0500 +++ b/gqview/receipt Fri Mar 08 13:18:18 2019 +0100 @@ -1,13 +1,14 @@ # SliTaz package receipt. PACKAGE="gqview" -VERSION="2.0.4" +VERSION="2.1.5" CATEGORY="graphics" SHORT_DESC="Images viewer and manager using GTK+." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://gqview.sourceforge.io/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://gqview.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="gtk+ xorg-libXdamage" @@ -16,11 +17,13 @@ # Rules to configure and make the package. compile_rules() { - cd $src export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" - ./configure --prefix=/usr --mandir=/usr/share/man \ - $CONFIGURE_ARGS && - make && + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make -j 1 && make DESTDIR=$DESTDIR install } @@ -28,7 +31,18 @@ genpkg_rules() { mkdir -p $fs/usr/share/locale - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/pixmaps $fs/usr/share - cp -a $install/usr/share/locale/fr $fs/usr/share/locale + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/pixmaps $fs/usr/share + + # locales + LOCALE="ca da de es fr id it pl pt_BR ru sv uk zh_CN" + for locale in $LOCALE + do + if [ -e $install/usr/share/locale/$locale/gqview.mo ] + then + mkdir -p $fs/usr/share/locale/$locale/LC_MESSAGES + cp -a $install/usr/share/locale/$locale/gqview.mo \ + $fs/usr/share/locale/$locale/LC_MESSAGES + fi + done }