wok-next view lxqt-about/receipt @ rev 20502
Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 00:27:34 2018 +0200 (2018-03-16) |
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 }