1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A time managing application (and panel plug-in) for the Xfce desktop environment"
9 HOMEPAGE="https://git.xfce.org/apps/orage/"
10 SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
14 KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
15 IUSE="berkdb +clock-panel-plugin dbus libnotify"
17 RDEPEND=">=dev-libs/libical-0.48:=
19 >=x11-libs/gtk+-2.10:2=
20 berkdb? ( >=sys-libs/db-4:= )
21 clock-panel-plugin? ( >=xfce-base/xfce4-panel-4.10:= )
22 dbus? ( >=dev-libs/dbus-glib-0.100:= )
23 libnotify? ( >=x11-libs/libnotify-0.7:= )"
27 >=sys-devel/libtool-2.2.6
31 "${FILESDIR}"/0001-fix-build-with-libical-version-3.patch
36 --libexecdir="${EPREFIX}/usr/$(get_libdir)"
37 --docdir="${EPREFIX}"/usr/share/doc/${PF}/html
38 $(use_enable clock-panel-plugin libxfce4panel)
40 $(use_enable libnotify)
41 $(use_with berkdb bdb4)
49 find "${D}" -name '*.la' -delete || die
53 # Replacing directory by symlink is unreliable
54 if [[ -L ${EROOT}/usr/share/orage/doc/C ]]; then
55 rm -f "${EROOT}/usr/share/orage/doc/C" || die
60 gnome2_icon_cache_update
61 xdg_desktop_database_update
65 gnome2_icon_cache_update
66 xdg_desktop_database_update