summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-13 20:25:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-13 20:25:31 +0000
commit8f513b3eb154aaaa4bcea2a58eca65a1da598369 (patch)
tree49195b05c8e9b4c47fd66e836d35a31a3a739b3f /x11-misc/xnee
parentInitial commit. (diff)
downloadgentoo-2-8f513b3eb154aaaa4bcea2a58eca65a1da598369.tar.gz
gentoo-2-8f513b3eb154aaaa4bcea2a58eca65a1da598369.tar.bz2
gentoo-2-8f513b3eb154aaaa4bcea2a58eca65a1da598369.zip
Use virtualx.eclass for src_test wrt #304945 but because it still needs RECORD extension enabled in X.org server, restrict tests off.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/xnee')
-rw-r--r--x11-misc/xnee/ChangeLog6
-rw-r--r--x11-misc/xnee/xnee-3.05.ebuild12
2 files changed, 15 insertions, 3 deletions
diff --git a/x11-misc/xnee/ChangeLog b/x11-misc/xnee/ChangeLog
index f1525e628a87..526c823d4ee0 100644
--- a/x11-misc/xnee/ChangeLog
+++ b/x11-misc/xnee/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/xnee
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnee/ChangeLog,v 1.7 2010/02/13 10:39:54 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnee/ChangeLog,v 1.8 2010/02/13 20:25:31 ssuominen Exp $
+
+ 13 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> xnee-3.05.ebuild:
+ Use virtualx.eclass for src_test wrt #304945 but because it still needs
+ RECORD extension enabled in X.org server, restrict tests off.
13 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> xnee-3.05.ebuild,
+files/xnee-3.05-asneeded.patch:
diff --git a/x11-misc/xnee/xnee-3.05.ebuild b/x11-misc/xnee/xnee-3.05.ebuild
index acd6f8fe3bd1..b748e9127ffd 100644
--- a/x11-misc/xnee/xnee-3.05.ebuild
+++ b/x11-misc/xnee/xnee-3.05.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnee/xnee-3.05.ebuild,v 1.2 2010/02/13 10:39:54 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnee/xnee-3.05.ebuild,v 1.3 2010/02/13 20:25:31 ssuominen Exp $
EAPI=2
-inherit autotools eutils
+inherit autotools eutils virtualx
DESCRIPTION="Program suite to record, replay and distribute user actions."
HOMEPAGE="http://www.sandklef.com/xnee/"
@@ -26,6 +26,10 @@ DEPEND="${RDEPEND}
gnome? ( sys-devel/gettext
media-gfx/imagemagick )"
+# This needs RECORD extension from X.org server which isn't necessarily
+# enabled. Xlib: extension "RECORD" missing on display ":0.0".
+RESTRICT="test"
+
src_prepare() {
epatch "${FILESDIR}"/${P}-asneeded.patch
eautoreconf
@@ -50,6 +54,10 @@ src_configure() {
${myconf}
}
+src_test() {
+ Xemake check || die
+}
+
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS BUGS ChangeLog FAQ NEWS README TODO