wok-next view qpdfview/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 743c142c84ab
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qpdfview"
4 VERSION="0.4.15"
5 CATEGORY="office"
6 SHORT_DESC="Tabbed document viewer"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://launchpad.net/qpdfview"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="qmake Qt4-dev libspectre-dev poppler-qt4-dev djvulibre-dev \
15 libmagic-dev cups-dev zlib-dev wget poppler-qt4 poppler-dev"
17 compile_rules() {
18 find $src -name *desktop* -exec sed '/Icon=/s/=.*$/=pdf/g' -i {} \;
19 #cp -f $stuff/qpdfview_ru.ts $src/translations
20 #sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \
21 # $src/translations/qpdfview_ru.ts
23 lrelease qpdfview.pro
24 qmake PREFIX=/usr qpdfview.pro
25 make
26 make INSTALL_ROOT=$install install
27 }
29 genpkg_rules() {
30 cp -a $install/* $fs
31 DEPENDS="libcups djvulibre libQtDBus libQtSql libQtSvg libgnutls file \
32 libspectre poppler-qt4"
33 TAGS="viewer pdf ps postscript djvu"
34 }