Date: Tue, 11 Dec 2018 20:29:28 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487254 - in head/graphics: . webp-pixbuf-loader webp-pixbuf-loader/files Message-ID: <201812112029.wBBKTSZu096388@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lwhsu Date: Tue Dec 11 20:29:28 2018 New Revision: 487254 URL: https://svnweb.freebsd.org/changeset/ports/487254 Log: Add graphics/webp-pixbuf-loader, gdkpixbuf2 loader and thumbnailer for webp PR: 232872 Submitted by: Greg V <greg@unrelenting.technology> Added: head/graphics/webp-pixbuf-loader/ head/graphics/webp-pixbuf-loader/Makefile (contents, props changed) head/graphics/webp-pixbuf-loader/distinfo (contents, props changed) head/graphics/webp-pixbuf-loader/files/ head/graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer (contents, props changed) head/graphics/webp-pixbuf-loader/files/patch-wscript (contents, props changed) head/graphics/webp-pixbuf-loader/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Tue Dec 11 20:28:12 2018 (r487253) +++ head/graphics/Makefile Tue Dec 11 20:29:28 2018 (r487254) @@ -1135,6 +1135,7 @@ SUBDIR += wayland-protocols SUBDIR += waylandpp SUBDIR += webp + SUBDIR += webp-pixbuf-loader SUBDIR += wings SUBDIR += wmicons SUBDIR += wxsvg Added: head/graphics/webp-pixbuf-loader/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/Makefile Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= webp-pixbuf-loader +PORTVERSION= 20160329 +CATEGORIES= graphics + +MAINTAINER= greg@unrelenting.technology +COMMENT= WebP image loader plugin for GdkPixbuf2 + +LICENSE= LGPL20+ + +LIB_DEPENDS= libwebp.so:graphics/webp + +USES= gnome perl5 pkgconfig waf +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> Added: head/graphics/webp-pixbuf-loader/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/distinfo Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +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 Added: head/graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +1,4 @@ +[Thumbnailer Entry] +TryExec=@PREFIX@/bin/gdk-pixbuf-thumbnailer +Exec=@PREFIX@/bin/gdk-pixbuf-thumbnailer -s %s %u %o +MimeType=image/webp; Added: head/graphics/webp-pixbuf-loader/files/patch-wscript ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/files/patch-wscript Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +1,13 @@ +--- 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) Added: head/graphics/webp-pixbuf-loader/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/pkg-descr Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +1,4 @@ +A WebP image loader for GdkPixbuf2. +Also a thumbnailer definition file for e.g. Nautilus. + +WWW: https://github.com/aruiz/webp-pixbuf-loader
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812112029.wBBKTSZu096388>