wok-6.x annotate okular/receipt @ rev 22909
task: added build dependency libunistring-dev
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 24 07:33:52 2020 +0100 (2020-02-24) |
parents | 9634bfe73272 |
children | 7c0170dd3ecc |
rev | line source |
---|---|
psychomaniak@20136 | 1 # SliTaz package receipt. |
psychomaniak@20136 | 2 |
psychomaniak@20136 | 3 PACKAGE="okular" |
psychomaniak@20136 | 4 VERSION="4.14.3" |
psychomaniak@20136 | 5 CATEGORY="x-window" |
psychomaniak@20136 | 6 SHORT_DESC="Okular is a document viewer for KDE" |
psychomaniak@20136 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@20136 | 8 LICENSE="GPL2" |
psychomaniak@20136 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@20136 | 10 WEB_SITE="http://www.kde.org/" |
psychomaniak@20136 | 11 WGET_URL="http://download.kde.org/stable/$VERSION/src/$TARBALL" |
psychomaniak@20136 | 12 |
psychomaniak@20136 | 13 DEPENDS="kdelibs phonon exiv2 poppler-qt4 chmlib taglib giflib tiff djvulibre \ |
psychomaniak@20140 | 14 poppler-qt4-apps poppler qimageblitz dbus polkit-qt attica libdbusmenu-qt \ |
psychomaniak@20140 | 15 util-linux-uuid libpng jpeg qtconfig oxygen-icons kactivities" |
psychomaniak@20136 | 16 |
psychomaniak@20136 | 17 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev libxslt-dev taglib-dev giflib-dev \ |
psychomaniak@20136 | 18 libpng-dev jpeg-dev tiff-dev freetype-dev djvulibre-dev chmlib-dev poppler \ |
psychomaniak@20136 | 19 poppler-dev poppler-qt4 poppler-qt4-dev poppler-qt4-apps qimageblitz \ |
psychomaniak@20136 | 20 shared-mime-info-dev phonon phonon-dev docbook-xml docbook-xsl dbus-dev \ |
psychomaniak@20136 | 21 polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative alsa-lib-dev exiv2-dev \ |
psychomaniak@20136 | 22 attica-dev libboost libboost-dev kdelibs kdelibs-dev kactivities kfilemetadata" |
psychomaniak@20136 | 23 |
psychomaniak@20136 | 24 # Rules to configure and make the package. |
psychomaniak@20136 | 25 compile_rules() |
psychomaniak@20136 | 26 { |
psychomaniak@20136 | 27 mkdir -p build && cd build |
psychomaniak@20136 | 28 cmake -DCMAKE_BUILD_TYPE=Release \ |
psychomaniak@20136 | 29 -DCMAKE_INSTALL_PREFIX=/usr \ |
psychomaniak@20136 | 30 -Wno-dev .. && |
psychomaniak@20136 | 31 make -j1 && make install |
psychomaniak@20136 | 32 } |
psychomaniak@20136 | 33 |
psychomaniak@20136 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20136 | 35 genpkg_rules() |
psychomaniak@20136 | 36 { |
psychomaniak@20136 | 37 cp -a $install/* $fs |
psychomaniak@20136 | 38 } |