wok-next annotate 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
rev   line source
al@21020 1 # SliTaz package receipt v2.
al@16625 2
al@16625 3 PACKAGE="qpdfview"
psychomaniak@18209 4 VERSION="0.4.15"
al@16625 5 CATEGORY="office"
al@21020 6 SHORT_DESC="Tabbed document viewer"
al@16625 7 MAINTAINER="al.bobylev@gmail.com"
al@16625 8 LICENSE="GPL2"
al@16625 9 WEB_SITE="https://launchpad.net/qpdfview"
al@21020 10
al@16625 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@16625 12 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
al@16625 13
al@16625 14 BUILD_DEPENDS="qmake Qt4-dev libspectre-dev poppler-qt4-dev djvulibre-dev \
psychomaniak@18212 15 libmagic-dev cups-dev zlib-dev wget poppler-qt4 poppler-dev"
al@16625 16
al@21020 17 compile_rules() {
psychomaniak@18209 18 find $src -name *desktop* -exec sed '/Icon=/s/=.*$/=pdf/g' -i {} \;
psychomaniak@18209 19 #cp -f $stuff/qpdfview_ru.ts $src/translations
psychomaniak@18209 20 #sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \
al@21020 21 # $src/translations/qpdfview_ru.ts
al@16625 22
al@16625 23 lrelease qpdfview.pro
al@16625 24 qmake PREFIX=/usr qpdfview.pro
al@16625 25 make
al@16625 26 make INSTALL_ROOT=$install install
al@16625 27 }
al@16625 28
al@21020 29 genpkg_rules() {
al@16625 30 cp -a $install/* $fs
al@21020 31 DEPENDS="libcups djvulibre libQtDBus libQtSql libQtSvg libgnutls file \
al@21020 32 libspectre poppler-qt4"
al@21020 33 TAGS="viewer pdf ps postscript djvu"
al@16625 34 }