wok-current view kfilemetadata/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | 7dc646816bdc |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="kfilemetadata"
4 VERSION="4.14.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Kfilemetadata is a framework for searching and managing metadata."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.kde.org/"
11 WGET_URL="https://download.kde.org/stable/$VERSION/src/$TARBALL"
13 DEPENDS="kdelibs giflib phonon exiv2 attica poppler-qt4"
15 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev libxslt-dev taglib taglib-dev \
16 jpeg libpng giflib giflib-dev libpng-dev jpeg-dev poppler poppler-dev \
17 poppler-qt4 poppler-qt4-dev poppler-qt4-apps ffmpeg ffmpeg-dev qimageblitz \
18 shared-mime-info-dev phonon phonon-dev docbook-xml docbook-xsl dbus-dev \
19 polkit-qt-dev libdbusmenu-qt-dev alsa-lib-dev exiv2-dev attica-dev \
20 libQtDeclarative kdelibs kdelibs-dev libav"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://github.com/KDE/kfilemetadata/tags 2>/dev/null | \
26 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 mkdir -p build && cd build
33 cmake -DCMAKE_BUILD_TYPE=Release \
34 -DCMAKE_INSTALL_PREFIX=/usr \
35 -Wno-dev .. &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }