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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Aug 23 15:27:07 2009 UTC (10 years, 1 month ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc39/cvs/Linux x86_64)

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.4-r2.ebuild,v 1.8 2009/02/04 21:16:09 armin76 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 <dev-util/gtk-doc-1.10-r1 )
27 dev-util/pkgconfig
28 dev-util/xfce4-dev-tools
29 doc? ( dev-util/gtk-doc )
30 dev-util/intltool"
31
32 DOCS="AUTHORS ChangeLog HACKING NEWS README THANKS TODO"
33
34 pkg_setup() {
35 XFCE_CONFIG="${XFCE_CONFIG} $(use_enable python)
36 $(use_enable libnotify notifications)
37 $(use_enable hal) --enable-mcs-plugin"
38 }
39
40 # See bug 166568 for reference
41 src_unpack() {
42 unpack ${A}
43 cd "${S}"
44
45 sed -i -e 's:-Werror::g' "${S}"/configure.in || die "sed failed"
46 epatch "${FILESDIR}"/${P}-eject.patch \
47 "${FILESDIR}"/${P}-remove-libmd5.patch \
48 "${FILESDIR}"/${P}-inline-functions.patch
49 intltoolize --force --copy --automake || die "intltoolize failed."
50 AT_M4DIR=/usr/share/xfce4/dev-tools/m4macros eautoreconf
51 }
52
53 # See bug 164780 for reference
54 src_install() {
55 xfce44_src_install
56 rm -f "${D}"/usr/lib*/python*/site-packages/pyexo.py[co]
57 rm -f "${D}"/usr/lib*/python*/site-packages/${PN}-0.3/${PN}/__init__.py[co]
58 }
59
60 pkg_postinst() {
61 xfce44_pkg_postinst
62 python_version
63 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
64 }
65
66 pkg_postrm() {
67 xfce44_pkg_postrm
68 python_mod_cleanup
69 }

  ViewVC Help
Powered by ViewVC 1.1.20