summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-01-24 07:16:52 +0000
committerTim Harder <radhermit@gentoo.org>2014-01-24 07:16:52 +0000
commit52e6c41f7a0d6c2f82ab0af123480a9e733a258e (patch)
treed2c55a323187b3e561e9bfe71457b62b0746bee0 /x11-misc/sxhkd
parentModernize the ebuild (eapi5, prune_libtool_files, and so forth) (diff)
downloadgentoo-2-52e6c41f7a0d6c2f82ab0af123480a9e733a258e.tar.gz
gentoo-2-52e6c41f7a0d6c2f82ab0af123480a9e733a258e.tar.bz2
gentoo-2-52e6c41f7a0d6c2f82ab0af123480a9e733a258e.zip
Initial import, ebuild by me.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'x11-misc/sxhkd')
-rw-r--r--x11-misc/sxhkd/ChangeLog10
-rw-r--r--x11-misc/sxhkd/Manifest5
-rw-r--r--x11-misc/sxhkd/files/sxhkd-0.5.3-flags.patch23
-rw-r--r--x11-misc/sxhkd/metadata.xml8
-rw-r--r--x11-misc/sxhkd/sxhkd-0.5.3.ebuild31
5 files changed, 77 insertions, 0 deletions
diff --git a/x11-misc/sxhkd/ChangeLog b/x11-misc/sxhkd/ChangeLog
new file mode 100644
index 000000000000..fefd66c892b8
--- /dev/null
+++ b/x11-misc/sxhkd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-misc/sxhkd
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/sxhkd/ChangeLog,v 1.1 2014/01/24 07:16:52 radhermit Exp $
+
+*sxhkd-0.5.3 (24 Jan 2014)
+
+ 24 Jan 2014; Tim Harder <radhermit@gentoo.org> +sxhkd-0.5.3.ebuild,
+ +files/sxhkd-0.5.3-flags.patch, +metadata.xml:
+ Initial import, ebuild by me.
+
diff --git a/x11-misc/sxhkd/Manifest b/x11-misc/sxhkd/Manifest
new file mode 100644
index 000000000000..a8e0a6cf3887
--- /dev/null
+++ b/x11-misc/sxhkd/Manifest
@@ -0,0 +1,5 @@
+AUX sxhkd-0.5.3-flags.patch 531 SHA256 31eeccffb6f211ace3634cd39ddc43dd10f2c4a1d8d192d79153ab9ed74f1b9b SHA512 f9d628b1e0f6d488e667d96926917fba94a15f350086fe7e8182d45d3362ceead83476ff2005c89d38700a0f54ce2b39dab721e2681235bb6b03275c8438647a WHIRLPOOL 0d3e29f8eb10666332c733cd27e40f60651dec3c8b3ad472e2e995b80caca7d9b1322d7179b307e1b64287a90c9f434bb2f6a9c3c1d9b79bfd2d38bed4c96d03
+DIST sxhkd-0.5.3.tar.gz 34128 SHA256 4f794ecccc03d2ecfc2fef074a09195d16ec7343c514acacf71ffa770ca4a977 SHA512 d573117abae5ca1b2643d6405ed032f75b9b67bb15bbdfc6f25e2fa69df81a5b75c7ae15d835dacc6e972cb8594ccf300fd0881a153302b12eb04c3437cf795b WHIRLPOOL 3e3c2d6f846a3ac6ea3e202bf7d279a76038b120358f141170d0c1e3d7e1950f38472ed87f474c01292f9002c3c5bc02070b7117f15dc919536732ee8fb4d9cf
+EBUILD sxhkd-0.5.3.ebuild 679 SHA256 0ddd3927ce719c0ccd33add62f851975c31ad7594970e5bbe93e9c03ed440e66 SHA512 fbc6696f8f625da120930873f5ec935ab6e00816826c0dfe76bf7dba44821516ed67d6b0570ccf2ed9ad76b03ddac70052175ddcd5cb3b7bb7432446cf41f2ab WHIRLPOOL 97846f11427fa1dc7ff459a8ab7d6a5193bfe32e9231656a3bad9ddd106a720cd0e0ac613b5ff1b303bc90fb5e55d1e55ab540c8db4b87e2832870d442461935
+MISC ChangeLog 295 SHA256 8b4233eae7f5a778030d36eaa50fa7c5dd68bceed46783f936c041c15e674673 SHA512 445229d98e329adb7a8007a577b4e1f888516e9b7db5f98c721242afe9315fe5497d5c6af2bfabf072a2be4ca832e3190ebae3e81814bfbedb1d41f31f5d5a6c WHIRLPOOL 654d1d9a54aeefdfd5a50805c6a6e8eb3c4fbf6b899a831a4c7c06d07e753b2756e87416b62ba106d8dd5f5ab8ad94b30575aedc8088d3d0656bd2ae6b9c82b7
+MISC metadata.xml 236 SHA256 5285fd5ca6bc85e0392ff64ec8e54d0018ebd761d3977869c00c93dee45ea09d SHA512 a1abf9a60fb1a2078d0475df655f8abd4b2f877f8d232028232fafca2eb7e7ae6ec2c835c4fe0ef27b3b5655d746d1fe53bbcb353703819448ddec84acdd4215 WHIRLPOOL fdbf5fcd34aa17330575f013aef4c87a8b039b62b6de3337a4004a6a0217238ceca43fa15425c30ddb7a5a632de7eb138ed541dfb161614cba817527297781e2
diff --git a/x11-misc/sxhkd/files/sxhkd-0.5.3-flags.patch b/x11-misc/sxhkd/files/sxhkd-0.5.3-flags.patch
new file mode 100644
index 000000000000..8e485c2cb58c
--- /dev/null
+++ b/x11-misc/sxhkd/files/sxhkd-0.5.3-flags.patch
@@ -0,0 +1,23 @@
+--- sxhkd-0.5.3/Makefile
++++ sxhkd-0.5.3/Makefile
+@@ -5,7 +5,6 @@
+ LIBS = -lm -lxcb -lxcb-keysyms
+ CFLAGS += -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)/include
+ CFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
+-LDFLAGS += -L$(PREFIX)/lib
+
+ PREFIX ?= /usr/local
+ BINPREFIX = $(PREFIX)/bin
+@@ -14,11 +13,9 @@
+ SRC = $(wildcard *.c)
+ OBJ = $(SRC:.c=.o)
+
+-all: CFLAGS += -Os
+-all: LDFLAGS += -s
+ all: $(NAME)
+
+-debug: CFLAGS += -O0 -g -DDEBUG
++debug: CFLAGS += -DDEBUG
+ debug: $(NAME)
+
+ include Sourcedeps
diff --git a/x11-misc/sxhkd/metadata.xml b/x11-misc/sxhkd/metadata.xml
new file mode 100644
index 000000000000..efa5eb0078f3
--- /dev/null
+++ b/x11-misc/sxhkd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/sxhkd/sxhkd-0.5.3.ebuild b/x11-misc/sxhkd/sxhkd-0.5.3.ebuild
new file mode 100644
index 000000000000..82d4c0cf2636
--- /dev/null
+++ b/x11-misc/sxhkd/sxhkd-0.5.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/sxhkd/sxhkd-0.5.3.ebuild,v 1.1 2014/01/24 07:16:52 radhermit Exp $
+
+EAPI=5
+inherit eutils toolchain-funcs systemd
+
+DESCRIPTION="Simple X hotkey daemon"
+HOMEPAGE="https://github.com/baskerville/sxhkd/"
+SRC_URI="https://github.com/baskerville/sxhkd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="x11-libs/libxcb
+ x11-libs/xcb-util-keysyms"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-flags.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" PREFIX=/usr
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install
+ systemd_dounit contrib/systemd/${PN}.service
+}