diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-07-15 16:29:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-07-15 16:29:09 +0200 |
commit | 0a1351121b2df0a9947654ca4f23f99c4eb39dc3 (patch) | |
tree | 66b13cd290f1dd759238cd28d066cbd114cfbc7c /app-office/orage/orage-4.12.1-r2.ebuild | |
parent | eclass: remove dead netsurf eclass. (diff) | |
download | gentoo-0a1351121b2df0a9947654ca4f23f99c4eb39dc3.tar.gz gentoo-0a1351121b2df0a9947654ca4f23f99c4eb39dc3.tar.bz2 gentoo-0a1351121b2df0a9947654ca4f23f99c4eb39dc3.zip |
app-office/orage: panel plugin requires gtk+2 panel
Reported by ulm.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-office/orage/orage-4.12.1-r2.ebuild')
-rw-r--r-- | app-office/orage/orage-4.12.1-r2.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/app-office/orage/orage-4.12.1-r2.ebuild b/app-office/orage/orage-4.12.1-r2.ebuild new file mode 100644 index 000000000000..266c7de0db42 --- /dev/null +++ b/app-office/orage/orage-4.12.1-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils + +DESCRIPTION="A time managing application (and panel plug-in) for the Xfce desktop environment" +HOMEPAGE="https://git.xfce.org/apps/orage/" +SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="berkdb +clock-panel-plugin dbus libnotify" + +RDEPEND=">=dev-libs/libical-0.48:= + dev-libs/popt:= + >=x11-libs/gtk+-2.10:2= + berkdb? ( >=sys-libs/db-4:= ) + clock-panel-plugin? ( <xfce-base/xfce4-panel-4.15:=[gtk2(+)] ) + dbus? ( >=dev-libs/dbus-glib-0.100:= ) + libnotify? ( >=x11-libs/libnotify-0.7:= )" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + >=sys-devel/libtool-2.2.6 + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/0001-fix-build-with-libical-version-3.patch +) + +src_configure() { + local myconf=( + --libexecdir="${EPREFIX}/usr/$(get_libdir)" + --docdir="${EPREFIX}"/usr/share/doc/${PF}/html + $(use_enable clock-panel-plugin libxfce4panel) + $(use_enable dbus) + $(use_enable libnotify) + $(use_with berkdb bdb4) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_preinst() { + # Replacing directory by symlink is unreliable + if [[ -L ${EROOT}/usr/share/orage/doc/C ]]; then + rm -f "${EROOT}/usr/share/orage/doc/C" || die + fi +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |