wok-next annotate kguiaddons/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@20502 15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
al@20019 17
al@20019 18 compile_rules() {
al@21020 19 mkdir build
al@21020 20 cd build
al@20019 21 cmake \
al@20019 22 -DCMAKE_BUILD_TYPE=Release \
al@20019 23 -DCMAKE_INSTALL_PREFIX=/usr \
al@20019 24 -DBUILD_TESTING=OFF \
al@20019 25 -Wno-dev \
al@20019 26 .. &&
al@20019 27 make &&
al@20019 28 make install
al@20019 29 }
al@20019 30
al@20019 31 genpkg_rules() {
al@20019 32 case $PACKAGE in
al@20019 33 kguiaddons)
al@20019 34 copy @std
al@20019 35 DEPENDS="qt5-base qt5-x11extras xorg-libX11 xorg-libXext \
al@20019 36 xorg-libxcb"
al@20019 37 ;;
al@20019 38 *-dev)
al@20019 39 copy @dev
al@20019 40 ;;
al@20019 41 esac
al@20019 42 }