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/skippy/, x11-misc/skippy/files/
Date: Mon, 06 Feb 2017 22:48:45
Message-Id: 1486421175.8a7e529252283330d888e66f71142ed095641f73.soap@gentoo
1 commit: 8a7e529252283330d888e66f71142ed095641f73
2 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 6 09:54:37 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 6 22:46:15 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a7e5292
7
8 x11-misc/skippy: EAPI bump 2 -> 6, shorten DESCRIPTION
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Closes: https://github.com/gentoo/gentoo/pull/3841
12
13 x11-misc/skippy/files/skippy-0.5.0-Makefile.patch | 4 +--
14 x11-misc/skippy/files/skippy-pointer-size.patch | 4 +--
15 ...{skippy-0.5.0.ebuild => skippy-0.5.0-r1.ebuild} | 30 ++++++++++------------
16 x11-misc/skippy/skippy-0.5.0.ebuild | 4 +--
17 4 files changed, 19 insertions(+), 23 deletions(-)
18
19 diff --git a/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch b/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch
20 index 957d3ba..5c8c64b 100644
21 --- a/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch
22 +++ b/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch
23 @@ -1,7 +1,7 @@
24 Don't use LDFLAGS to pass libraries.
25
26 ---- Makefile
27 -+++ Makefile
28 +--- a/Makefile
29 ++++ b/Makefile
30 @@ -1,14 +1,12 @@
31 -PREFIX = /usr/local
32 +PREFIX = /usr
33
34 diff --git a/x11-misc/skippy/files/skippy-pointer-size.patch b/x11-misc/skippy/files/skippy-pointer-size.patch
35 index 8a7ee42..7f59711 100644
36 --- a/x11-misc/skippy/files/skippy-pointer-size.patch
37 +++ b/x11-misc/skippy/files/skippy-pointer-size.patch
38 @@ -1,5 +1,5 @@
39 ---- wm.c
40 -+++ wm.c
41 +--- a/wm.c
42 ++++ b/wm.c
43 @@ -258,7 +258,7 @@
44 return 0;
45
46
47 diff --git a/x11-misc/skippy/skippy-0.5.0.ebuild b/x11-misc/skippy/skippy-0.5.0-r1.ebuild
48 similarity index 66%
49 copy from x11-misc/skippy/skippy-0.5.0.ebuild
50 copy to x11-misc/skippy/skippy-0.5.0-r1.ebuild
51 index 1627520..7088be7 100644
52 --- a/x11-misc/skippy/skippy-0.5.0.ebuild
53 +++ b/x11-misc/skippy/skippy-0.5.0-r1.ebuild
54 @@ -1,17 +1,17 @@
55 -# Copyright 1999-2012 Gentoo Foundation
56 +# Copyright 1999-2017 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Id$
59
60 -EAPI=2
61 -inherit eutils toolchain-funcs
62 +EAPI=6
63 +inherit toolchain-funcs
64
65 -DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality with various WMs"
66 +DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality"
67 HOMEPAGE="http://thegraveyard.org/skippy.php"
68 SRC_URI="http://thegraveyard.org/files/${P}.tar.bz2"
69
70 LICENSE="GPL-2"
71 SLOT="0"
72 -KEYWORDS="amd64 ppc x86"
73 +KEYWORDS="~amd64 ~ppc ~x86"
74 IUSE=""
75
76 RDEPEND="media-libs/imlib2[X]
77 @@ -25,25 +25,21 @@ DEPEND="${RDEPEND}
78 x11-proto/xineramaproto
79 virtual/pkgconfig"
80
81 -src_prepare() {
82 - epatch "${FILESDIR}"/${PN}-pointer-size.patch \
83 - "${FILESDIR}"/${P}-Makefile.patch
84 -}
85 +PATCHES=( "${FILESDIR}"/${PN}-pointer-size.patch
86 + "${FILESDIR}"/${P}-Makefile.patch
87 +)
88 +
89 +DOCS=( CHANGELOG skippyrc-default )
90
91 src_compile() {
92 tc-export CC
93 - emake || die
94 -}
95 -
96 -src_install() {
97 - emake DESTDIR="${D}" install || die
98 - dodoc CHANGELOG skippyrc-default
99 + default
100 }
101
102 pkg_postinst() {
103 - echo
104 + elog
105 elog "You should copy skippyrc-default from /usr/share/doc/${PF} to"
106 elog "~/.skippyrc and edit the keysym used to invoke skippy."
107 elog "Use x11-apps/xev to find out the keysym."
108 - echo
109 + elog
110 }
111
112 diff --git a/x11-misc/skippy/skippy-0.5.0.ebuild b/x11-misc/skippy/skippy-0.5.0.ebuild
113 index 1627520..2b01e3e 100644
114 --- a/x11-misc/skippy/skippy-0.5.0.ebuild
115 +++ b/x11-misc/skippy/skippy-0.5.0.ebuild
116 @@ -1,11 +1,11 @@
117 -# Copyright 1999-2012 Gentoo Foundation
118 +# Copyright 1999-2017 Gentoo Foundation
119 # Distributed under the terms of the GNU General Public License v2
120 # $Id$
121
122 EAPI=2
123 inherit eutils toolchain-funcs
124
125 -DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality with various WMs"
126 +DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality"
127 HOMEPAGE="http://thegraveyard.org/skippy.php"
128 SRC_URI="http://thegraveyard.org/files/${P}.tar.bz2"