diff options
Diffstat (limited to 'media-libs/libungif')
-rw-r--r-- | media-libs/libungif/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libungif/libungif-4.1.0.1b.ebuild | 21 | ||||
-rw-r--r-- | media-libs/libungif/libungif-4.1.3.ebuild | 21 |
3 files changed, 45 insertions, 3 deletions
diff --git a/media-libs/libungif/ChangeLog b/media-libs/libungif/ChangeLog index be6db654e0af..e858b930e4ad 100644 --- a/media-libs/libungif/ChangeLog +++ b/media-libs/libungif/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libungif # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/ChangeLog,v 1.19 2004/10/02 22:24:21 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/ChangeLog,v 1.20 2004/11/06 08:50:27 usata Exp $ + + 06 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> libungif-4.1.0.1b.ebuild, + libungif-4.1.3.ebuild: + Disabled make check if xv is not installed. See bug #70135. 02 Oct 2004; Travis Tilley <lv@gentoo.org> libungif-4.1.0.1b.ebuild: fixed the libdir sandbox violations for the stable libungif too diff --git a/media-libs/libungif/libungif-4.1.0.1b.ebuild b/media-libs/libungif/libungif-4.1.0.1b.ebuild index e83fe0714e68..624f4a763b3f 100644 --- a/media-libs/libungif/libungif-4.1.0.1b.ebuild +++ b/media-libs/libungif/libungif-4.1.0.1b.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.0.1b.ebuild,v 1.15 2004/10/02 22:24:21 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.0.1b.ebuild,v 1.16 2004/11/06 08:50:27 usata Exp $ inherit eutils libtool @@ -60,3 +60,22 @@ pkg_postinst() { einfo "this and giflib" fi } + +src_test() { + if has_version 'media-gfx/xv' ; then + if [ -z "$DISPLAY" ] || ! (/usr/X11R6/bin/xhost &>/dev/null) ; then + ewarn + ewarn "You are not authorised to conntect to X server to make check." + ewarn "Disabling make check." + ewarn + epause; ebeep; epause + else + make check || die "make check failed" + fi + else + ewarn + ewarn "You need media-gfx/xv to run src_test for this package." + ewarn + epause; ebeep; epause + fi +} diff --git a/media-libs/libungif/libungif-4.1.3.ebuild b/media-libs/libungif/libungif-4.1.3.ebuild index 3160c38c7a3f..0b6d3091234e 100644 --- a/media-libs/libungif/libungif-4.1.3.ebuild +++ b/media-libs/libungif/libungif-4.1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.3.ebuild,v 1.2 2004/10/02 10:06:20 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libungif/libungif-4.1.3.ebuild,v 1.3 2004/11/06 08:50:28 usata Exp $ inherit eutils libtool @@ -48,3 +48,22 @@ pkg_postinst() { einfo "this and giflib" fi } + +src_test() { + if has_version 'media-gfx/xv' ; then + if [ -z "$DISPLAY" ] || ! (/usr/X11R6/bin/xhost &>/dev/null) ; then + ewarn + ewarn "You are not authorised to conntect to X server to make check." + ewarn "Disabling make check." + ewarn + epause; ebeep; epause + else + make check || die "make check failed" + fi + else + ewarn + ewarn "You need media-gfx/xv to run src_test for this package." + ewarn + epause; ebeep; epause + fi +} |