blob: a75c52272db4a61740dbbff67ac8fcd5de60499e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/orage/orage-4.5.14.0.ebuild,v 1.3 2009/02/04 18:45:02 angelos Exp $
inherit autotools eutils gnome2-utils
DESCRIPTION="Calendar suite for Xfce4"
HOMEPAGE="http://www.kolumbus.fi/~w408237/orage"
SRC_URI="http://www.kolumbus.fi/~w408237/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
# This package is waiting for alpha/beta/rc of Xfce 4.6, so please
# don't mark it stable.
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="dbus debug libnotify"
RDEPEND=">=dev-libs/glib-2.6
>=x11-libs/gtk+-2.6
>=xfce-base/libxfce4util-4.4
>=xfce-base/libxfcegui4-4.4
>=xfce-base/xfce4-panel-4.4
dbus? ( dev-libs/dbus-glib )
libnotify? ( x11-libs/libnotify )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/intltool
dev-util/xfce4-dev-tools
sys-devel/gettext"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-bsd.patch
# remove -I m4, there's no m4 dir
sed -i -e "/^ACLOCAL_AMFLAGS/d" Makefile.am
AT_M4DIR="/usr/share/xfce4/dev-tools/m4macros" eautoreconf
}
src_compile() {
econf $(use_enable dbus) \
$(use_enable debug) \
$(use_enable libnotify)
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README
}
pkg_postinst() {
gnome2_icon_cache_update
elog "There is no migration support from 4.4 to 4.5 so you need to copy Orage files by hand."
}
pkg_postrm() {
gnome2_icon_cache_update
}
|