diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-12-07 03:13:10 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-12-07 03:13:10 +0000 |
commit | c5a732a51dcec1dfd77ba4c63a4313e6dce8ffe8 (patch) | |
tree | 8d66887e8a9bbee0f3e911d268b9383bbd5fdce7 /media-gfx | |
parent | Support openrc style configuration (diff) | |
download | gentoo-2-c5a732a51dcec1dfd77ba4c63a4313e6dce8ffe8.tar.gz gentoo-2-c5a732a51dcec1dfd77ba4c63a4313e6dce8ffe8.tar.bz2 gentoo-2-c5a732a51dcec1dfd77ba4c63a4313e6dce8ffe8.zip |
Use virtualx eclass for tests requiring X.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/scantailor/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/scantailor/scantailor-0.9.10.ebuild | 16 |
2 files changed, 11 insertions, 10 deletions
diff --git a/media-gfx/scantailor/ChangeLog b/media-gfx/scantailor/ChangeLog index cf2d922c6213..464109796f0f 100644 --- a/media-gfx/scantailor/ChangeLog +++ b/media-gfx/scantailor/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/scantailor # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/scantailor/ChangeLog,v 1.6 2011/12/06 21:18:56 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/scantailor/ChangeLog,v 1.7 2011/12/07 03:13:10 radhermit Exp $ + + 07 Dec 2011; Tim Harder <radhermit@gentoo.org> scantailor-0.9.10.ebuild: + Use virtualx eclass for tests requiring X. 06 Dec 2011; Tim Harder <radhermit@gentoo.org> -scantailor-0.9.9.ebuild, -scantailor-0.9.9.2.ebuild, metadata.xml: diff --git a/media-gfx/scantailor/scantailor-0.9.10.ebuild b/media-gfx/scantailor/scantailor-0.9.10.ebuild index 638fa66e3714..c27089156292 100644 --- a/media-gfx/scantailor/scantailor-0.9.10.ebuild +++ b/media-gfx/scantailor/scantailor-0.9.10.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/scantailor/scantailor-0.9.10.ebuild,v 1.2 2011/12/06 21:14:25 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/scantailor/scantailor-0.9.10.ebuild,v 1.3 2011/12/07 03:13:10 radhermit Exp $ EAPI=4 -inherit cmake-utils eutils +inherit cmake-utils eutils virtualx DESCRIPTION="A interactive post-processing tool for scanned pages" HOMEPAGE="http://scantailor.sourceforge.net/" @@ -29,13 +29,6 @@ PATCHES=( "${FILESDIR}"/${PN}-gcc46.patch ) -src_prepare() { - # Skip image processing tests that require X - sed -i -e "/^ADD_TEST(ImageProcTests/d" CMakeLists.txt || die - - base_src_prepare -} - src_configure() { mycmakeargs=( $(cmake-utils_use_enable opengl) @@ -44,6 +37,11 @@ src_configure() { cmake-utils_src_configure } +src_test() { + cd "${CMAKE_BUILD_DIR}" || die + Xemake test +} + src_install() { cmake-utils_src_install |