wok-next annotate solid/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents f48456621a9d
children
rev   line source
al@19989 1 # SliTaz package receipt v2.
al@19989 2
al@19989 3 PACKAGE="solid"
al@19989 4 VERSION="5.37.0"
al@19989 5 CATEGORY="system-tools"
al@21020 6 SHORT_DESC="Device integration framework"
al@19989 7 MAINTAINER="al.bobylev@gmail.com"
al@19989 8 LICENSE="LGPL2.1"
al@19989 9 WEB_SITE="https://github.com/KDE/solid"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-solid.html"
al@19989 11
al@19989 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19989 13 WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL"
al@19989 14
al@20502 15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa-dev eudev-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
al@19989 17
al@19989 18 compile_rules() {
al@21020 19 mkdir build
al@21020 20 cd build
al@19989 21 cmake \
al@19989 22 -DCMAKE_BUILD_TYPE=Release \
al@19989 23 -DCMAKE_INSTALL_PREFIX=/usr \
al@19989 24 -DBUILD_TESTING=OFF \
al@19989 25 -Wno-dev \
al@19989 26 .. &&
al@19989 27 make &&
al@19989 28 make install
al@19989 29 }
al@19989 30
al@19989 31 genpkg_rules() {
al@19989 32 case $PACKAGE in
al@19989 33 solid)
al@19989 34 copy @std
al@19989 35 DEPENDS="eudev qt5-base qt5-declarative udisks2 upower"
al@19989 36 ;;
al@19989 37 *-dev)
al@19989 38 copy @dev
al@19989 39 ;;
al@19989 40 esac
al@19989 41 }