diff options
-rw-r--r-- | x11-misc/xidle/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/xidle/files/xidle-24102005-dead.patch | 4 | ||||
-rw-r--r-- | x11-misc/xidle/xidle-24102005.ebuild | 22 |
3 files changed, 17 insertions, 17 deletions
diff --git a/x11-misc/xidle/ChangeLog b/x11-misc/xidle/ChangeLog index d8109e30dabc..899f2aafc4bb 100644 --- a/x11-misc/xidle/ChangeLog +++ b/x11-misc/xidle/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/xidle -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xidle/ChangeLog,v 1.2 2008/11/24 09:15:43 flameeyes Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xidle/ChangeLog,v 1.3 2012/03/14 05:03:17 jer Exp $ + + 14 Mar 2012; Jeroen Roovers <jer@gentoo.org> xidle-24102005.ebuild, + files/xidle-24102005-dead.patch: + Clean up ebuild, patch. Marked ~amd64 too. 24 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org> xidle-24102005.ebuild: diff --git a/x11-misc/xidle/files/xidle-24102005-dead.patch b/x11-misc/xidle/files/xidle-24102005-dead.patch index 2805f08773bb..26ce27bcc0bd 100644 --- a/x11-misc/xidle/files/xidle-24102005-dead.patch +++ b/x11-misc/xidle/files/xidle-24102005-dead.patch @@ -1,5 +1,5 @@ ---- xidle.c.orig 2005-10-24 16:42:09.000000000 +0200 -+++ xidle.c 2008-11-12 07:06:01.000000000 +0100 +--- a/xidle.c ++++ b/xidle.c @@ -87,10 +87,10 @@ void close_x(struct xinfo *); void init_x(const char *, struct xinfo *, int, int); diff --git a/x11-misc/xidle/xidle-24102005.ebuild b/x11-misc/xidle/xidle-24102005.ebuild index 2283cec35ae8..7dfc6f000393 100644 --- a/x11-misc/xidle/xidle-24102005.ebuild +++ b/x11-misc/xidle/xidle-24102005.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xidle/xidle-24102005.ebuild,v 1.2 2008/11/24 09:15:43 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xidle/xidle-24102005.ebuild,v 1.3 2012/03/14 05:03:17 jer Exp $ +EAPI=4 inherit eutils toolchain-funcs DESCRIPTION="xidle monitors inactivity in X and runs the specified program when @@ -11,31 +12,26 @@ SRC_URI="mirror://freebsd/ports/local-distfiles/novel/${P}.tar.bz2" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~hppa ~x86" +KEYWORDS="~amd64 ~hppa ~x86" IUSE="" DEPEND=" x11-libs/libX11 - x11-libs/libXext x11-libs/libXScrnSaver " RDEPEND="${DEPEND}" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}/${P}-dead.patch" } src_compile() { - local my_libs="-lXss -lXext -lX11" - local my_compile - my_compile="$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN}{,.c} ${my_libs}" + local my_compile="$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN}{,.c} -lXss -lX11" echo ${my_compile} - eval ${my_compile} || die "compile failed" + eval ${my_compile} || die } src_install() { - dobin ${PN} || die "dobin failed" - doman ${PN}.1 || die "doman failed" + dobin ${PN} + doman ${PN}.1 } |