wok view qpdfview/receipt @ rev 18919
brotli: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 24 16:56:01 2016 +0100 (2016-02-24) |
parents | 471f802b4973 |
children | e03f4dac67ec |
line source
1 # SliTaz package receipt.
3 PACKAGE="qpdfview"
4 VERSION="0.4.15"
5 CATEGORY="office"
6 SHORT_DESC="qpdfview is a tabbed document viewer"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://launchpad.net/qpdfview"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
12 TAGS="viewer pdf ps postscript djvu"
14 DEPENDS="libcups djvulibre libQtDBus libQtSql libQtSvg libgnutls file \
15 libspectre poppler-qt4"
16 BUILD_DEPENDS="qmake Qt4-dev libspectre-dev poppler-qt4-dev djvulibre-dev \
17 libmagic-dev cups-dev zlib-dev wget poppler-qt4 poppler-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 find $src -name *desktop* -exec sed '/Icon=/s/=.*$/=pdf/g' -i {} \;
23 #cp -f $stuff/qpdfview_ru.ts $src/translations
24 #sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \
25 $src/translations/qpdfview_ru.ts
27 lrelease qpdfview.pro
28 qmake PREFIX=/usr qpdfview.pro
29 make
30 make INSTALL_ROOT=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }