wok view qpdfview/receipt @ rev 25396
updated vidalia (0.2.21 -> 0.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Aug 02 10:16:02 2022 +0100 (2022-08-02) |
parents | 1bd2c6414e5a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qpdfview"
4 VERSION="0.4.18"
5 CATEGORY="office"
6 TAGS="viewer pdf ps postscript djvu"
7 SHORT_DESC="A tabbed document viewer."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://launchpad.net/qpdfview"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
15 DEPENDS="djvulibre file libcups libgnutls libQtDBus libQtSql libQtSvg
16 libspectre poppler-qt4"
17 BUILD_DEPENDS="cups-dev djvulibre-dev libmagic-dev libspectre-dev
18 poppler-dev poppler-qt4 poppler-qt4-dev qmake Qt4-dev zlib-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/Latest version is/!d;s|.*is ||'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 find $src -name *desktop* -exec sed '/Icon=/s/=.*$/=pdf/g' -i {} \;
31 #cp -f $stuff/qpdfview_ru.ts $src/translations
32 sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \
33 $src/translations/qpdfview_ru.ts
35 lrelease qpdfview.pro
36 qmake PREFIX=/usr qpdfview.pro &&
37 make &&
38 make install INSTALL_ROOT=$install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 }