wok-next view lxqt-config/receipt @ rev 20357

id3lib: v2 & patch; libtool: empty $DEPENDS don't work for the moment; lxqt-panel: add pulseaudio support, separate lxqt-panel-sensors (it needs lm-sensors, bash and many more); add serf for recognizing http protocol in SVN; subversion: up with serf; slim: remake using sets.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 21 12:56:18 2017 +0200 (2017-11-21)
parents e6d548803bb4
children c0521c689857
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-config"
4 VERSION="0.12.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Tools to configure LXQt and the underlying operating system"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-config"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-config.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/lxqt-config/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev mesa17-dev liblxqt-dev kwindowsystem-dev \
16 lxqt-build-tools libkscreen-dev xorg-libXcursor-dev"
18 compile_rules() {
19 # temporary workaround due to cmake-3.8
20 new='../liblxqt-config-cursor/lxqt-config-cursor_autogen/include'
21 sed -i "/CURRENT_BINARY_DIR/a \"\${CMAKE_CURRENT_BINARY_DIR}/$new\"" \
22 lxqt-config-appearance/CMakeLists.txt \
23 lxqt-config-input/CMakeLists.txt
24 unset new
26 mkdir build; cd build
27 cmake \
28 -DCMAKE_BUILD_TYPE=Release \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 -DCMAKE_INSTALL_LIBDIR=lib \
31 -DPULL_TRANSLATIONS=no \
32 .. &&
33 make &&
34 make install
35 }
37 genpkg_rules() {
38 copy @std lxqt-config # usually /usr/bin/*-config is dev, but not this time
39 DEPENDS="kwindowsystem libkscreen liblxqt libqtxdg qt5-base qt5-svg \
40 qt5-x11extras xorg-libX11 xorg-libXcursor xorg-libXext xorg-libXfixes \
41 xorg-libxcb zlib"
42 TAGS="LXQt"
43 }