From 35e9ccd31964c9932977e28ca175ab78d64ad362 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Mon, 25 Apr 2016 09:03:27 +0200 Subject: x11-misc/xystray: Add ebuild to the tree. Xystray is a simple implementation of the freedesktop.org notification area (also known as the system tray) for X, useful for window managers such as FVWM which do not provide their own. Gentoo-Bug: https://bugs.gentoo.org/82892 Closes: https://github.com/gentoo/gentoo/pull/1343 Signed-off-by: Patrice Clement --- x11-misc/xystray/Manifest | 4 ++++ x11-misc/xystray/files/xystray-1.0-ldflags.patch | 11 ++++++++++ x11-misc/xystray/metadata.xml | 13 ++++++++++++ x11-misc/xystray/xystray-1.0.ebuild | 26 ++++++++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 x11-misc/xystray/Manifest create mode 100644 x11-misc/xystray/files/xystray-1.0-ldflags.patch create mode 100644 x11-misc/xystray/metadata.xml create mode 100644 x11-misc/xystray/xystray-1.0.ebuild diff --git a/x11-misc/xystray/Manifest b/x11-misc/xystray/Manifest new file mode 100644 index 000000000000..a2babcadb4ef --- /dev/null +++ b/x11-misc/xystray/Manifest @@ -0,0 +1,4 @@ +AUX xystray-1.0-ldflags.patch 316 SHA256 eb586eb7b0e60d81558750591d61addb6b682ab067794446a4ae601b7faad7aa SHA512 d0a20301b3b1d8432d3f905ae5c44dd2f25e067b587d40487aec6e807e033351ae7c7e663e19b21678d9e34bb2528b5c5a016b85e0433a8996752130075f9edf WHIRLPOOL 256ccc03a1c3e2496f59caf1394ab17ccd5ee28961be7ce4b7c03f3aafc21510a84d1a6c064a39cc762fe0875eb7e1af7e4f32142630dd6390fec7d7e6c5e32a +DIST xystray-1.0.tar.gz 18225 SHA256 ea7473edd09ade2b01a44dcf7a271253df52c91e727fcde3226412f42bd472a5 SHA512 50f3700e497dae875f659d55e2d5c469e977ab513c35f82516f2c139e2813f126bcc7658d76b55346480c0ca7d65a67b74b289cdae775bd13c0dc9da31a9a92c WHIRLPOOL 46f0528993a3a04d2f824ac81285452b09fdda3d4e6f7b620cbd4dfc9671f42a9279f51ea1b0571c56756cff8e7742c30b69c6912e299ad5cf41377c5307bdf6 +EBUILD xystray-1.0.ebuild 524 SHA256 b082c91d49bbfdb3bcf3ace9f2c9550dbf7352beeaef8077df9e9666fe01b86b SHA512 97a03d442d51179e7ab7854ef38b00aa8aa265922ebd9f02163112cd11e423e4ebe91566d98dd438421c10895d70d2b395958e681dd5cc63e800eb36d7fcc873 WHIRLPOOL d5ba505e374a6fdbabfa7f837025e97a010efc0c10d25818e23c2ce432c79c55f225f5e45ded51c93a077ea8f80f8bb46d58371436fbe03484ee94508909d943 +MISC metadata.xml 455 SHA256 3752be463cc35dcb6d06fad3dd5a4387a42d8c63959eec026acc78542eb896cf SHA512 2c3718417db689cc74201c24c326a1967a6e551cfa2310b5816b40d1df8de5ec92ef31b62542fbb46665d67c9036ee77bba136124f291354df5b22125922a703 WHIRLPOOL bb1d6a6769fde54baba077023f17af5da4641d53c4cbbef839a4269c4303887d3c447c7ac71b4d6dcb74e63ba213cb675a897e67e8d32193c89e987b71e4c89b diff --git a/x11-misc/xystray/files/xystray-1.0-ldflags.patch b/x11-misc/xystray/files/xystray-1.0-ldflags.patch new file mode 100644 index 000000000000..0ed03d00e794 --- /dev/null +++ b/x11-misc/xystray/files/xystray-1.0-ldflags.patch @@ -0,0 +1,11 @@ +--- a/Makefile 2016-04-22 19:57:57.000000000 +0000 ++++ b/Makefile 2016-04-25 06:49:38.344591274 +0000 +@@ -1,6 +1,6 @@ +-LDFLAGS=-lX11 -lXt -L/usr/X11/lib ++LIBS=-lX11 -lXt -L/usr/X11/lib + xystray: Xystray.o xystray.o +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $(LIBS) $^ -o $@ + + clean: + rm Xystray.o xystray.o diff --git a/x11-misc/xystray/metadata.xml b/x11-misc/xystray/metadata.xml new file mode 100644 index 000000000000..969bb1d92543 --- /dev/null +++ b/x11-misc/xystray/metadata.xml @@ -0,0 +1,13 @@ + + + + + proxy-maint@gentoo.org + Gentoo Proxy Maintainers Project + + + Marek.Szuba@cern.ch + Marek Szuba + Proxied maintainer; set to assignee in all bugs + + diff --git a/x11-misc/xystray/xystray-1.0.ebuild b/x11-misc/xystray/xystray-1.0.ebuild new file mode 100644 index 000000000000..200127366597 --- /dev/null +++ b/x11-misc/xystray/xystray-1.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="A simple implementation of freedesktop.org notification area for X" +HOMEPAGE="http://steelman.github.com/xystray/" +SRC_URI="https://github.com/steelman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXt" +RDEPEND="" + +PATCHES=( + "${FILESDIR}/${P}-ldflags.patch" +) + +src_install() { + dobin xystray +} -- cgit v1.2.3-65-gdbad