wok-next view solid/receipt @ rev 20502
Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 00:27:34 2018 +0200 (2018-03-16) |
parents | e6d548803bb4 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="solid"
4 VERSION="5.37.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Solid is a device integration framework"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/KDE/solid"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-solid.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa-dev eudev-dev"
16 SPLIT="solid-dev"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DBUILD_TESTING=OFF \
24 -Wno-dev \
25 .. &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 solid)
33 copy @std
34 DEPENDS="eudev qt5-base qt5-declarative udisks2 upower"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }