wok-next annotate liblxqt/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | c0521c689857 |
children | d5aab818505e |
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@16833 | 9 WEB_SITE="https://github.com/lxde/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@20502 | 15 BUILD_DEPENDS="lxqt-build-tools xorg-libX11-dev mesa-dev libqtxdg-dev \ |
al@19989 | 16 kwindowsystem-dev xorg-libXScrnSaver-dev" |
al@19989 | 17 SPLIT="liblxqt-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@19989 | 38 xorg-libX11 xorg-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 } |