wok-next view lxqt-notificationd/receipt @ rev 21041
Follow HTTP redirections for homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 13:21:03 2018 +0200 (2018-11-09) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-notificationd"
4 VERSION="0.12.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/lxqt/lxqt-notificationd"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-notificationd.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/lxqt-notificationd/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev mesa-dev kwindowsystem-dev liblxqt-dev \
16 lxqt-build-tools"
18 compile_rules() {
19 # fix undefined variable
20 sed -i "/#define NOTIFYD_H/a #define LXQT_VERSION \"$VERSION\"" \
21 src/notifyd.h
23 mkdir build; cd build
24 cmake \
25 -DCMAKE_BUILD_TYPE=Release \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 -DPULL_TRANSLATIONS=no \
28 .. &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 copy @std
35 DEPENDS="kwindowsystem liblxqt libqtxdg qt5-base qt5-svg qt5-x11extras"
36 TAGS="LXQt"
37 }