wok-next view lxqt-config/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 5ffe59e2de3a |
children |
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/lxqt/lxqt-config"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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 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 libx11 libxcursor libxext libxfixes \
41 libxcb zlib"
42 TAGS="LXQt"
43 }