summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-20 10:34:28 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-20 10:34:28 +0000
commit52a7a4ae3170fce3623d3db75e995b52460fc718 (patch)
tree56048526a2cdac34665dd6a59b88348fe4b59013 /x11-libs
parentInitial commit, ebuild by idella4 (diff)
downloadgentoo-2-52a7a4ae3170fce3623d3db75e995b52460fc718.tar.gz
gentoo-2-52a7a4ae3170fce3623d3db75e995b52460fc718.tar.bz2
gentoo-2-52a7a4ae3170fce3623d3db75e995b52460fc718.zip
Version bump; tool installation is now optional.
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libwnck/ChangeLog8
-rw-r--r--x11-libs/libwnck/libwnck-3.4.2.ebuild68
-rw-r--r--x11-libs/libwnck/metadata.xml2
3 files changed, 77 insertions, 1 deletions
diff --git a/x11-libs/libwnck/ChangeLog b/x11-libs/libwnck/ChangeLog
index d63db78d4161..e1dea40332ac 100644
--- a/x11-libs/libwnck/ChangeLog
+++ b/x11-libs/libwnck/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/libwnck
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libwnck/ChangeLog,v 1.286 2012/05/20 09:43:53 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libwnck/ChangeLog,v 1.287 2012/05/20 10:34:28 tetromino Exp $
+
+*libwnck-3.4.2 (20 May 2012)
+
+ 20 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +libwnck-3.4.2.ebuild, metadata.xml:
+ Version bump; tool installation is now optional.
20 May 2012; Agostino Sarubbo <ago@gentoo.org> libwnck-2.31.0.ebuild:
Stable for amd64, wrt bug #416333
diff --git a/x11-libs/libwnck/libwnck-3.4.2.ebuild b/x11-libs/libwnck/libwnck-3.4.2.ebuild
new file mode 100644
index 000000000000..f455c79b6245
--- /dev/null
+++ b/x11-libs/libwnck/libwnck-3.4.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libwnck/libwnck-3.4.2.ebuild,v 1.1 2012/05/20 10:34:28 tetromino Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2
+
+DESCRIPTION="A window navigation construction kit"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="LGPL-2"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+
+IUSE="doc +introspection startup-notification tools"
+
+RDEPEND=">=x11-libs/gtk+-3.0:3[introspection?]
+ >=dev-libs/glib-2.16:2
+ x11-libs/libX11
+ x11-libs/libXres
+ x11-libs/libXext
+ introspection? ( >=dev-libs/gobject-introspection-0.6.14 )
+ startup-notification? ( >=x11-libs/startup-notification-0.4 )
+ x86-interix? ( sys-libs/itx-bind )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40.6
+ sys-devel/gettext
+ virtual/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1.9 )"
+# eautoreconf needs
+# dev-util/gtk-doc-am
+# gnome-base/gnome-common
+
+pkg_setup() {
+ # Don't collide with SLOT=1
+ G2CONF="${G2CONF}
+ --disable-static
+ $(use_enable introspection)
+ $(use_enable startup-notification)
+ $(use_enable tools)
+ --program-suffix=-${SLOT}"
+ DOCS="AUTHORS ChangeLog HACKING NEWS README"
+}
+
+src_prepare() {
+ # Regenerate marashalers for <glib-2.31 compat
+ rm -v libwnck/wnck-marshal.{c,h} || die
+
+ gnome2_src_prepare
+
+ if use x86-interix; then
+ # activate the itx-bind package...
+ append-flags "-I${EPREFIX}/usr/include/bind"
+ append-ldflags "-L${EPREFIX}/usr/lib/bind"
+ fi
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ if use tools; then
+ elog "wnckprop is now called wnckprop-${SLOT}"
+ elog "wnck-urgency-monitor is now called wnck-urgency-monitor-${SLOT}"
+ fi
+}
diff --git a/x11-libs/libwnck/metadata.xml b/x11-libs/libwnck/metadata.xml
index 44825d13c084..9efe18da97dc 100644
--- a/x11-libs/libwnck/metadata.xml
+++ b/x11-libs/libwnck/metadata.xml
@@ -5,5 +5,7 @@
<use>
<flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
for introspection</flag>
+ <flag name="tools">Install wnckprop-3 and wnck-urgency-monitor-3
+ command-line tools</flag>
</use>
</pkgmetadata>