/[gentoo-x86]/app-office/orage/orage-4.8.3.ebuild
Gentoo

Diff of /app-office/orage/orage-4.8.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-office/orage/Attic/orage-4.8.3.ebuild,v 1.5 2012/02/13 21:34:57 maekke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-office/orage/Attic/orage-4.8.3.ebuild,v 1.6 2012/04/21 11:24:38 ssuominen Exp $
4 4
5EAPI=4 5EAPI=4
6inherit xfconf 6inherit multilib xfconf
7 7
8DESCRIPTION="A time managing application (and panel plug-in) for the Xfce desktop environment" 8DESCRIPTION="A time managing application (and panel plug-in) for the Xfce desktop environment"
9HOMEPAGE="http://www.xfce.org/projects/orage/" 9HOMEPAGE="http://www.xfce.org/projects/"
10SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2" 10SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
11 11
12LICENSE="GPL-2" 12LICENSE="GPL-2"
13SLOT="0" 13SLOT="0"
14KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" 14KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
16 16
17RDEPEND=">=dev-libs/libical-0.48 17RDEPEND=">=dev-libs/libical-0.48
18 dev-libs/popt 18 dev-libs/popt
19 >=x11-libs/gtk+-2.10:2 19 >=x11-libs/gtk+-2.10:2
20 berkdb? ( >=sys-libs/db-4 ) 20 berkdb? ( >=sys-libs/db-4 )
21 dbus? ( >=dev-libs/dbus-glib-0.90 ) 21 dbus? ( >=dev-libs/dbus-glib-0.98 )
22 libnotify? ( >=x11-libs/libnotify-0.7 ) 22 libnotify? ( >=x11-libs/libnotify-0.7 )
23 xfce_plugins_clock? ( >=xfce-base/xfce4-panel-4.8 )" 23 xfce_plugins_clock? ( >=xfce-base/xfce4-panel-4.8 )"
24DEPEND="${RDEPEND} 24DEPEND="${RDEPEND}
25 dev-util/intltool
25 dev-util/pkgconfig 26 dev-util/pkgconfig"
26 dev-util/intltool"
27 27
28pkg_setup() { 28pkg_setup() {
29 XFCONF=( 29 XFCONF=(
30 --libexecdir="${EPREFIX}"/usr/$(get_libdir)
30 --docdir="${EPREFIX}"/usr/share/doc/${PF}/html 31 --docdir="${EPREFIX}"/usr/share/doc/${PF}/html
31 $(use_enable xfce_plugins_clock libxfce4panel) 32 $(use_enable xfce_plugins_clock libxfce4panel)
32 $(use_enable dbus) 33 $(use_enable dbus)
33 $(use_enable libnotify) 34 $(use_enable libnotify)
34 $(use_with berkdb bdb4) 35 $(use_with berkdb bdb4)
35 $(xfconf_use_debug) 36 $(xfconf_use_debug)
36 ) 37 )
37 38
38 DOCS=( AUTHORS ChangeLog NEWS README TODO ) 39 DOCS=( AUTHORS ChangeLog NEWS README TODO )
40
41 # PM doesn't let directory to be replaced by a symlink, see src_install()
42 rm -rf "${EROOT}"/usr/share/${PN}/doc
39} 43}
44
45src_install() {
46 xfconf_src_install \
47 docdir=/usr/share/doc/${PF}/html \
48 imagesdir=/usr/share/doc/${PF}/html/images
49
50 # Create compability symlink for retarded path hardcoding in src/{mainbox,parameters}.c
51 dosym /usr/share/doc/${PF}/html /usr/share/${PN}/doc/C
52}

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20