/[gentoo-x86]/xfce-extra/exo/exo-0.3.102-r1.ebuild
Gentoo

Contents of /xfce-extra/exo/exo-0.3.102-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 23 17:58:49 2009 UTC (10 years, 1 month ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Moved exo to xfce-base.

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/xfce-extra/exo/exo-0.3.102-r1.ebuild,v 1.1 2009/08/21 18:15:38 darkside Exp $
4
5 EAPI="2"
6
7 inherit xfconf python multilib
8
9 DESCRIPTION="Extensions, widgets and framework library with session management support"
10 # Can't find a better homepage
11 HOMEPAGE="http://www.xfce.org"
12 SRC_URI="http://archive.xfce.org/src/xfce/exo/0.3/${P}.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
17 IUSE="debug doc hal libnotify python"
18
19 RDEPEND=">=dev-lang/perl-5.6
20 dev-perl/URI
21 >=dev-libs/glib-2.6:2
22 >=x11-libs/gtk+-2.6:2
23 >=xfce-base/libxfce4util-4.6.1
24 libnotify? ( x11-libs/libnotify )
25 hal? ( sys-apps/hal )
26 python? ( dev-python/pygtk )"
27 DEPEND="${RDEPEND}
28 dev-util/intltool
29 doc? ( dev-util/gtk-doc )"
30
31 pkg_setup() {
32 XFCONF=" $(use_enable doc gtk-doc) $(use_enable hal)
33 $(use_enable libnotify notifications) $(use_enable python)"
34 DOCS="AUTHORS ChangeLog HACKING NEWS README THANKS TODO"
35 PATCHES=("${FILESDIR}/exo-0.3.101-iocharset.patch"
36 "${FILESDIR}/exo-0.3.4-eject.patch")
37 }
38
39 src_prepare() {
40 xfconf_src_prepare
41 cd "${S}"
42 rm py-compile
43 touch py-compile
44 chmod +x py-compile
45 }
46
47 pkg_postinst() {
48 xfce4_pkg_postinst
49 python_mod_optimize "$(python_get_sitedir)"
50 }
51
52 pkg_postrm() {
53 xfce4_pkg_postrm
54 python_mod_cleanup "$(python_get_sitedir)"
55 }

  ViewVC Help
Powered by ViewVC 1.1.20