wok-next annotate lxqt-notificationd/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
rev   line source
al@19989 1 # SliTaz package receipt v2.
al@16833 2
al@16833 3 PACKAGE="lxqt-notificationd"
al@20318 4 VERSION="0.12.0"
al@17516 5 CATEGORY="system-tools"
al@16833 6 SHORT_DESC="The LXQt notification daemon"
al@16833 7 MAINTAINER="al.bobylev@gmail.com"
al@16833 8 LICENSE="LGPL2.1"
al@21041 9 WEB_SITE="https://github.com/lxqt/lxqt-notificationd"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-notificationd.html"
al@16833 11
al@19989 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19989 13 WGET_URL="https://github.com/lxde/lxqt-notificationd/releases/download/$VERSION/$TARBALL"
al@16833 14
al@20502 15 BUILD_DEPENDS="cmake qt5-dev mesa-dev kwindowsystem-dev liblxqt-dev \
al@19989 16 lxqt-build-tools"
al@19989 17
al@19989 18 compile_rules() {
al@19989 19 # fix undefined variable
al@19989 20 sed -i "/#define NOTIFYD_H/a #define LXQT_VERSION \"$VERSION\"" \
al@19989 21 src/notifyd.h
al@19989 22
al@16833 23 mkdir build; cd build
al@19989 24 cmake \
al@19989 25 -DCMAKE_BUILD_TYPE=Release \
al@19989 26 -DCMAKE_INSTALL_PREFIX=/usr \
al@19989 27 -DPULL_TRANSLATIONS=no \
al@19989 28 .. &&
al@16833 29 make &&
al@19989 30 make install
al@16833 31 }
al@16833 32
al@19989 33 genpkg_rules() {
al@19989 34 copy @std
al@19989 35 DEPENDS="kwindowsystem liblxqt libqtxdg qt5-base qt5-svg qt5-x11extras"
al@19989 36 TAGS="LXQt"
al@16833 37 }