graphics/webp-pixbuf-loader: Update to 0.0.1
Submitted by: Greg V <greg@unrelenting.technology> Differential Revision: https://reviews.freebsd.org/D25899
This commit is contained in:
parent
7358d11020
commit
20755d7d5d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543923
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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;
|
11
graphics/webp-pixbuf-loader/files/patch-meson.build
Normal file
11
graphics/webp-pixbuf-loader/files/patch-meson.build
Normal file
@ -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')
|
||||
|
@ -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)
|
4
graphics/webp-pixbuf-loader/pkg-plist
Normal file
4
graphics/webp-pixbuf-loader/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user