blob: a8b5927cb30e60ab0160a578f1dc61eeacd16869 (
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
|
# 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.2 2009/01/23 16:30:11 angelos Exp $
inherit 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
sys-devel/gettext"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-bsd.patch
}
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
}
|