diff options
Diffstat (limited to 'x11-misc/peksystray')
-rw-r--r-- | x11-misc/peksystray/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/peksystray/files/peksystray-0.4.0-asneeded.patch | 36 | ||||
-rw-r--r-- | x11-misc/peksystray/metadata.xml | 10 | ||||
-rw-r--r-- | x11-misc/peksystray/peksystray-0.2.1.ebuild | 28 | ||||
-rw-r--r-- | x11-misc/peksystray/peksystray-0.4.0.ebuild | 28 |
5 files changed, 104 insertions, 0 deletions
diff --git a/x11-misc/peksystray/Manifest b/x11-misc/peksystray/Manifest new file mode 100644 index 000000000000..8338718251de --- /dev/null +++ b/x11-misc/peksystray/Manifest @@ -0,0 +1,2 @@ +DIST peksystray-0.2.1.tar.gz 70261 SHA256 1642322c50c893467c0e48ed0ced258e17e0df5c2f0415d6dcf4fe906f530793 +DIST peksystray-0.4.0.tar.bz2 73810 SHA256 30733b349bc7919171a6fa31023c8704eaae9158084a5210d49aa3210123a778 diff --git a/x11-misc/peksystray/files/peksystray-0.4.0-asneeded.patch b/x11-misc/peksystray/files/peksystray-0.4.0-asneeded.patch new file mode 100644 index 000000000000..1fc376a8ac92 --- /dev/null +++ b/x11-misc/peksystray/files/peksystray-0.4.0-asneeded.patch @@ -0,0 +1,36 @@ +--- configure.in ++++ configure.in +@@ -4,6 +4,7 @@ + AM_INIT_AUTOMAKE(peksystray, 0.4.0) + + AC_PROG_CC ++AC_PATH_X + AC_PATH_XTRA + + dnl Are we going to enable the debugging output ?? +@@ -19,13 +20,7 @@ + AC_DEFINE(DEBUG,,[Enable verbose debugging output]) + fi + +-CFLAGS="$CFLAGS $X_CFLAGS" +-#x_includes="-I$x_includes" +-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS" +-#x_libraries="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS" +- +-AC_SUBST(x_includes) +-AC_SUBST(x_libraries) ++AC_CHECK_LIB([X11], [XOpenDisplay]) + + AC_OUTPUT([ + Makefile +--- src/Makefile.am ++++ src/Makefile.am +@@ -1,7 +1,4 @@ + bin_PROGRAMS = peksystray + +-INCLUDES = @x_includes@ +- +-peksystray_LDADD = @x_libraries@ +- + peksystray_SOURCES = peksystray.c ++peksystray_LDADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ diff --git a/x11-misc/peksystray/metadata.xml b/x11-misc/peksystray/metadata.xml new file mode 100644 index 000000000000..c45a76de0a36 --- /dev/null +++ b/x11-misc/peksystray/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">peksystray</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-misc/peksystray/peksystray-0.2.1.ebuild b/x11-misc/peksystray/peksystray-0.2.1.ebuild new file mode 100644 index 000000000000..ec018af1ed9e --- /dev/null +++ b/x11-misc/peksystray/peksystray-0.2.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib + +DESCRIPTION="A system tray dockapp for window managers supporting docking" +HOMEPAGE="http://freshmeat.net/projects/peksystray" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha ~amd64 ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXt" +DEPEND="${RDEPEND}" + +src_compile() { + econf --x-libraries=/usr/$(get_libdir) || die + emake || die +} + +src_install() { + dobin src/peksystray + dodoc AUTHORS NEWS README THANKS TODO +} diff --git a/x11-misc/peksystray/peksystray-0.4.0.ebuild b/x11-misc/peksystray/peksystray-0.4.0.ebuild new file mode 100644 index 000000000000..714634616ca3 --- /dev/null +++ b/x11-misc/peksystray/peksystray-0.4.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit autotools eutils + +DESCRIPTION="A system tray dockapp for window managers supporting docking" +HOMEPAGE="http://peksystray.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXt" + +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch + eautoreconf +} + +src_install() { + dobin src/peksystray || die + dodoc AUTHORS ChangeLog NEWS README REFS THANKS TODO +} |