wok-next view liblxqt/receipt @ rev 19989

Up LXQt (WIP, to be continued...)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 20 06:08:44 2017 +0300 (2017-10-20)
parents c2ca753f2eae
children e6d548803bb4
line source
1 # SliTaz package receipt v2.
3 PACKAGE="liblxqt"
4 VERSION="0.11.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Core utility library for all LXDE-Qt components"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/liblxqt"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/liblxqt.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/liblxqt/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="lxqt-build-tools xorg-libX11-dev mesa17-dev libqtxdg-dev \
16 kwindowsystem-dev xorg-libXScrnSaver-dev"
17 SPLIT="liblxqt-dev"
19 compile_rules() {
20 mkdir build; cd build
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_INSTALL_LIBDIR=lib \
25 -DPULL_TRANSLATIONS=no \
26 \
27 -DLXQT_VERSION=$VERSION -DLXQT_MAJOR_VERSION=${VERSION%%.*} \
28 .. &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 liblxqt)
36 copy @std
37 DEPENDS="kwindowsystem libqtxdg qt5-base qt5-svg qt5-x11extras \
38 xorg-libX11 xorg-libXScrnSaver"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="liblxqt libqtxdg-dev qt5-dev"
43 ;;
44 esac
45 TAGS="LXQt"
46 }
48 # liblxqt.so:
49 # libQt5X11Extras.so.5
50 # libQt5Xdg.so.2
51 # libQt5DBus.so.5
52 # libQt5Xml.so.5
53 # libQt5XdgIconLoader.so.2
54 # libQt5Svg.so.5
55 # libQt5Widgets.so.5
56 # libQt5Gui.so.5
57 # libQt5Core.so.5