wok-current annotate kdelibs/receipt @ rev 22865
updated gnustep packages
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 21 14:29:40 2020 +0100 (2020-02-21) |
parents | 9634bfe73272 |
children | 904d944562cd |
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" |
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="phonon libQtCore libQtGui libQtScript giflib libxslt qca \ |
psychomaniak@20136 | 14 strigi attica dbus polkit-qt openssl udev libdbusmenu-qt enchant mesa librsvg \ |
psychomaniak@20136 | 15 soprano shared-mime-info" |
psychomaniak@20136 | 16 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev giflib-dev libxslt-dev strigi-dev \ |
psychomaniak@20136 | 17 attica-dev docbook-xml docbook-xsl dbus-dev polkit-qt-dev openssl-dev udev-dev \ |
psychomaniak@20136 | 18 libdbusmenu-qt-dev enchant-dev mesa-dev librsvg-dev qca-dev soprano-dev \ |
psychomaniak@20136 | 19 shared-mime-info-dev phonon phonon-dev udisks2-dev udisks2 libQtDeclarative" |
psychomaniak@20136 | 20 |
psychomaniak@20136 | 21 # Rules to configure and make the package. |
psychomaniak@20136 | 22 compile_rules() |
psychomaniak@20136 | 23 { |
pascal@22365 | 24 sed -i '316,317d' kdeui/CMakeLists.txt # duplicate else |
psychomaniak@20136 | 25 mkdir -p build && cd build |
psychomaniak@20136 | 26 cmake -DCMAKE_BUILD_TYPE=Release \ |
psychomaniak@20136 | 27 -DKDE_DISTRIBUTION_TEXT='SliTaz GNU/Linux' \ |
psychomaniak@20136 | 28 -DCMAKE_INSTALL_PREFIX=/usr \ |
psychomaniak@20136 | 29 -DSYSCONF_INSTALL_DIR=/etc/kde \ |
psychomaniak@20136 | 30 -DKDE_DEFAULT_HOME=.config/kde \ |
psychomaniak@20136 | 31 -DCMAKE_SKIP_RPATH=ON \ |
psychomaniak@20136 | 32 -DKAUTH_BACKEND=PolkitQt-1 \ |
psychomaniak@20136 | 33 -DWITH_SOLID_UDISKS2=TRUE \ |
psychomaniak@20136 | 34 .. && |
psychomaniak@20136 | 35 make && make install |
psychomaniak@20136 | 36 } |
psychomaniak@20136 | 37 |
psychomaniak@20136 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20136 | 39 genpkg_rules() |
psychomaniak@20136 | 40 { |
psychomaniak@20136 | 41 mkdir -p $fs/usr/share |
psychomaniak@20136 | 42 cp -a $install/usr/bin $fs/usr |
psychomaniak@20136 | 43 cp -a $install/usr/lib $fs/usr |
psychomaniak@20136 | 44 strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null |
psychomaniak@20136 | 45 for d in apps config dbus-1 icons kde4 locale mime |
psychomaniak@20136 | 46 do |
psychomaniak@20136 | 47 cp -a $install/usr/share/$d $fs/usr/share |
psychomaniak@20136 | 48 done |
psychomaniak@20136 | 49 } |