1 # Build recipe for xfce4-notifyd.
3 # Copyright (C) 2018-2019 Matias Fonzo, <selk@dragora.org>.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
21 # Set 'outdir' for a nice and well-organized output directory
22 outdir="${outdir}/${arch}/xfce"
24 tarname=${program}-${version}.tar.bz2
27 fetch="http://archive.xfce.org/src/apps/xfce4-notifyd/${version%.*}/$tarname"
30 Xfce4 notification daemon.
32 The Xfce Notify Daemon (or "xfce4-notifyd") is a small program that
33 implements the "server-side" portion of the Freedesktop desktop
34 notifications specification. Applications that wish to pop up a
35 notification bubble in a standard way can implicitly make use of
36 xfce4-notifyd to do so by sending standard messages over D-Bus using
37 the org.freedesktop.Notifications interface.
39 Apart from the notification server a panel plugin is included which
40 shows recent notifications in a dropdown menu in the Xfce Panel.
43 homepage=http://xfce.org
46 # Source documentation
47 docs="AUTHORS COPYING ChangeLog NEWS README TODO"
48 docsdir="${docdir}/${program}-${version}"
54 unpack "${tardir}/$tarname"
58 # Set sane permissions
59 chmod -R u+w,go-w,a+rX-s .
61 ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \
63 --libdir=/usr/lib${libSuffix} \
68 --enable-dbus-start-daemon \
70 --build="$(cc -dumpmachine)"
73 make -j${jobs} DESTDIR="$destdir" install-strip
75 # WTF?.. No option to disable systemd .service
76 rm -rf "${destdir}/usr/lib/systemd"
77 rmdir "${destdir}/usr/lib" || true
79 lzip -9 "${destdir}/${mandir}"/man?/*.?
82 mkdir -p "${destdir}${docsdir}"
83 cp -p $docs "${destdir}${docsdir}"/