wok-6.x annotate kfilemetadata/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (2022-08-21) |
parents | 7dc646816bdc |
children | 73f36875e5a7 |
rev | line source |
---|---|
psychomaniak@20136 | 1 # SliTaz package receipt. |
psychomaniak@20136 | 2 |
psychomaniak@20136 | 3 PACKAGE="kfilemetadata" |
psychomaniak@20136 | 4 VERSION="4.14.3" |
psychomaniak@20136 | 5 CATEGORY="x-window" |
psychomaniak@20136 | 6 SHORT_DESC="Kfilemetadata is a framework for searching and managing metadata." |
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/" |
pascal@24972 | 11 WGET_URL="https://download.kde.org/stable/$VERSION/src/$TARBALL" |
psychomaniak@20136 | 12 |
psychomaniak@20136 | 13 DEPENDS="kdelibs giflib phonon exiv2 attica poppler-qt4" |
psychomaniak@20136 | 14 |
psychomaniak@20136 | 15 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev libxslt-dev taglib taglib-dev \ |
psychomaniak@20136 | 16 jpeg libpng giflib giflib-dev libpng-dev jpeg-dev poppler poppler-dev \ |
psychomaniak@20136 | 17 poppler-qt4 poppler-qt4-dev poppler-qt4-apps ffmpeg ffmpeg-dev qimageblitz \ |
psychomaniak@20136 | 18 shared-mime-info-dev phonon phonon-dev docbook-xml docbook-xsl dbus-dev \ |
psychomaniak@20136 | 19 polkit-qt-dev libdbusmenu-qt-dev alsa-lib-dev exiv2-dev attica-dev \ |
pascal@24541 | 20 libQtDeclarative kdelibs kdelibs-dev libav" |
psychomaniak@20136 | 21 |
pascal@24540 | 22 # What is the latest version available today? |
pascal@24540 | 23 current_version() |
pascal@24540 | 24 { |
pascal@24540 | 25 wget -O - https://github.com/KDE/kfilemetadata/tags 2>/dev/null | \ |
pascal@24540 | 26 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24540 | 27 } |
pascal@24540 | 28 |
psychomaniak@20136 | 29 # Rules to configure and make the package. |
psychomaniak@20136 | 30 compile_rules() |
psychomaniak@20136 | 31 { |
psychomaniak@20136 | 32 mkdir -p build && cd build |
psychomaniak@20136 | 33 cmake -DCMAKE_BUILD_TYPE=Release \ |
psychomaniak@20136 | 34 -DCMAKE_INSTALL_PREFIX=/usr \ |
psychomaniak@20136 | 35 -Wno-dev .. && |
psychomaniak@20136 | 36 make && make install |
psychomaniak@20136 | 37 } |
psychomaniak@20136 | 38 |
psychomaniak@20136 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20136 | 40 genpkg_rules() |
psychomaniak@20136 | 41 { |
psychomaniak@20136 | 42 cp -a $install/* $fs |
psychomaniak@20136 | 43 } |