wok view lxqt-notificationd/receipt @ rev 24067

linld: add cpu detection
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 15:05:16 2021 +0000 (2021-07-05)
parents c0ce132ba4ee
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-notificationd"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="The LXQt notification daemon"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-notificationd"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtDBus libQtGui libqtxdg liblxqt"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake libqtxdg-dev liblxqt-dev \
16 xorg-libX11-dev grep libQtMimeTypes-dev sdft"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir build; cd build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
29 make &&
30 make DESTDIR=$install install
32 sdft $install/usr/share/applications/lxqt-config-notificationd.desktop \
33 -i -r "Name[ru_RU]" \
34 -s "Name[ru]=Настройка уведомлений LXQt"
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }