wok annotate okular/receipt @ rev 25705
fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 22 12:48:49 2024 +0000 (4 months ago) |
parents | bd7510903310 |
children |
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" |
pascal@25540 | 10 WEB_SITE="https://kde.org/" |
pascal@24972 | 11 WGET_URL="https://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 |
pascal@24535 | 24 # What is the latest version available today? |
pascal@24535 | 25 current_version() |
pascal@24535 | 26 { |
pascal@24535 | 27 wget -O - https://okular.kde.org/ 2>/dev/null | \ |
pascal@24535 | 28 sed 's|>|>\n|g' | sed '/been released/!d;s|The ||;s| .*||;q' |
pascal@24535 | 29 } |
pascal@24535 | 30 |
psychomaniak@20136 | 31 # Rules to configure and make the package. |
psychomaniak@20136 | 32 compile_rules() |
psychomaniak@20136 | 33 { |
psychomaniak@20136 | 34 mkdir -p build && cd build |
psychomaniak@20136 | 35 cmake -DCMAKE_BUILD_TYPE=Release \ |
psychomaniak@20136 | 36 -DCMAKE_INSTALL_PREFIX=/usr \ |
psychomaniak@20136 | 37 -Wno-dev .. && |
psychomaniak@20136 | 38 make -j1 && make install |
psychomaniak@20136 | 39 } |
psychomaniak@20136 | 40 |
psychomaniak@20136 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20136 | 42 genpkg_rules() |
psychomaniak@20136 | 43 { |
psychomaniak@20136 | 44 cp -a $install/* $fs |
psychomaniak@20136 | 45 } |