ports/graphics/webp-pixbuf-loader/files/patch-wscript
Li-Wen Hsu 74bb792f86 Add graphics/webp-pixbuf-loader, gdkpixbuf2 loader and thumbnailer for webp
PR:		232872
Submitted by:	Greg V <greg@unrelenting.technology>
2018-12-11 20:29:28 +00:00

13 lines
611 B
Text

--- wscript.orig 2018-10-31 22:31:58 UTC
+++ wscript
@@ -5,8 +5,8 @@ def options(opt):
def configure(conf):
conf.load('compiler_c glib2')
conf.find_program('gdk-pixbuf-query-loaders')
- conf.check_cc(lib='webp', header_name='webp/decode.h',
- uselib_store='WEBP', mandatory=True)
+ conf.check_cfg(package='libwebp', uselib_store='WEBP',
+ args='--cflags --libs', mandatory=True)
conf.check_cfg(package='gdk-pixbuf-2.0', uselib_store='GDK_PIXBUF',
atleast_version='2.22.0', args='--cflags --libs',
mandatory=True)