| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild,v 1.7 2012/05/05 04:53:46 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit autotools eutils
|
| 7 |
|
| 8 |
DESCRIPTION="A more feature-full replacement of the Alt-Tab window switching behavior."
|
| 9 |
HOMEPAGE="http://code.google.com/p/superswitcher/"
|
| 10 |
SRC_URI="http://superswitcher.googlecode.com/files/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="GPL-2"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~amd64 ~x86"
|
| 15 |
IUSE=""
|
| 16 |
|
| 17 |
RDEPEND="dev-libs/dbus-glib
|
| 18 |
dev-libs/glib:2
|
| 19 |
>=gnome-base/gconf-2:2
|
| 20 |
x11-libs/gtk+:2
|
| 21 |
>=x11-libs/libwnck-2.10:1
|
| 22 |
x11-libs/libXcomposite
|
| 23 |
x11-libs/libXinerama
|
| 24 |
x11-libs/libXrender"
|
| 25 |
DEPEND="${RDEPEND}
|
| 26 |
virtual/pkgconfig
|
| 27 |
gnome-base/gnome-common"
|
| 28 |
|
| 29 |
src_prepare() {
|
| 30 |
sed -i \
|
| 31 |
-e '/-DG.*_DISABLE_DEPRECATED/d' \
|
| 32 |
src/Makefile.am || die #338906
|
| 33 |
|
| 34 |
epatch "${FILESDIR}"/${P}-wnck-workspace.patch
|
| 35 |
epatch "${FILESDIR}"/${PN}-0.6-glib-single-include.patch
|
| 36 |
eautoreconf
|
| 37 |
}
|
| 38 |
|
| 39 |
src_install() {
|
| 40 |
MAKEOPTS+="-j1" default
|
| 41 |
}
|