Index: graphics/webp-pixbuf-loader/Makefile =================================================================== --- graphics/webp-pixbuf-loader/Makefile +++ graphics/webp-pixbuf-loader/Makefile @@ -1,7 +1,9 @@ # $FreeBSD$ PORTNAME= webp-pixbuf-loader -PORTVERSION= 20160329 +DISTVERSION= 0.0.1-5 +DISTVERSIONSUFFIX= -g9a53ad7 +PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= greg@unrelenting.technology @@ -9,24 +11,15 @@ 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 - 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 .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 = 1596192088 +SHA256 (aruiz-webp-pixbuf-loader-0.0.1-5-g9a53ad7_GH0.tar.gz) = 2bd71124fbc3211339324c7013705de7202275adf00de731869fc331dacac10a +SIZE (aruiz-webp-pixbuf-loader-0.0.1-5-g9a53ad7_GH0.tar.gz) = 8541 Index: graphics/webp-pixbuf-loader/files/patch-meson.build =================================================================== --- /dev/null +++ graphics/webp-pixbuf-loader/files/patch-meson.build @@ -0,0 +1,11 @@ +--- meson.build.orig 2020-07-31 11:01:24 UTC ++++ meson.build +@@ -23,7 +23,7 @@ configure_file(input: 'webp-pixbuf.thumbnailer.in', + install: true, + install_dir: get_option('datadir') / 'thumbnailers') + +-meson.add_install_script(gdk_pb_query_loaders.path(), '--update-cache') ++#meson.add_install_script(gdk_pb_query_loaders.path(), '--update-cache') + + subdir('tests') + Index: graphics/webp-pixbuf-loader/pkg-plist =================================================================== --- /dev/null +++ graphics/webp-pixbuf-loader/pkg-plist @@ -0,0 +1,4 @@ +lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libpixbufloader-webp.so +share/thumbnailers/webp-pixbuf.thumbnailer +@postexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true +@postunexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true