Index: graphics/webp-pixbuf-loader/Makefile =================================================================== --- graphics/webp-pixbuf-loader/Makefile +++ graphics/webp-pixbuf-loader/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ PORTNAME= webp-pixbuf-loader -PORTVERSION= 20160329 +DISTVERSION= 0.0.1-4 +DISTVERSIONSUFFIX= -ged7cde2 CATEGORIES= graphics MAINTAINER= greg@unrelenting.technology @@ -9,24 +10,20 @@ LICENSE= LGPL20+ -DEPRECATED= Uses deprecated version of python -EXPIRATION_DATE= 2020-09-15 - LIB_DEPENDS= libwebp.so:graphics/webp -USES= gnome perl5 pkgconfig python:2.7,build waf +USES= gnome meson pkgconfig USE_GNOME= gdkpixbuf2 + USE_GITHUB= yes GH_ACCOUNT= aruiz -GH_TAGNAME= 9b92950d49d7 PLIST_FILES= lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders/libpixbufloader-webp.so \ - share/thumbnailers/gdk-pixbuf-webp-thumbnailer.thumbnailer + share/thumbnailer/webp-pixbuf.thumbnailer post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdk-pixbuf-2.0/*/loaders/* - ${MKDIR} ${STAGEDIR}${PREFIX}/share/thumbnailers - ${SED} -e 's|@PREFIX@|${LOCALBASE}|g' ${FILESDIR}/gdk-pixbuf-webp-thumbnailer.thumbnailer \ - > ${STAGEDIR}${PREFIX}/share/thumbnailers/gdk-pixbuf-webp-thumbnailer.thumbnailer + ${STRIP_CMD} \ + ${STAGEDIR}${PREFIX}lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders/libpixbufloader-webp.so + .include Index: graphics/webp-pixbuf-loader/distinfo =================================================================== --- graphics/webp-pixbuf-loader/distinfo +++ graphics/webp-pixbuf-loader/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1541025028 -SHA256 (aruiz-webp-pixbuf-loader-20160329-9b92950d49d7_GH0.tar.gz) = 98bc7726ce18363b559253c698769921500f1a583d4d8deffb937c787f3792b0 -SIZE (aruiz-webp-pixbuf-loader-20160329-9b92950d49d7_GH0.tar.gz) = 86102 +TIMESTAMP = 1595810698 +SHA256 (aruiz-webp-pixbuf-loader-0.0.1-4-ged7cde2_GH0.tar.gz) = 4a0534c205131d3bbde943932c8a1110a851663e6f89e882b5159bb735d40703 +SIZE (aruiz-webp-pixbuf-loader-0.0.1-4-ged7cde2_GH0.tar.gz) = 8538 Index: graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer =================================================================== --- graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer +++ graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer @@ -1,4 +0,0 @@ -[Thumbnailer Entry] -TryExec=@PREFIX@/bin/gdk-pixbuf-thumbnailer -Exec=@PREFIX@/bin/gdk-pixbuf-thumbnailer -s %s %u %o -MimeType=image/webp; Index: graphics/webp-pixbuf-loader/files/patch-wscript =================================================================== --- graphics/webp-pixbuf-loader/files/patch-wscript +++ graphics/webp-pixbuf-loader/files/patch-wscript @@ -1,13 +0,0 @@ ---- 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)