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

lzip: up (1.20); rpm4 -> rpm: up (4.14.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 28 01:53:42 2018 +0300 (2018-06-28)
parents c0521c689857
children f48456621a9d
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 mesa-dev liblxqt-dev kwindowsystem-dev \
16 lxqt-build-tools libkscreen-dev xorg-libXcursor-dev zlib-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 }