From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 98504139695 for ; Sun, 9 Jul 2017 21:41:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADA9A21416A; Sun, 9 Jul 2017 21:41:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 880D921416A for ; Sun, 9 Jul 2017 21:41:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E7B4341B9D for ; Sun, 9 Jul 2017 21:41:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D8AB748F for ; Sun, 9 Jul 2017 21:41:33 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1499636477.2bf8c71b6b0de9617e55526a2dddd9b4ed7fb76f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/orage/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/orage/orage-4.12.1-r1.ebuild X-VCS-Directories: app-office/orage/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2bf8c71b6b0de9617e55526a2dddd9b4ed7fb76f X-VCS-Branch: master Date: Sun, 9 Jul 2017 21:41:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: adc8084b-c8fc-4ba2-a022-6418090bc38d X-Archives-Hash: 9908f6dc81fc02e1d1388e79b20000ce commit: 2bf8c71b6b0de9617e55526a2dddd9b4ed7fb76f Author: Michał Górny gentoo org> AuthorDate: Sat Jul 1 07:30:13 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 9 21:41:17 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bf8c71b app-office/orage: Bump to EAPI=6 app-office/orage/orage-4.12.1-r1.ebuild | 67 +++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/app-office/orage/orage-4.12.1-r1.ebuild b/app-office/orage/orage-4.12.1-r1.ebuild new file mode 100644 index 00000000000..85e10a53d98 --- /dev/null +++ b/app-office/orage/orage-4.12.1-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="berkdb dbus libnotify +xfce_plugins_clock" + +RDEPEND=">=dev-libs/libical-0.48:= + dev-libs/popt:= + >=x11-libs/gtk+-2.10:2= + berkdb? ( >=sys-libs/db-4:= ) + dbus? ( >=dev-libs/dbus-glib-0.100:= ) + libnotify? ( >=x11-libs/libnotify-0.7:= ) + xfce_plugins_clock? ( >=xfce-base/xfce4-panel-4.10:= )" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + >=sys-devel/libtool-2.2.6 + virtual/pkgconfig" + +pkg_setup() { + # PM doesn't let directory to be replaced by a symlink, see src_install() + rm -rf "${EROOT}"/usr/share/${PN}/doc || die +} + +src_configure() { + local myconf=( + --libexecdir="${EPREFIX}/usr/$(get_libdir)" + --docdir="${EPREFIX}"/usr/share/doc/${PF}/html + $(use_enable xfce_plugins_clock libxfce4panel) + $(use_enable dbus) + $(use_enable libnotify) + $(use_with berkdb bdb4) + ) + + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" install \ + docdir="${EPREFIX}"/usr/share/doc/${PF}/html \ + imagesdir="${EPREFIX}"/usr/share/doc/${PF}/html/images + + # Create compability symlink for retarded path hardcoding in src/{mainbox,parameters}.c + dosym /usr/share/doc/${PF}/html /usr/share/${PN}/doc/C + + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +}