diff options
author | Christian Birchinger <joker@gentoo.org> | 2009-07-15 15:02:46 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2009-07-15 15:02:46 +0000 |
commit | e9f077000bde98e71cfd8a3156fba0a880faee7b (patch) | |
tree | b6904c24876aeed26cbd92d30e23e5a41a9fd276 /x11-misc/xdotool | |
parent | arm stable wrt #276432 (diff) | |
download | gentoo-2-e9f077000bde98e71cfd8a3156fba0a880faee7b.tar.gz gentoo-2-e9f077000bde98e71cfd8a3156fba0a880faee7b.tar.bz2 gentoo-2-e9f077000bde98e71cfd8a3156fba0a880faee7b.zip |
Various adjustments to the ebuild to deal with bug #274661. No revision bump because the installed working binaries stay the same.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/xdotool')
-rw-r--r-- | x11-misc/xdotool/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/xdotool/xdotool-20090609.ebuild | 33 |
2 files changed, 31 insertions, 9 deletions
diff --git a/x11-misc/xdotool/ChangeLog b/x11-misc/xdotool/ChangeLog index dda2e805d85a..5f90477160da 100644 --- a/x11-misc/xdotool/ChangeLog +++ b/x11-misc/xdotool/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/xdotool # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdotool/ChangeLog,v 1.1 2009/06/15 17:13:41 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdotool/ChangeLog,v 1.2 2009/07/15 15:02:46 joker Exp $ + + 15 Jul 2009; Christian Birchinger <joker@gentoo.org> + xdotool-20090609.ebuild: + Various adjustments to the ebuild to deal with bug #274661. No revision bump + because the installed working binaries stay the same *xdotool-20090609 (15 Jun 2009) diff --git a/x11-misc/xdotool/xdotool-20090609.ebuild b/x11-misc/xdotool/xdotool-20090609.ebuild index e29618d35f6e..2eac8d0875c4 100644 --- a/x11-misc/xdotool/xdotool-20090609.ebuild +++ b/x11-misc/xdotool/xdotool-20090609.ebuild @@ -1,27 +1,44 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdotool/xdotool-20090609.ebuild,v 1.1 2009/06/15 17:13:41 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdotool/xdotool-20090609.ebuild,v 1.2 2009/07/15 15:02:46 joker Exp $ -inherit eutils +EAPI=2 -DESCRIPTION="Fake keyboard/mouse input" +inherit toolchain-funcs + +DESCRIPTION="Simulate keyboard input and mouse activity, move and resize windows." HOMEPAGE="http://www.semicomplete.com/projects/xdotool/" SRC_URI="http://semicomplete.googlecode.com/files/${P}.tar.gz" LICENSE="as-is" + SLOT="0" KEYWORDS="~x86 ~amd64" -IUSE="" +IUSE="examples" DEPEND="x11-libs/libXtst x11-libs/libX11" RDEPEND="${DEPEND}" -src_compile() { - emake || die "emake failed" +src_prepare() { + cd "${S}" + sed -i -e "s:^CFLAGS=.*:CFLAGS=-std=c99 ${CFLAGS}:" \ + -e "s:^LIBS=.*:LIBS=$(pkg-config --libs x11 xtst):" \ + -e "s:^INC=.*:INC=$(pkg-config --cflags x11 xtst):" \ + -e "s:\$(CC):$(tc-getCC):" \ + -e "s:\$(LDFLAGS): \$(LIBS) \$(LDFLAGS):" \ + -e 's:LDFLAGS+=$(LIBS)::' \ + -e "s:\$(CFLAGS):\$(INC) \$(CFLAGS):" \ + Makefile \ + || die "sed Makefile failed." } src_install() { - dobin xdotool - doman xdotool.1 + dobin ${PN} + doman ${PN}.1 + dodoc CHANGELIST README + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi } |