summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-04-30 06:48:08 +0000
committerJustin Lecher <jlec@gentoo.org>2012-04-30 06:48:08 +0000
commitac48c511c6d7924a609cb5182cf73d177ed6e0b1 (patch)
tree57b40fc2f6b6a3dd64cd2f6ebd565342201881d3 /media-gfx
parentRemove old version. (diff)
downloadgentoo-2-ac48c511c6d7924a609cb5182cf73d177ed6e0b1.tar.gz
gentoo-2-ac48c511c6d7924a609cb5182cf73d177ed6e0b1.tar.bz2
gentoo-2-ac48c511c6d7924a609cb5182cf73d177ed6e0b1.zip
media-gfx/gtkimageview: Clean fix for virtualx.eclass usage, #294295
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gtkimageview/ChangeLog5
-rw-r--r--media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild13
2 files changed, 12 insertions, 6 deletions
diff --git a/media-gfx/gtkimageview/ChangeLog b/media-gfx/gtkimageview/ChangeLog
index 6f63fce7480a..0a193115e57a 100644
--- a/media-gfx/gtkimageview/ChangeLog
+++ b/media-gfx/gtkimageview/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/gtkimageview
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkimageview/ChangeLog,v 1.21 2012/04/29 11:53:30 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkimageview/ChangeLog,v 1.22 2012/04/30 06:48:08 jlec Exp $
+
+ 30 Apr 2012; Justin Lecher <jlec@gentoo.org> gtkimageview-1.6.4.ebuild:
+ Clean fix for virtualx.eclass usage, #294295
29 Apr 2012; Justin Lecher <jlec@gentoo.org> gtkimageview-1.6.4.ebuild:
Move to EAPI=4, handle static-libs, add fix for gold.ld, call Xemake #294295;
diff --git a/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild b/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild
index 99242c4bd11c..96d04eae1fa2 100644
--- a/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild
+++ b/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild,v 1.22 2012/04/29 11:53:30 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild,v 1.23 2012/04/30 06:48:08 jlec Exp $
EAPI=4
+VIRTUALX_REQUIRED=test
+
inherit autotools gnome2 virtualx
DESCRIPTION="A simple image viewer widget for GTK"
@@ -25,8 +27,8 @@ DEPEND="${RDEPEND}
doc? ( >=dev-util/gtk-doc-1.8 )"
pkg_setup() {
- DOCS="README"
- G2CONF="$(use_enable static-libs static)"
+ DOCS="README"
+ G2CONF="$(use_enable static-libs static)"
}
src_prepare() {
@@ -57,9 +59,10 @@ src_test() {
local failed="0"
Xemake check
cd "${S}"/tests
- for test in test-* ; do
+ for test in ./test-* ; do
if [[ -x ${test} ]] ; then
- ./${test} || failed=$((${failed}+1))
+ VIRTUALX_COMMAND="${test}"
+ virtualmake || failed=$((${failed}+1))
fi
done
[[ ${failed} -gt 0 ]] && die "${failed} tests failed"