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

Contents of /xfce-extra/exo/exo-0.3.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Thu Nov 20 16:52:33 2008 UTC (10 years, 11 months ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
Removed old
(Portage version: 2.2_rc14/cvs/Linux 2.6.28-rc5-00172-gee2f6cc x86_64)

1 # Copyright 1999-2008 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.4.ebuild,v 1.13 2008/11/14 15:53:48 angelos Exp $
4
5 inherit eutils xfce44 python multilib autotools
6
7 XFCE_VERSION=4.4.2
8 xfce44
9 xfce44_core_package
10
11 DESCRIPTION="Extensions, widgets and framework library with session management support"
12 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
13 IUSE="debug doc hal libnotify python"
14
15 RDEPEND=">=dev-lang/perl-5.6
16 dev-perl/URI
17 >=dev-libs/glib-2.6
18 >=x11-libs/gtk+-2.6
19 >=xfce-base/libxfce4util-${XFCE_MASTER_VERSION}
20 >=xfce-base/xfce-mcs-manager-${XFCE_MASTER_VERSION}
21 >=xfce-base/xfce-mcs-plugins-${XFCE_MASTER_VERSION}
22 libnotify? ( x11-libs/libnotify )
23 hal? ( >=sys-apps/hal-0.5.7.1 )
24 python? ( dev-python/pygtk )"
25 DEPEND="${RDEPEND}
26 dev-util/gtk-doc-am
27 dev-util/pkgconfig
28 dev-util/xfce4-dev-tools
29 doc? ( dev-util/gtk-doc )
30 dev-util/intltool"
31
32 XFCE_CONFIG="${XFCE_CONFIG} $(use_enable python) \
33 $(use_enable libnotify notifications) \
34 $(use_enable hal) --enable-mcs-plugin"
35
36 DOCS="AUTHORS ChangeLog HACKING NEWS README THANKS TODO"
37
38 # See bug 166568 for reference
39 src_unpack() {
40 unpack ${A}
41 sed -i -e 's:-Werror::g' "${S}"/configure
42 epatch "${FILESDIR}"/${P}-remove-libmd5.patch
43 AT_M4DIR=/usr/share/xfce4/dev-tools/m4macros eautoreconf
44 }
45
46 # See bug 164780 for reference
47 src_install() {
48 xfce44_src_install
49 rm -f "${D}"/usr/lib*/python*/site-packages/pyexo.py[co]
50 rm -f "${D}"/usr/lib*/python*/site-packages/${PN}-0.3/${PN}/__init__.py[co]
51 }
52
53 pkg_postinst() {
54 xfce44_pkg_postinst
55 python_version
56 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
57 }
58
59 pkg_postrm() {
60 xfce44_pkg_postrm
61 python_mod_cleanup
62 }

  ViewVC Help
Powered by ViewVC 1.1.20