summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2009-12-28 19:38:45 +0000
committerHarald van Dijk <truedfx@gentoo.org>2009-12-28 19:38:45 +0000
commit6837759da1b11aec18bf69ad57fb0bd337234bb7 (patch)
treef1141440cdf99a35a7fcddd77e51bc4d739645e3 /x11-apps
parentmask stuff that depends on pycrap-3 (diff)
downloadgentoo-2-6837759da1b11aec18bf69ad57fb0bd337234bb7.tar.gz
gentoo-2-6837759da1b11aec18bf69ad57fb0bd337234bb7.tar.bz2
gentoo-2-6837759da1b11aec18bf69ad57fb0bd337234bb7.zip
New package, ebuild based on Kevin Fullerton's (#185954)
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/xkbset/ChangeLog10
-rw-r--r--x11-apps/xkbset/files/xkbset-0.5-ldflags.patch11
-rw-r--r--x11-apps/xkbset/metadata.xml9
-rw-r--r--x11-apps/xkbset/xkbset-0.5.ebuild36
4 files changed, 66 insertions, 0 deletions
diff --git a/x11-apps/xkbset/ChangeLog b/x11-apps/xkbset/ChangeLog
new file mode 100644
index 000000000000..811a5bef90e5
--- /dev/null
+++ b/x11-apps/xkbset/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-apps/xkbset
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xkbset/ChangeLog,v 1.1 2009/12/28 19:38:44 truedfx Exp $
+
+*xkbset-0.5 (28 Dec 2009)
+
+ 28 Dec 2009; Harald van Dijk <truedfx@gentoo.org> +xkbset-0.5.ebuild,
+ +files/xkbset-0.5-ldflags.patch, +metadata.xml:
+ New package, ebuild based on Kevin Fullerton's (#185954)
+
diff --git a/x11-apps/xkbset/files/xkbset-0.5-ldflags.patch b/x11-apps/xkbset/files/xkbset-0.5-ldflags.patch
new file mode 100644
index 000000000000..69dda8739d75
--- /dev/null
+++ b/x11-apps/xkbset/files/xkbset-0.5-ldflags.patch
@@ -0,0 +1,11 @@
+--- xkbset-0.5/Makefile
++++ xkbset-0.5/Makefile
+@@ -11,7 +11,7 @@
+ all: xkbset xkbset.1
+
+ xkbset: getargs.o print.o usage.o main.o misc.o
+- ${CC} ${CFLAGS} ${INC_PATH} ${LIB_PATH} getargs.o print.o usage.o main.o misc.o -o $@ ${LIBS}
++ ${CC} ${CFLAGS} ${LDFLAGS} ${INC_PATH} ${LIB_PATH} getargs.o print.o usage.o main.o misc.o -o $@ ${LIBS}
+
+ getargs.o: getargs.c xkbset.h
+ ${CC} ${CFLAGS} ${INC_PATH} ${LIB_PATH} -c getargs.c
diff --git a/x11-apps/xkbset/metadata.xml b/x11-apps/xkbset/metadata.xml
new file mode 100644
index 000000000000..c66b7883ddfe
--- /dev/null
+++ b/x11-apps/xkbset/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>truedfx@gentoo.org</email>
+<name>Harald van Dijk</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-apps/xkbset/xkbset-0.5.ebuild b/x11-apps/xkbset/xkbset-0.5.ebuild
new file mode 100644
index 000000000000..c88185546274
--- /dev/null
+++ b/x11-apps/xkbset/xkbset-0.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xkbset/xkbset-0.5.ebuild,v 1.1 2009/12/28 19:38:44 truedfx Exp $
+
+inherit base
+
+DESCRIPTION="Manage xkb features such as MouseKeys, AccessX, StickyKeys, BounceKeys and SlowKeys"
+HOMEPAGE="http://www.math.missouri.edu/~stephen/software/"
+SRC_URI="http://www.math.missouri.edu/~stephen/software/xkbset/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk"
+
+CDEPEND="x11-libs/libX11"
+DEPEND="${CDEPEND}
+ dev-lang/perl"
+RDEPEND="${CDEPEND}
+ tk? ( dev-lang/perl
+ dev-perl/perl-tk )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-ldflags.patch
+)
+
+src_compile() {
+ emake INC_PATH= LIB_PATH= || die
+}
+
+src_install() {
+ dobin xkbset
+ use tk && dobin xkbset-gui
+ doman xkbset.1
+ dodoc README TODO
+}