wok-next view lxqt-config/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
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 }