diff options
author | Alexandre C. GuimarĂ£es <rigoletto@FreeBSD.org> | 2020-08-01 21:16:05 +0000 |
---|---|---|
committer | Alexandre C. GuimarĂ£es <rigoletto@FreeBSD.org> | 2020-08-01 21:16:05 +0000 |
commit | 20755d7d5d8987c5d0c243ace4b2d1584cdda69b (patch) | |
tree | 7736211e31aee1f811748f484c3e6a18981b6968 /graphics/webp-pixbuf-loader | |
parent | 7358d11020d2fd314746d5b8e7ca8e9a442276c5 (diff) |
Notes
Diffstat (limited to 'graphics/webp-pixbuf-loader')
-rw-r--r-- | graphics/webp-pixbuf-loader/Makefile | 17 | ||||
-rw-r--r-- | graphics/webp-pixbuf-loader/distinfo | 6 | ||||
-rw-r--r-- | graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer | 4 | ||||
-rw-r--r-- | graphics/webp-pixbuf-loader/files/patch-meson.build | 11 | ||||
-rw-r--r-- | graphics/webp-pixbuf-loader/files/patch-wscript | 13 | ||||
-rw-r--r-- | graphics/webp-pixbuf-loader/pkg-plist | 4 |
6 files changed, 23 insertions, 32 deletions
diff --git a/graphics/webp-pixbuf-loader/Makefile b/graphics/webp-pixbuf-loader/Makefile index 38c90b6a495c..0b668d4f3c65 100644 --- a/graphics/webp-pixbuf-loader/Makefile +++ b/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 @@ COMMENT= WebP image loader plugin for GdkPixbuf2 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 <bsd.port.mk> diff --git a/graphics/webp-pixbuf-loader/distinfo b/graphics/webp-pixbuf-loader/distinfo index 7c75f1bef62f..708e798d8044 100644 --- a/graphics/webp-pixbuf-loader/distinfo +++ b/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 diff --git a/graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer b/graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer deleted file mode 100644 index 572b68ca4cdb..000000000000 --- a/graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer +++ /dev/null @@ -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; diff --git a/graphics/webp-pixbuf-loader/files/patch-meson.build b/graphics/webp-pixbuf-loader/files/patch-meson.build new file mode 100644 index 000000000000..81e9c088d89f --- /dev/null +++ b/graphics/webp-pixbuf-loader/files/patch-meson.build @@ -0,0 +1,11 @@ +--- meson.build.orig 2020-08-01 21:12:12 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') + diff --git a/graphics/webp-pixbuf-loader/files/patch-wscript b/graphics/webp-pixbuf-loader/files/patch-wscript deleted file mode 100644 index a3ded26a51b7..000000000000 --- a/graphics/webp-pixbuf-loader/files/patch-wscript +++ /dev/null @@ -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) diff --git a/graphics/webp-pixbuf-loader/pkg-plist b/graphics/webp-pixbuf-loader/pkg-plist new file mode 100644 index 000000000000..42b7ba98ad0b --- /dev/null +++ b/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 |