summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2017-02-06 11:54:37 +0200
committerDavid Seifert <soap@gentoo.org>2017-02-06 23:46:15 +0100
commit8a7e529252283330d888e66f71142ed095641f73 (patch)
treea5e4fb7547f42a02272a9e251faffb0dbe0b6bb1 /x11-misc/skippy
parentx11-misc/fbpager: EAPI bump 2 -> 6 (diff)
downloadgentoo-8a7e529252283330d888e66f71142ed095641f73.tar.gz
gentoo-8a7e529252283330d888e66f71142ed095641f73.tar.bz2
gentoo-8a7e529252283330d888e66f71142ed095641f73.zip
x11-misc/skippy: EAPI bump 2 -> 6, shorten DESCRIPTION
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3841
Diffstat (limited to 'x11-misc/skippy')
-rw-r--r--x11-misc/skippy/files/skippy-0.5.0-Makefile.patch4
-rw-r--r--x11-misc/skippy/files/skippy-pointer-size.patch4
-rw-r--r--x11-misc/skippy/skippy-0.5.0-r1.ebuild45
-rw-r--r--x11-misc/skippy/skippy-0.5.0.ebuild4
4 files changed, 51 insertions, 6 deletions
diff --git a/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch b/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch
index 957d3ba6216c..5c8c64b632f9 100644
--- a/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch
+++ b/x11-misc/skippy/files/skippy-0.5.0-Makefile.patch
@@ -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
diff --git a/x11-misc/skippy/files/skippy-pointer-size.patch b/x11-misc/skippy/files/skippy-pointer-size.patch
index 8a7ee42d177b..7f5971179102 100644
--- a/x11-misc/skippy/files/skippy-pointer-size.patch
+++ b/x11-misc/skippy/files/skippy-pointer-size.patch
@@ -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
index 000000000000..7088be7679ce
--- /dev/null
+++ b/x11-misc/skippy/skippy-0.5.0-r1.ebuild
@@ -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
+}
diff --git a/x11-misc/skippy/skippy-0.5.0.ebuild b/x11-misc/skippy/skippy-0.5.0.ebuild
index 1627520b810e..2b01e3e48176 100644
--- a/x11-misc/skippy/skippy-0.5.0.ebuild
+++ b/x11-misc/skippy/skippy-0.5.0.ebuild
@@ -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"