From 5070c0688839453a2a5fe0cd29bd7683184e27e9 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Mon, 26 Jun 2017 20:34:48 +1200 Subject: [PATCH] dev-perl/Gtk2: Require jpeg support in gdk-pixbuf for testing Tests fail without gdk-pixbuf compiled with jpeg support: =GdkPixbuf-LOG **: gdk_pixbuf_from_pixdata() called on: at t/GdkPixbuf.t line 185. GdkPixbuf-LOG **: Encoding rle at t/GdkPixbuf.t line 185. GdkPixbuf-LOG **: Dimensions: 4 x 5 at t/GdkPixbuf.t line 185. GdkPixbuf-LOG **: Rowstride: 16, Length: 91 at t/GdkPixbuf.t line 185. GdkPixbuf-LOG **: Copy pixels == true at t/GdkPixbuf.t line 185. Image type 'jpeg' is not supported at t/GdkPixbuf.t line 200. t/GdkPixbuf.t ...................... Dubious, test returned 255 (wstat 65280, 0xff00) Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- dev-perl/Gtk2/Gtk2-1.249.920.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-perl/Gtk2/Gtk2-1.249.920.ebuild b/dev-perl/Gtk2/Gtk2-1.249.920.ebuild index 65c6c6f759e1..140e7da429cb 100644 --- a/dev-perl/Gtk2/Gtk2-1.249.920.ebuild +++ b/dev-perl/Gtk2/Gtk2-1.249.920.ebuild @@ -24,6 +24,7 @@ DEPEND="${RDEPEND} virtual/perl-ExtUtils-MakeMaker >=dev-perl/ExtUtils-Depends-0.300.0 >=dev-perl/ExtUtils-PkgConfig-1.30.0 + test? ( x11-libs/gdk-pixbuf[jpeg] ) " src_test(){ -- 2.26.2