wok-next view lxqt-about/receipt @ rev 21683
updated glances (1.5.1 -> 3.1.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 15:35:41 2020 +0100 (2020-06-29) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-about"
4 VERSION="0.12.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Information about LXQt and the system it's running on"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxqt/lxqt-about"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-about.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/lxqt-about/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cmake liblxqt-dev mesa-dev kwindowsystem-dev lxqt-build-tools"
17 compile_rules() {
18 # fix undefined variable
19 sed -i "/#define TECHNICALINFO_H/a #define LXQT_VERSION \"$VERSION\"" \
20 aboutdialog/technicalinfo.h
21 # add translation
22 echo "Comment[ru]=Подробности об LXQt" >> translations/lxqt-about_ru.desktop
24 mkdir build; cd build
25 cmake \
26 -DCMAKE_BUILD_TYPE=Release \
27 -DCMAKE_INSTALL_PREFIX=/usr \
28 -DPULL_TRANSLATIONS=no \
29 .. &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="kwindowsystem liblxqt libqtxdg qt5-base qt5-svg qt5-x11extras"
37 TAGS="LXQt"
38 }