ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/Makefile.PL
(Generate patch)

Comparing CV/Makefile.PL (file contents):
Revision 1.52 by root, Sat Dec 23 03:30:28 2017 UTC vs.
Revision 1.53 by root, Sat Dec 23 08:04:48 2017 UTC

23my $pkg = new ExtUtils::Depends ("Gtk2::CV"); 23my $pkg = new ExtUtils::Depends ("Gtk2::CV");
24 24
25my $lib = "-ljpeg -lmagic"; 25my $lib = "-ljpeg -lmagic";
26my $inc = ""; 26my $inc = "";
27 27
28unless (system "pkg-config --exists libwebp") { 28if (!system "pkg-config --exists libwebp libwebpdemux") {
29 $inc .= " -DWEBP=1"; 29 $inc .= " -DWEBP=1";
30 $inc .= " " . qx<pkg-config --cflags libwebp>; 30 $inc .= " " . qx<pkg-config --cflags libwebp libwebpdemux>;
31 $lib .= " " . qx<pkg-config --libs libwebp>; 31 $lib .= " " . qx<pkg-config --libs libwebp libwebpdemux>;
32} 32}
33 33
34$pkg->add_deps ("Gtk2", "Glib"); 34$pkg->add_deps ("Gtk2", "Glib");
35$pkg->set_libs ($lib); 35$pkg->set_libs ($lib);
36$pkg->set_inc ($inc); 36$pkg->set_inc ($inc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines