summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-27 10:33:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-27 10:33:38 +0000
commitc8b6bf7d1b694f749aca20488970fdb3cc0c182f (patch)
tree159c40bbe0fe986ef54c153187966fb3bc7218fc /x11-misc/superswitcher
parent[package.mask] Updated media-sound/amarok-2.3.2 mask. (diff)
downloadgentoo-2-c8b6bf7d1b694f749aca20488970fdb3cc0c182f.tar.gz
gentoo-2-c8b6bf7d1b694f749aca20488970fdb3cc0c182f.tar.bz2
gentoo-2-c8b6bf7d1b694f749aca20488970fdb3cc0c182f.zip
Fix building with GTK+ >= 2.22 wrt #338906 and add missing dependencies per configure.ac and NEEDED entries.
(Portage version: 2.2_rc87/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/superswitcher')
-rw-r--r--x11-misc/superswitcher/ChangeLog9
-rw-r--r--x11-misc/superswitcher/superswitcher-0.6.ebuild32
2 files changed, 27 insertions, 14 deletions
diff --git a/x11-misc/superswitcher/ChangeLog b/x11-misc/superswitcher/ChangeLog
index ccbd6c0a1a2c..f5e1a08be31a 100644
--- a/x11-misc/superswitcher/ChangeLog
+++ b/x11-misc/superswitcher/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/superswitcher
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/superswitcher/ChangeLog,v 1.6 2008/01/09 19:53:01 swegener Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/superswitcher/ChangeLog,v 1.7 2010/09/27 10:33:38 ssuominen Exp $
+
+ 27 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+ superswitcher-0.6.ebuild:
+ Fix building with GTK+ >= 2.22 wrt #338906 and add missing dependencies
+ per configure.ac and NEEDED entries.
09 Jan 2008; Sven Wegener <swegener@gentoo.org> superswitcher-0.6.ebuild:
Add missing pkgconfig dependency, bug #204960.
diff --git a/x11-misc/superswitcher/superswitcher-0.6.ebuild b/x11-misc/superswitcher/superswitcher-0.6.ebuild
index ff08a6d3119c..a0615a20cacd 100644
--- a/x11-misc/superswitcher/superswitcher-0.6.ebuild
+++ b/x11-misc/superswitcher/superswitcher-0.6.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild,v 1.3 2008/01/09 19:53:01 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild,v 1.4 2010/09/27 10:33:38 ssuominen Exp $
-inherit eutils
+EAPI=2
+inherit autotools eutils
DESCRIPTION="A more feature-full replacement of the Alt-Tab window switching behavior."
HOMEPAGE="http://code.google.com/p/superswitcher/"
@@ -13,20 +14,27 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=">=dev-libs/glib-2
- >=x11-libs/gtk+-2.6
- >=x11-libs/libwnck-2.10"
+RDEPEND="dev-libs/dbus-glib
+ dev-libs/glib:2
+ >=gnome-base/gconf-2
+ x11-libs/gtk+:2
+ >=x11-libs/libwnck-2.10
+ x11-libs/libXcomposite
+ x11-libs/libXinerama
+ x11-libs/libXrender"
DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+ dev-util/pkgconfig
+ gnome-base/gnome-common"
+src_prepare() {
+ sed -i \
+ -e '/-DG.*_DISABLE_DEPRECATED/d' \
+ src/Makefile.am || die #338906
epatch "${FILESDIR}"/${P}-wnck-workspace.patch
+ eautoreconf
}
src_install() {
- emake -j1 install DESTDIR="${D}" || die "emake install failed"
+ emake -j1 DESTDIR="${D}" install || die
dodoc ChangeLog README
}