Changeset View
Standalone View
graphics/webp-pixbuf-loader/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= webp-pixbuf-loader | PORTNAME= webp-pixbuf-loader | ||||
PORTVERSION= 20160329 | DISTVERSION= 0.0.1-5 | ||||
DISTVERSIONSUFFIX= -g9a53ad7 | |||||
PORTEPOCH= 1 | |||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
MAINTAINER= greg@unrelenting.technology | MAINTAINER= greg@unrelenting.technology | ||||
COMMENT= WebP image loader plugin for GdkPixbuf2 | COMMENT= WebP image loader plugin for GdkPixbuf2 | ||||
LICENSE= LGPL20+ | LICENSE= LGPL20+ | ||||
DEPRECATED= Uses deprecated version of python | |||||
EXPIRATION_DATE= 2020-09-15 | |||||
LIB_DEPENDS= libwebp.so:graphics/webp | LIB_DEPENDS= libwebp.so:graphics/webp | ||||
USES= gnome perl5 pkgconfig python:2.7,build waf | USES= gnome meson pkgconfig | ||||
USE_GNOME= gdkpixbuf2 | USE_GNOME= gdkpixbuf2 | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= aruiz | GH_ACCOUNT= aruiz | ||||
GH_TAGNAME= 9b92950d49d7 | |||||
PLIST_FILES= lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders/libpixbufloader-webp.so \ | PLIST_FILES= lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders/libpixbufloader-webp.so \ | ||||
share/thumbnailers/gdk-pixbuf-webp-thumbnailer.thumbnailer | share/thumbnailers/webp-pixbuf.thumbnailer | ||||
val_packett.cool: I'm pretty sure it should be `thumbnailers`, that must be a mistake.
```
% ls… | |||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdk-pixbuf-2.0/*/loaders/* | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdk-pixbuf-2.0/*/loaders/* | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/thumbnailers | ${ECHO_CMD} gdk-pixbuf-query-loaders --update-cache | ||||
Done Inline Actions??? You've commented it out in meson just to do the same manually at the same time. post-install is when the ports makefile "installs" the software into the staging directory.
We have to have a pkg-plist that would do this IN PKG. val_packett.cool: ???
You've commented it out in meson just to do the same manually at the same time. `post… | |||||
Done Inline Actions
Sorry, just saw I see your comment, and I have not finished yet. :-) rigoletto: > ???
>
> You've commented it out in meson just to do the same manually at the same time. | |||||
Done Inline ActionsThat echo won't do anything unless you echo into TMPPLIST or PLIST whatever is appropriate for PLIST_FILES. I'd rather switch to a real plist file. val_packett.cool: That `echo` won't do anything unless you `echo` into `TMPPLIST` or `PLIST` whatever is… | |||||
Done Inline ActionsHi, we can switch to a pkg-plist file but the project recommendation is to use PLIST_FILES when there are just a few files. :-) rigoletto: Hi, we can switch to a pkg-plist file but the project recommendation is to use PLIST_FILES when… | |||||
${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> | .include <bsd.port.mk> |
I'm pretty sure it should be thumbnailers, that must be a mistake.
Raised https://github.com/aruiz/webp-pixbuf-loader/issues/19