Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2018 17:38:51 +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: r487245 - in head/graphics: . imlib2-webp imlib2-webp/files
Message-ID:  <201812111738.wBBHcp77006864@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812111738.wBBHcp77006864>