wok view qpdfview/receipt @ rev 22772
updated fping (3.4 -> 4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 25 15:58:26 2020 +0100 (2020-01-25) |
parents | 743c142c84ab |
children | 1bd2c6414e5a |
line source
1 # SliTaz package receipt.
3 PACKAGE="qpdfview"
4 VERSION="0.4.16"
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 wget zlib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 find $src -name *desktop* -exec sed '/Icon=/s/=.*$/=pdf/g' -i {} \;
24 #cp -f $stuff/qpdfview_ru.ts $src/translations
25 #sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \
26 $src/translations/qpdfview_ru.ts
28 lrelease qpdfview.pro
29 qmake PREFIX=/usr qpdfview.pro &&
30 make &&
31 make INSTALL_ROOT=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }