Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/superswitcher/
Date: Sat, 04 Mar 2017 15:20:41
Message-Id: 1488640726.fd3736d8c4845ee3eeac7ea1212f17cf81ac783f.soap@gentoo
1 commit: fd3736d8c4845ee3eeac7ea1212f17cf81ac783f
2 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 2 14:22:52 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 4 15:18:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd3736d8
7
8 x11-misc/superswitcher: EAPI bump 4 -> 6
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11 Closes: https://github.com/gentoo/gentoo/pull/4098
12
13 ...cher-0.6.ebuild => superswitcher-0.6-r1.ebuild} | 28 ++++++++++++----------
14 1 file changed, 16 insertions(+), 12 deletions(-)
15
16 diff --git a/x11-misc/superswitcher/superswitcher-0.6.ebuild b/x11-misc/superswitcher/superswitcher-0.6-r1.ebuild
17 similarity index 67%
18 rename from x11-misc/superswitcher/superswitcher-0.6.ebuild
19 rename to x11-misc/superswitcher/superswitcher-0.6-r1.ebuild
20 index 4165cec4ffa..63e4756b5b1 100644
21 --- a/x11-misc/superswitcher/superswitcher-0.6.ebuild
22 +++ b/x11-misc/superswitcher/superswitcher-0.6-r1.ebuild
23 @@ -1,8 +1,9 @@
24 -# Copyright 1999-2015 Gentoo Foundation
25 +# Copyright 1999-2017 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=4
29 -inherit autotools eutils
30 +EAPI=6
31 +
32 +inherit autotools
33
34 DESCRIPTION="A more feature-full replacement of the Alt-Tab window switching behavior"
35 HOMEPAGE="https://code.google.com/p/superswitcher/"
36 @@ -13,7 +14,8 @@ SLOT="0"
37 KEYWORDS="~amd64 ~x86"
38 IUSE=""
39
40 -RDEPEND="dev-libs/dbus-glib
41 +RDEPEND="
42 + dev-libs/dbus-glib
43 dev-libs/glib:2
44 >=gnome-base/gconf-2:2
45 x11-libs/gtk+:2
46 @@ -22,19 +24,21 @@ RDEPEND="dev-libs/dbus-glib
47 x11-libs/libXinerama
48 x11-libs/libXrender"
49 DEPEND="${RDEPEND}
50 - virtual/pkgconfig
51 - gnome-base/gnome-common"
52 + gnome-base/gnome-common
53 + virtual/pkgconfig"
54 +
55 +PATCHES=(
56 + "${FILESDIR}"/${P}-wnck-workspace.patch
57 + "${FILESDIR}"/${PN}-0.6-glib-single-include.patch
58 +)
59
60 src_prepare() {
61 + default
62 sed -i \
63 -e '/-DG.*_DISABLE_DEPRECATED/d' \
64 src/Makefile.am || die #338906
65
66 - epatch "${FILESDIR}"/${P}-wnck-workspace.patch
67 - epatch "${FILESDIR}"/${PN}-0.6-glib-single-include.patch
68 - eautoreconf
69 -}
70 + mv configure.{in,ac} || die #426262
71
72 -src_install() {
73 - MAKEOPTS=-j1 default
74 + eautoreconf
75 }