wok-next view lxqt-about/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 4c3ee4d2d357 |
children | d394530f7404 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-about"
4 VERSION="0.11.1"
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 mesa17-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 }