wok-next annotate lxqt-config/receipt @ rev 21687

updated glpi (0.80.7 -> 9.4.6)
author Hans-G?nter Theisgen
date Mon Jun 29 17:11:21 2020 +0100 (2020-06-29)
parents 5ffe59e2de3a
children
rev   line source
al@19989 1 # SliTaz package receipt v2.
al@16833 2
al@16833 3 PACKAGE="lxqt-config"
al@20318 4 VERSION="0.12.0"
al@16833 5 CATEGORY="system-tools"
al@19989 6 SHORT_DESC="Tools to configure LXQt and the underlying operating system"
al@16833 7 MAINTAINER="al.bobylev@gmail.com"
al@16833 8 LICENSE="LGPL2.1"
al@21032 9 WEB_SITE="https://github.com/lxqt/lxqt-config"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-config.html"
al@16833 11
al@19989 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19989 13 WGET_URL="https://github.com/lxde/lxqt-config/releases/download/$VERSION/$TARBALL"
al@16833 14
al@20502 15 BUILD_DEPENDS="cmake qt5-dev mesa-dev liblxqt-dev kwindowsystem-dev \
al@21078 16 lxqt-build-tools libkscreen-dev libxcursor-dev zlib-dev"
al@19989 17
al@19989 18 compile_rules() {
al@19989 19 # temporary workaround due to cmake-3.8
al@19989 20 new='../liblxqt-config-cursor/lxqt-config-cursor_autogen/include'
al@19989 21 sed -i "/CURRENT_BINARY_DIR/a \"\${CMAKE_CURRENT_BINARY_DIR}/$new\"" \
al@19989 22 lxqt-config-appearance/CMakeLists.txt \
al@19989 23 lxqt-config-input/CMakeLists.txt
al@19989 24 unset new
al@19989 25
al@16833 26 mkdir build; cd build
al@19989 27 cmake \
al@19989 28 -DCMAKE_BUILD_TYPE=Release \
al@19989 29 -DCMAKE_INSTALL_PREFIX=/usr \
al@19989 30 -DCMAKE_INSTALL_LIBDIR=lib \
al@19989 31 -DPULL_TRANSLATIONS=no \
al@19989 32 .. &&
al@16833 33 make &&
al@19989 34 make install
al@16833 35 }
al@16833 36
al@19989 37 genpkg_rules() {
al@19989 38 copy @std lxqt-config # usually /usr/bin/*-config is dev, but not this time
al@19989 39 DEPENDS="kwindowsystem libkscreen liblxqt libqtxdg qt5-base qt5-svg \
al@21078 40 qt5-x11extras libx11 libxcursor libxext libxfixes \
al@21078 41 libxcb zlib"
al@19989 42 TAGS="LXQt"
al@16833 43 }