x11-misc/skippy: EAPI bump 2 -> 6, shorten DESCRIPTION
authorHarri Nieminen <moikkis@gmail.com>
Mon, 6 Feb 2017 09:54:37 +0000 (11:54 +0200)
committerDavid Seifert <soap@gentoo.org>
Mon, 6 Feb 2017 22:46:15 +0000 (23:46 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3841

x11-misc/skippy/files/skippy-0.5.0-Makefile.patch
x11-misc/skippy/files/skippy-pointer-size.patch
x11-misc/skippy/skippy-0.5.0-r1.ebuild [new file with mode: 0644]
x11-misc/skippy/skippy-0.5.0.ebuild

index 957d3ba6216cd9767fbc2d9d1cefa62974e310c2..5c8c64b632f97c6c0e5e1f9c29d29da489bb097c 100644 (file)
@@ -1,7 +1,7 @@
 Don't use LDFLAGS to pass libraries.
 
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -1,14 +1,12 @@
 -PREFIX = /usr/local
 +PREFIX = /usr
index 8a7ee42d177b0521aaf92f09d10b61ba6eee95c3..7f59711791027bfbb703733181b52ee5e56f326c 100644 (file)
@@ -1,5 +1,5 @@
---- wm.c
-+++ wm.c
+--- a/wm.c
++++ b/wm.c
 @@ -258,7 +258,7 @@
                return 0;
        
diff --git a/x11-misc/skippy/skippy-0.5.0-r1.ebuild b/x11-misc/skippy/skippy-0.5.0-r1.ebuild
new file mode 100644 (file)
index 0000000..7088be7
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality"
+HOMEPAGE="http://thegraveyard.org/skippy.php"
+SRC_URI="http://thegraveyard.org/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/imlib2[X]
+       x11-libs/libXext
+       x11-libs/libX11
+       x11-libs/libXinerama
+       x11-libs/libXmu
+       x11-libs/libXft"
+DEPEND="${RDEPEND}
+       x11-proto/xproto
+       x11-proto/xineramaproto
+       virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-pointer-size.patch
+       "${FILESDIR}"/${P}-Makefile.patch
+)
+
+DOCS=( CHANGELOG skippyrc-default )
+
+src_compile() {
+       tc-export CC
+       default
+}
+
+pkg_postinst() {
+       elog
+       elog "You should copy skippyrc-default from /usr/share/doc/${PF} to"
+       elog "~/.skippyrc and edit the keysym used to invoke skippy."
+       elog "Use x11-apps/xev to find out the keysym."
+       elog
+}
index 1627520b810e1a867d9b0f3816eb28423eb35308..2b01e3e481764e15e401cd75df7bb1d8b27c5224 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=2
 inherit eutils toolchain-funcs
 
-DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality with various WMs"
+DESCRIPTION="A full-screen task-switcher providing Apple Expose-like functionality"
 HOMEPAGE="http://thegraveyard.org/skippy.php"
 SRC_URI="http://thegraveyard.org/files/${P}.tar.bz2"