wok-next annotate 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).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 00:27:34 2018 +0200 (2018-03-16)
parents d394530f7404
children f48456621a9d
rev   line source
al@19989 1 # SliTaz package receipt v2.
al@16833 2
al@16833 3 PACKAGE="lxqt-about"
al@20318 4 VERSION="0.12.0"
al@17516 5 CATEGORY="system-tools"
al@19989 6 SHORT_DESC="Information about LXQt and the system it's running on"
al@16833 7 MAINTAINER="al.bobylev@gmail.com"
al@16833 8 LICENSE="LGPL2.1"
al@16833 9 WEB_SITE="https://github.com/lxde/lxqt-about"
al@19989 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-about.html"
al@16833 11
al@19989 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19989 13 WGET_URL="https://github.com/lxde/lxqt-about/releases/download/$VERSION/$TARBALL"
al@16833 14
al@20502 15 BUILD_DEPENDS="cmake liblxqt-dev mesa-dev kwindowsystem-dev lxqt-build-tools"
al@19989 16
al@19989 17 compile_rules() {
al@19989 18 # fix undefined variable
al@19989 19 sed -i "/#define TECHNICALINFO_H/a #define LXQT_VERSION \"$VERSION\"" \
al@19989 20 aboutdialog/technicalinfo.h
al@19989 21 # add translation
al@19989 22 echo "Comment[ru]=Подробности об LXQt" >> translations/lxqt-about_ru.desktop
al@19989 23
al@16833 24 mkdir build; cd build
al@19989 25 cmake \
al@19989 26 -DCMAKE_BUILD_TYPE=Release \
al@19989 27 -DCMAKE_INSTALL_PREFIX=/usr \
al@19989 28 -DPULL_TRANSLATIONS=no \
al@19989 29 .. &&
al@16833 30 make &&
al@19989 31 make install
al@16833 32 }
al@16833 33
al@19989 34 genpkg_rules() {
al@19989 35 copy @std
al@19989 36 DEPENDS="kwindowsystem liblxqt libqtxdg qt5-base qt5-svg qt5-x11extras"
al@19989 37 TAGS="LXQt"
al@16833 38 }