wok-next annotate liblxqt/receipt @ rev 21441
rogue: reverted to 5.4.4
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 16:11:30 2020 +0100 (2020-05-05) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@19989 | 1 # SliTaz package receipt v2. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="liblxqt" |
al@20318 | 4 VERSION="0.12.0" |
al@16833 | 5 CATEGORY="system-tools" |
al@16833 | 6 SHORT_DESC="Core utility library for all LXDE-Qt components" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
al@21020 | 9 WEB_SITE="https://github.com/lxqt/liblxqt" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/liblxqt.html" |
al@16833 | 11 |
al@19989 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19989 | 13 WGET_URL="https://github.com/lxde/liblxqt/releases/download/$VERSION/$TARBALL" |
al@16833 | 14 |
al@21078 | 15 BUILD_DEPENDS="lxqt-build-tools libx11-dev mesa-dev libqtxdg-dev \ |
al@21078 | 16 kwindowsystem-dev libxscrnsaver-dev" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
al@19989 | 18 |
al@19989 | 19 compile_rules() { |
al@16833 | 20 mkdir build; cd build |
al@19989 | 21 cmake \ |
al@19989 | 22 -DCMAKE_BUILD_TYPE=Release \ |
al@19989 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19989 | 24 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@19989 | 25 -DPULL_TRANSLATIONS=no \ |
al@19989 | 26 \ |
al@19989 | 27 -DLXQT_VERSION=$VERSION -DLXQT_MAJOR_VERSION=${VERSION%%.*} \ |
al@19989 | 28 .. && |
al@16833 | 29 make && |
al@19989 | 30 make install |
al@16833 | 31 } |
al@16833 | 32 |
al@19989 | 33 genpkg_rules() { |
al@19989 | 34 case $PACKAGE in |
al@19989 | 35 liblxqt) |
al@19989 | 36 copy @std |
al@19989 | 37 DEPENDS="kwindowsystem libqtxdg qt5-base qt5-svg qt5-x11extras \ |
al@21078 | 38 libx11 libxscrnsaver" |
al@19989 | 39 ;; |
al@19989 | 40 *-dev) |
al@19989 | 41 copy @dev |
al@19989 | 42 DEPENDS="liblxqt libqtxdg-dev qt5-dev" |
al@19989 | 43 ;; |
al@19989 | 44 esac |
al@19989 | 45 TAGS="LXQt" |
al@16833 | 46 } |