diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2012-12-24 17:11:17 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2012-12-24 17:11:17 +0000 |
commit | 6ea43d936288e9b4be8a51b55ceb2e0b9afc3b65 (patch) | |
tree | 1a5ff8c64cd082934e675cd5908e0e851c24712d /gnome-base/gnome-applets | |
parent | Fix typo. Thanks to Chris Mayo for reporting. (diff) | |
download | gentoo-2-6ea43d936288e9b4be8a51b55ceb2e0b9afc3b65.tar.gz gentoo-2-6ea43d936288e9b4be8a51b55ceb2e0b9afc3b65.tar.bz2 gentoo-2-6ea43d936288e9b4be8a51b55ceb2e0b9afc3b65.zip |
Version bump for Gnome 3.6. Switch to EAPI=5 and python-single-r1.eclass.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'gnome-base/gnome-applets')
-rw-r--r-- | gnome-base/gnome-applets/ChangeLog | 8 | ||||
-rw-r--r-- | gnome-base/gnome-applets/gnome-applets-3.6.0-r1.ebuild | 116 | ||||
-rw-r--r-- | gnome-base/gnome-applets/metadata.xml | 2 |
3 files changed, 124 insertions, 2 deletions
diff --git a/gnome-base/gnome-applets/ChangeLog b/gnome-base/gnome-applets/ChangeLog index 6fcc0504b41f..886eade1e55e 100644 --- a/gnome-base/gnome-applets/ChangeLog +++ b/gnome-base/gnome-applets/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnome-base/gnome-applets # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.362 2012/12/10 01:58:41 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.363 2012/12/24 17:11:17 eva Exp $ + +*gnome-applets-3.6.0-r1 (24 Dec 2012) + + 24 Dec 2012; Gilles Dartiguelongue <eva@gentoo.org> + +gnome-applets-3.6.0-r1.ebuild, metadata.xml: + Version bump for Gnome 3.6. Switch to EAPI=5 and python-single-r1.eclass. 10 Dec 2012; Alexandre Rostovtsev <tetromino@gentoo.org> -gnome-applets-2.32.1.1.ebuild, -gnome-applets-3.2.1.ebuild, diff --git a/gnome-base/gnome-applets/gnome-applets-3.6.0-r1.ebuild b/gnome-base/gnome-applets/gnome-applets-3.6.0-r1.ebuild new file mode 100644 index 000000000000..3507583af506 --- /dev/null +++ b/gnome-base/gnome-applets/gnome-applets-3.6.0-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-3.6.0-r1.ebuild,v 1.1 2012/12/24 17:11:17 eva Exp $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="no" # bug 340725, no other la files +PYTHON_COMPAT=( python2_{5,6,7} ) + +inherit eutils gnome2 python-single-r1 + +DESCRIPTION="Applets for the GNOME Desktop and Panel" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="0" +IUSE="gnome ipv6 networkmanager policykit" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" +# 3.6 is tagged in upstream git, but the tarballs have not been uploaded :/ +SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}-unofficial.tar.xz" + +# null applet still needs bonobo support for gnome-panel? +# +# Latest gnome-panel needed due to commit 45a4988a6 +# atk, cairo, pango used in multiple applets +RDEPEND=" + >=x11-libs/gtk+-3.0.0:3 + dev-libs/atk + >=dev-libs/glib-2.22:2 + >=gnome-base/gconf-2.8:2 + >=gnome-base/gnome-panel-2.91.91 + x11-libs/cairo + >=x11-libs/libxklavier-4 + >=x11-libs/libwnck-2.91.0:3 + >=x11-libs/libnotify-0.7:= + x11-libs/pango + >=sys-apps/dbus-1.1.2 + >=dev-libs/dbus-glib-0.74 + >=dev-libs/libxml2-2.5 + >=x11-themes/gnome-icon-theme-2.15.91 + >=dev-libs/libgweather-3.5:= + x11-libs/libX11 + + gnome? ( + gnome-base/gnome-settings-daemon + + >=gnome-extra/gucharmap-2.33.0:2.90 + >=gnome-base/libgtop-2.11.92 + + ${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] + gnome-base/gconf[introspection] + gnome-base/gnome-panel[introspection] + x11-libs/gdk-pixbuf[introspection] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] ) + networkmanager? ( >=net-misc/networkmanager-0.7.0 ) + policykit? ( >=sys-auth/polkit-0.92 ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xml-dtd:4.3 + >=app-text/gnome-doc-utils-0.3.2 + >=app-text/scrollkeeper-0.1.4 + >=dev-util/intltool-0.35 + dev-libs/libxslt + virtual/pkgconfig +" + +src_prepare() { + # Remove silly check for pygobject:2 + # https://bugzilla.gnome.org/show_bug.cgi?id=660550 + sed -e 's/pygobject-2.0/pygobject-3.0/' -i configure || die "sed failed" + gnome2_src_prepare +} + +src_configure() { + # We don't want HAL or battstat. + # mixer applet uses gstreamer, conflicts with the mixer provided by g-s-d + # GNOME 3 has a hard-dependency on pulseaudio, so gstmixer applet is useless + G2CONF="${G2CONF} + --without-hal + --disable-battstat + --disable-mixer-applet + $(use_enable ipv6) + $(use_enable networkmanager) + $(use_enable policykit polkit)" + gnome2_src_configure +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + default +} + +src_install() { + python_fix_shebang invest-applet + + gnome2_src_install + + local APPLETS="accessx-status charpick cpufreq drivemount geyes + gweather invest-applet mini-commander + multiload null_applet stickynotes trashapplet" + + # mixer is out because gnome3 uses pulseaudio + # modemlights is out because it needs system-tools-backends-1 + # battstat is disabled because we don't want HAL anywhere + + for applet in ${APPLETS} ; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} diff --git a/gnome-base/gnome-applets/metadata.xml b/gnome-base/gnome-applets/metadata.xml index e2dc689a368c..22ef4c754fe2 100644 --- a/gnome-base/gnome-applets/metadata.xml +++ b/gnome-base/gnome-applets/metadata.xml @@ -3,6 +3,6 @@ <pkgmetadata> <herd>gnome</herd> <use> -<flag name="cpufreq">Build cpu frequency scaling monitor applet</flag> + <flag name="cpufreq">Build cpu frequency scaling monitor applet</flag> </use> </pkgmetadata> |