wok-current annotate kdelibs/receipt @ rev 25683
Remove compat dep for libssl/libcrypto, need rework
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Mar 13 08:23:59 2024 +0000 (7 months ago) |
parents | bd7510903310 |
children |
rev | line source |
---|---|
psychomaniak@20136 | 1 # SliTaz package receipt. |
psychomaniak@20136 | 2 |
psychomaniak@20136 | 3 PACKAGE="kdelibs" |
psychomaniak@20136 | 4 VERSION="4.14.3" |
psychomaniak@20136 | 5 CATEGORY="x-window" |
psychomaniak@20136 | 6 SHORT_DESC="The KDE library." |
psychomaniak@20136 | 7 MAINTAINER="pankso@slitaz.org" |
psychomaniak@20136 | 8 LICENSE="GPL2" |
pascal@25540 | 9 WEB_SITE="https://kde.org/" |
Hans-G?nter@22982 | 10 |
psychomaniak@20136 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@24972 | 12 WGET_URL="https://download.kde.org/Attic/$VERSION/src/$TARBALL" |
psychomaniak@20136 | 13 |
psychomaniak@20136 | 14 DEPENDS="phonon libQtCore libQtGui libQtScript giflib libxslt qca \ |
Hans-G?nter@22982 | 15 strigi attica dbus polkit-qt openssl udev libdbusmenu-qt enchant mesa librsvg \ |
Hans-G?nter@22982 | 16 soprano shared-mime-info" |
Hans-G?nter@22982 | 17 BUILD_DEPENDS="attica-dev automoc4 cmake dbus-dev docbook-xml docbook-xsl |
Hans-G?nter@22982 | 18 enchant-dev giflib-dev libdbusmenu-qt-dev libQtDeclarative |
Hans-G?nter@22982 | 19 librsvg-dev libxslt-dev mesa-dev openssl-dev phonon-dev polkit-qt-dev |
Hans-G?nter@22982 | 20 qca-dev qmake Qt4-dev shared-mime-info-dev soprano-dev strigi-dev |
Hans-G?nter@22982 | 21 udev-dev udisks2-dev udisks2" |
psychomaniak@20136 | 22 |
pascal@24545 | 23 # What is the latest version available today? |
pascal@24545 | 24 current_version() |
pascal@24545 | 25 { |
pascal@24545 | 26 wget -O - https://github.com/KDE/kdelibs/tags 2>/dev/null | \ |
pascal@24545 | 27 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24545 | 28 } |
pascal@24545 | 29 |
psychomaniak@20136 | 30 # Rules to configure and make the package. |
psychomaniak@20136 | 31 compile_rules() |
psychomaniak@20136 | 32 { |
pascal@23838 | 33 sed -i '316,317d' kdeui/CMakeLists.txt # duplicate else |
Hans-G?nter@22982 | 34 |
Hans-G?nter@22982 | 35 mkdir build && |
Hans-G?nter@22983 | 36 cd build && |
Hans-G?nter@22982 | 37 cmake .. \ |
Hans-G?nter@22982 | 38 -DCMAKE_BUILD_TYPE=Release \ |
Hans-G?nter@22982 | 39 -DKDE_DISTRIBUTION_TEXT='SliTaz GNU/Linux' \ |
Hans-G?nter@22982 | 40 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@22982 | 41 -DSYSCONF_INSTALL_DIR=/etc/kde \ |
Hans-G?nter@22982 | 42 -DKDE_DEFAULT_HOME=.config/kde \ |
Hans-G?nter@22982 | 43 -DCMAKE_SKIP_RPATH=ON \ |
Hans-G?nter@22982 | 44 -DKAUTH_BACKEND=PolkitQt-1 \ |
Hans-G?nter@22982 | 45 -DWITH_SOLID_UDISKS2=TRUE && |
Hans-G?nter@22983 | 46 make -j 1 && |
Hans-G?nter@22982 | 47 make install |
psychomaniak@20136 | 48 } |
psychomaniak@20136 | 49 |
psychomaniak@20136 | 50 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20136 | 51 genpkg_rules() |
psychomaniak@20136 | 52 { |
psychomaniak@20136 | 53 mkdir -p $fs/usr/share |
Hans-G?nter@22982 | 54 |
Hans-G?nter@22982 | 55 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22982 | 56 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22982 | 57 strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null |
psychomaniak@20136 | 58 for d in apps config dbus-1 icons kde4 locale mime |
Hans-G?nter@22982 | 59 do |
Hans-G?nter@22982 | 60 cp -a $install/usr/share/$d $fs/usr/share |
Hans-G?nter@22982 | 61 done |
psychomaniak@20136 | 62 } |