wok-6.x view gqview/receipt @ rev 21817
updated mlt (6.14.0 -> 6.16.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 19 17:12:45 2019 +0100 (2019-08-19) |
parents | 17e313b5b9c1 |
children | 932cd974e081 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gqview"
4 VERSION="2.1.5"
5 CATEGORY="graphics"
6 SHORT_DESC="Images viewer and manager using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gqview.sourceforge.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/locale
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/pixmaps $fs/usr/share
37 # locales
38 LOCALE="ca da de es fr id it pl pt_BR ru sv uk zh_CN"
39 for locale in $LOCALE
40 do
41 if [ -e $install/usr/share/locale/$locale/gqview.mo ]
42 then
43 mkdir -p $fs/usr/share/locale/$locale/LC_MESSAGES
44 cp -a $install/usr/share/locale/$locale/gqview.mo \
45 $fs/usr/share/locale/$locale/LC_MESSAGES
46 fi
47 done
48 }