dev-perl/Gtk2: Require jpeg support in gdk-pixbuf for testing
authorKent Fredric <kentnl@gentoo.org>
Mon, 26 Jun 2017 08:34:48 +0000 (20:34 +1200)
committerKent Fredric <kentnl@gentoo.org>
Mon, 26 Jun 2017 08:35:22 +0000 (20:35 +1200)
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

index 65c6c6f759e13bf0b3b472cab62afd118acaf49b..140e7da429cb2f7ce3f608df65d8b2acb6337940 100644 (file)
@@ -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(){