]> Pileus Git - ~andy/sunrise/commitdiff
x11-misc/sw-notify-send: New ebuild for bug #318961, a system-wide notify-send wrapper.
authorMichał Górny <mgorny@gentoo.org>
Sun, 9 May 2010 18:17:07 +0000 (18:17 +0000)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 May 2010 18:17:07 +0000 (18:17 +0000)
svn path=/sunrise/; revision=10536

x11-misc/sw-notify-send/ChangeLog [new file with mode: 0644]
x11-misc/sw-notify-send/Manifest [new file with mode: 0644]
x11-misc/sw-notify-send/metadata.xml [new file with mode: 0644]
x11-misc/sw-notify-send/sw-notify-send-0.1.ebuild [new file with mode: 0644]

diff --git a/x11-misc/sw-notify-send/ChangeLog b/x11-misc/sw-notify-send/ChangeLog
new file mode 100644 (file)
index 0000000..fdd4e2f
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for x11-misc/sw-notify-send
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  09 May 2010; Michał Górny (sedzimir) <gentoo@mgorny.alt.pl>
+  +sw-notify-send-0.1.ebuild, +metadata.xml:
+  New ebuild for bug #318961, a system-wide notify-send wrapper.
+
diff --git a/x11-misc/sw-notify-send/Manifest b/x11-misc/sw-notify-send/Manifest
new file mode 100644 (file)
index 0000000..b525c5e
--- /dev/null
@@ -0,0 +1,4 @@
+DIST sw-notify-send-0.1.c.bz2 1732 RMD160 e43ac679a5da4ae467917f3fa48171046513e8df SHA1 1d38b31510710abdb30cf1bd523890e48bf74d5f SHA256 e58a66d3bd419287ea47d507027c0b08cd1451dc4c88bb70f6810ae2734596b8
+EBUILD sw-notify-send-0.1.ebuild 574 RMD160 23111cb4ae84d6124b40294d314a9db2ca12d474 SHA1 06b9155d77fa32a026e3d7601ae2100b89934ae6 SHA256 bc1415626022284d4bcabfffc5114ae392a94f8f046bf79cf7c97db1d0f7f7c6
+MISC ChangeLog 299 RMD160 806be8dfc064e90a6fc2db8ea5f4e6c0b52351c7 SHA1 28e857af565e3a45d0789eee9ee93de4c2915968 SHA256 2e66e5ea7eb4e3709ac8dfbba3511e269b31da0b7d64c963b31990ad7899a3d8
+MISC metadata.xml 231 RMD160 6aebfea93d789d2b96ea6d8259dc842dd1fdacd3 SHA1 e10a04c4c18a66af326abc1f40c61b28cc610fae SHA256 48054ea190d00518c1e035fc6663b2368854cdea5ff69a94830e4f9a38260987
diff --git a/x11-misc/sw-notify-send/metadata.xml b/x11-misc/sw-notify-send/metadata.xml
new file mode 100644 (file)
index 0000000..c6be580
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>no-herd</herd>
+       <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/x11-misc/sw-notify-send/sw-notify-send-0.1.ebuild b/x11-misc/sw-notify-send/sw-notify-send-0.1.ebuild
new file mode 100644 (file)
index 0000000..249b855
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit toolchain-funcs
+
+DESCRIPTION="A system-wide notification wrapper for notify-send"
+HOMEPAGE="http://proj.mgorny.alt.pl/misc/#sw-notify-send"
+SRC_URI="http://dl.mgorny.alt.pl/misc/${P}.c.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="sys-process/procps"
+RDEPEND="${DEPEND}
+       x11-libs/libnotify"
+
+src_compile() {
+       "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} ${P}.c -o ${PN} -lproc || die
+}
+
+src_install() {
+       dobin ${PN} || die
+}