wok-next annotate kguiaddons/receipt @ rev 20259
xsave: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 18:34:13 2017 +0100 (2017-11-07) |
parents | |
children | c0521c689857 |
rev | line source |
---|---|
al@20019 | 1 # SliTaz package receipt v2. |
al@20019 | 2 |
al@20019 | 3 PACKAGE="kguiaddons" |
al@20019 | 4 VERSION="5.37.0" |
al@20019 | 5 CATEGORY="system-tools" |
al@20019 | 6 SHORT_DESC="KGuiAddons - utilities for graphical user interfaces" |
al@20019 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20019 | 8 LICENSE="LGPL2.1" |
al@20019 | 9 WEB_SITE="https://github.com/KDE/kguiaddons" |
al@20019 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-kguiaddons.html" |
al@20019 | 11 |
al@20019 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20019 | 13 WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL" |
al@20019 | 14 |
al@20019 | 15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa17-dev" |
al@20019 | 16 SPLIT="kguiaddons-dev" |
al@20019 | 17 |
al@20019 | 18 compile_rules() { |
al@20019 | 19 mkdir build; cd build |
al@20019 | 20 cmake \ |
al@20019 | 21 -DCMAKE_BUILD_TYPE=Release \ |
al@20019 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20019 | 23 -DBUILD_TESTING=OFF \ |
al@20019 | 24 -Wno-dev \ |
al@20019 | 25 .. && |
al@20019 | 26 make && |
al@20019 | 27 make install |
al@20019 | 28 } |
al@20019 | 29 |
al@20019 | 30 genpkg_rules() { |
al@20019 | 31 case $PACKAGE in |
al@20019 | 32 kguiaddons) |
al@20019 | 33 copy @std |
al@20019 | 34 DEPENDS="qt5-base qt5-x11extras xorg-libX11 xorg-libXext \ |
al@20019 | 35 xorg-libxcb" |
al@20019 | 36 ;; |
al@20019 | 37 *-dev) |
al@20019 | 38 copy @dev |
al@20019 | 39 ;; |
al@20019 | 40 esac |
al@20019 | 41 } |