summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-08-15 12:51:06 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-08-15 12:51:06 +0000
commita17048ff1b243098fc9f2ae24ecd9d32a5d6f4a2 (patch)
tree40a79ba38e346dc860e49d559fc812a4f70097f8 /dev-util
parentFixed a bug with ini files and multiple slots (bug 379127) (diff)
downloadgentoo-2-a17048ff1b243098fc9f2ae24ecd9d32a5d6f4a2.tar.gz
gentoo-2-a17048ff1b243098fc9f2ae24ecd9d32a5d6f4a2.tar.bz2
gentoo-2-a17048ff1b243098fc9f2ae24ecd9d32a5d6f4a2.zip
Bump to 3.0.0, from gnome overlay for GNOME 3
(Portage version: 2.2.0_alpha39_p14/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/devhelp/ChangeLog7
-rw-r--r--dev-util/devhelp/devhelp-3.0.0.ebuild63
2 files changed, 69 insertions, 1 deletions
diff --git a/dev-util/devhelp/ChangeLog b/dev-util/devhelp/ChangeLog
index 499ea4714adb..dfb3e04d8cb1 100644
--- a/dev-util/devhelp/ChangeLog
+++ b/dev-util/devhelp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/devhelp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/devhelp/ChangeLog,v 1.124 2011/03/31 04:13:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/devhelp/ChangeLog,v 1.125 2011/08/15 12:51:06 nirbheek Exp $
+
+*devhelp-3.0.0 (15 Aug 2011)
+
+ 15 Aug 2011; Nirbheek Chauhan <nirbheek@gentoo.org> +devhelp-3.0.0.ebuild:
+ Bump to 3.0.0, from gnome overlay for GNOME 3
31 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> devhelp-2.32.0.ebuild:
sparc stable wrt #353436, Comment #29. Thanks to Alex Buell for testing.
diff --git a/dev-util/devhelp/devhelp-3.0.0.ebuild b/dev-util/devhelp/devhelp-3.0.0.ebuild
new file mode 100644
index 000000000000..1e0766dc5651
--- /dev/null
+++ b/dev-util/devhelp/devhelp-3.0.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/devhelp/devhelp-3.0.0.ebuild,v 1.1 2011/08/15 12:51:06 nirbheek Exp $
+
+EAPI="3"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_DEPEND="2"
+
+inherit eutils gnome2 python toolchain-funcs
+
+DESCRIPTION="An API documentation browser for GNOME 2"
+HOMEPAGE="http://live.gnome.org/devhelp"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=gnome-base/gconf-2.6:2
+ >=dev-libs/glib-2.25.11:2
+ >=x11-libs/gtk+-3.0.2:3
+ x11-libs/libwnck:3
+ net-libs/webkit-gtk:3"
+DEPEND="${RDEPEND}
+ >=sys-devel/gettext-0.17
+ >=dev-util/intltool-0.40
+ >=dev-util/pkgconfig-0.9"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README"
+ # ICC is crazy, silence warnings (bug #154010)
+ if [[ $(tc-getCC) == "icc" ]] ; then
+ G2CONF="${G2CONF} --with-compile-warnings=no"
+ fi
+ python_set_active_version 2
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # disable pyc compiling
+ ln -sfn $(type -P true) py-compile
+}
+
+pkg_preinst() {
+ gnome2_pkg_preinst
+ preserve_old_lib /usr/$(get_libdir)/libdevhelp-2.so.1
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ python_need_rebuild
+ python_mod_optimize /usr/$(get_libdir)/gedit/plugins
+ # Keep all the notify calls around so that users get reminded to delete them
+ preserve_old_lib_notify /usr/$(get_libdir)/libdevhelp-1.so.1
+ preserve_old_lib_notify /usr/$(get_libdir)/libdevhelp-2.so.1
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ python_mod_cleanup /usr/$(get_libdir)/gedit/plugins
+}