/[gentoo-x86]/gnome-base/gnome-panel/gnome-panel-3.2.1.ebuild
Gentoo

Contents of /gnome-base/gnome-panel/gnome-panel-3.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Dec 24 14:47:19 2012 UTC (6 years, 5 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bump for Gnome 3.6. Switch to EAPI=5. Drop deprecated postinst, package is not using gconf anymore. USE=introspection is now global.

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-panel/gnome-panel-3.2.1.ebuild,v 1.4 2012/10/16 03:47:52 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit gnome2
10
11 DESCRIPTION="The GNOME panel"
12 HOMEPAGE="http://www.gnome.org/"
13
14 LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
15 SLOT="0"
16 IUSE="eds +introspection networkmanager"
17 # Odd behaviour w.r.t. panels: https://bugzilla.gnome.org/show_bug.cgi?id=631553
18 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
19
20 RDEPEND=">=gnome-base/gnome-desktop-2.91:3
21 >=x11-libs/pango-1.15.4[introspection?]
22 >=dev-libs/glib-2.25.12:2
23 >=x11-libs/gtk+-3.0:3[introspection?]
24 x11-libs/gdk-pixbuf:2
25 >=dev-libs/libgweather-2.91:2
26 dev-libs/libxml2:2
27 gnome-base/dconf
28 >=gnome-base/gconf-2.6.1:2[introspection?]
29 >=gnome-base/gnome-menus-3.1.4:3
30 gnome-base/gsettings-desktop-schemas
31 gnome-base/librsvg:2
32 >=net-libs/telepathy-glib-0.14.0
33 >=x11-libs/cairo-1[X]
34 x11-libs/libXau
35 x11-libs/libICE
36 x11-libs/libSM
37 >=x11-libs/libXrandr-1.2
38 >=x11-libs/libwnck-2.91:3
39
40 eds? ( >=gnome-extra/evolution-data-server-2.91.2 )
41 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
42 networkmanager? ( >=net-misc/networkmanager-0.6.7 )"
43 DEPEND="${RDEPEND}
44 >=dev-lang/perl-5
45 dev-util/gtk-doc-am
46 >=app-text/gnome-doc-utils-0.3.2
47 virtual/pkgconfig
48 >=dev-util/intltool-0.40
49 app-text/docbook-xml-dtd:4.1.2"
50 # eautoreconf needs
51 # gnome-base/gnome-common
52
53 pkg_setup() {
54 # XXX: Make presence/telepathy-glib support optional?
55 # We can do that if we intend to support fallback-only as a setup
56 G2CONF="${G2CONF}
57 --disable-deprecation-flags
58 --disable-static
59 --disable-scrollkeeper
60 --disable-schemas-install
61 --disable-schemas-compile
62 --with-in-process-applets=clock,notification-area,wncklet
63 --enable-telepathy-glib
64 $(use_enable networkmanager network-manager)
65 $(use_enable introspection)
66 $(use_enable eds)"
67 DOCS="AUTHORS ChangeLog HACKING NEWS README"
68 }
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${P}-gold.patch
72 gnome2_src_prepare
73 }
74
75 pkg_postinst() {
76 local entries="${EROOT}etc/gconf/schemas/panel-default-setup.entries"
77 local gconftool="${EROOT}usr/bin/gconftool-2"
78
79 if [ -e "$entries" ]; then
80 einfo "Setting panel gconf defaults..."
81
82 GCONF_CONFIG_SOURCE="$("${gconftool}" --get-default-source | sed "s;:/;:${ROOT};")"
83
84 "${gconftool}" --direct --config-source \
85 "${GCONF_CONFIG_SOURCE}" --load="${entries}"
86 fi
87
88 # Calling this late so it doesn't process the GConf schemas file we already
89 # took care of.
90 gnome2_pkg_postinst
91 }

  ViewVC Help
Powered by ViewVC 1.1.20