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

Fix some homepages: follow HTTP redirections.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 17:26:00 2018 +0200 (2018-11-03)
parents f48456621a9d
children 5669e8b3be70
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 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 }