wok annotate qpdfview/receipt @ rev 24047

Up ipxe (1.21.1), rsync (3.2.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 10 19:33:04 2021 +0000 (2021-05-10)
parents 743c142c84ab
children 1bd2c6414e5a
rev   line source
al@16625 1 # SliTaz package receipt.
al@16625 2
al@16625 3 PACKAGE="qpdfview"
Hans-G?nter@21744 4 VERSION="0.4.16"
al@16625 5 CATEGORY="office"
Hans-G?nter@21744 6 TAGS="viewer pdf ps postscript djvu"
Hans-G?nter@21744 7 SHORT_DESC="A tabbed document viewer."
al@16625 8 MAINTAINER="al.bobylev@gmail.com"
al@16625 9 LICENSE="GPL2"
al@16625 10 WEB_SITE="https://launchpad.net/qpdfview"
Hans-G?nter@21744 11
al@16625 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21744 13 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
al@16625 14
Hans-G?nter@21744 15 DEPENDS="djvulibre file libcups libgnutls libQtDBus libQtSql libQtSvg \
Hans-G?nter@21744 16 libspectre poppler-qt4"
Hans-G?nter@21744 17 BUILD_DEPENDS="cups-dev djvulibre-dev libmagic-dev libspectre-dev \
Hans-G?nter@21744 18 poppler-dev poppler-qt4 poppler-qt4-dev qmake Qt4-dev wget zlib-dev"
al@16625 19
al@16625 20 # Rules to configure and make the package.
al@16625 21 compile_rules()
al@16625 22 {
psychomaniak@18209 23 find $src -name *desktop* -exec sed '/Icon=/s/=.*$/=pdf/g' -i {} \;
psychomaniak@18209 24 #cp -f $stuff/qpdfview_ru.ts $src/translations
psychomaniak@18209 25 #sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \
pascal@18006 26 $src/translations/qpdfview_ru.ts
al@16625 27
al@16625 28 lrelease qpdfview.pro
Hans-G?nter@21744 29 qmake PREFIX=/usr qpdfview.pro &&
Hans-G?nter@21744 30 make &&
al@16625 31 make INSTALL_ROOT=$install install
al@16625 32 }
al@16625 33
al@16625 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16625 35 genpkg_rules()
al@16625 36 {
al@16625 37 cp -a $install/* $fs
al@16625 38 }