wok-next view lxqt-about/receipt @ rev 20976
Follow recent changes in the Python renames
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 25 17:35:51 2018 +0300 (2018-09-25) |
parents | d394530f7404 |
children | f48456621a9d |
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/lxde/lxqt-about"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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 }