svn commit: r487245 - in head/graphics: . imlib2-webp imlib2-webp/files

Li-Wen Hsu lwhsu at FreeBSD.org
Tue Dec 11 17:38:52 UTC 2018


Author: lwhsu
Date: Tue Dec 11 17:38:50 2018
New Revision: 487245
URL: https://svnweb.freebsd.org/changeset/ports/487245

Log:
  Add graphics/imlib2-webp, an imlib2 plugin for webp images
  
  PR:		232871
  Submitted by:	Greg V <greg at unrelenting.technology>

Added:
  head/graphics/imlib2-webp/
  head/graphics/imlib2-webp/Makefile   (contents, props changed)
  head/graphics/imlib2-webp/distinfo   (contents, props changed)
  head/graphics/imlib2-webp/files/
  head/graphics/imlib2-webp/files/patch-makefile   (contents, props changed)
  head/graphics/imlib2-webp/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Tue Dec 11 17:13:55 2018	(r487244)
+++ head/graphics/Makefile	Tue Dec 11 17:38:50 2018	(r487245)
@@ -383,6 +383,7 @@
     SUBDIR += imgv
     SUBDIR += imlib2
     SUBDIR += imlib2_loaders
+    SUBDIR += imlib2-webp
     SUBDIR += impressive
     SUBDIR += imv
     SUBDIR += inkscape

Added: head/graphics/imlib2-webp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/imlib2-webp/Makefile	Tue Dec 11 17:38:50 2018	(r487245)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	imlib2-webp
+PORTVERSION=	20160601
+CATEGORIES=	graphics
+
+MAINTAINER=	greg at unrelenting.technology
+COMMENT=	WebP image loader plugin for Imlib 2
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libImlib2.so:graphics/imlib2 \
+		libwebp.so:graphics/webp
+
+USES=		gmake pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	gawen947
+GH_TAGNAME=	79b3da58f48
+
+MAKEFILE=	makefile
+PLIST_FILES=	lib/imlib2/loaders/webp.so
+
+.include <bsd.port.mk>

Added: head/graphics/imlib2-webp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/imlib2-webp/distinfo	Tue Dec 11 17:38:50 2018	(r487245)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1541024397
+SHA256 (gawen947-imlib2-webp-20160601-79b3da58f48_GH0.tar.gz) = 375cf08518d26055faebd22ad587324c4f86c625cebbee712a8b30786030449b
+SIZE (gawen947-imlib2-webp-20160601-79b3da58f48_GH0.tar.gz) = 6415

Added: head/graphics/imlib2-webp/files/patch-makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/imlib2-webp/files/patch-makefile	Tue Dec 11 17:38:50 2018	(r487245)
@@ -0,0 +1,11 @@
+--- makefile.orig	2018-10-31 22:21:03 UTC
++++ makefile
+@@ -2,7 +2,7 @@ include commands.mk
+ 
+ OPTS    := -O2
+ CFLAGS  := -std=c99 $(OPTS) $(shell imlib2-config --cflags) -fPIC -Wall
+-LDFLAGS := $(shell imlib2-config --libs) -lwebp
++LDFLAGS := $(shell imlib2-config --libs) $(shell pkg-config --libs libwebp)
+ 
+ SRC = $(wildcard *.c)
+ OBJ = $(foreach obj, $(SRC:.c=.o), $(notdir $(obj)))

Added: head/graphics/imlib2-webp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/imlib2-webp/pkg-descr	Tue Dec 11 17:38:50 2018	(r487245)
@@ -0,0 +1,4 @@
+A WebP image loader for Imlib2.
+Allows e.g. viewing WebP images in feh.
+
+WWW: https://www.hauweele.net/~gawen/imlib2-webp.html


More information about the svn-ports-all mailing list