summaryrefslogtreecommitdiff
path: root/graphics/gimp-webp
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2015-11-16 13:33:13 +0000
committernros <nros@pkgsrc.org>2015-11-16 13:33:13 +0000
commit4af08ab09b1744ef53a5423086dc56d7b04c3622 (patch)
tree026d7102153a17464209a08f4a8a550d3cfcf1a5 /graphics/gimp-webp
parent43f3ac47747882da771a38dfed6b11cc268dc7e9 (diff)
downloadpkgsrc-4af08ab09b1744ef53a5423086dc56d7b04c3622.tar.gz
Import of gimp-webp to pkgsrc-current.
Packaged in pkgsrc-wip by nros(me). This plugin allows the Gimp to open and save image files in the WebP format.
Diffstat (limited to 'graphics/gimp-webp')
-rw-r--r--graphics/gimp-webp/DESCR2
-rw-r--r--graphics/gimp-webp/Makefile18
-rw-r--r--graphics/gimp-webp/PLIST2
-rw-r--r--graphics/gimp-webp/distinfo7
-rw-r--r--graphics/gimp-webp/patches/patch-CMakeLists.txt13
5 files changed, 42 insertions, 0 deletions
diff --git a/graphics/gimp-webp/DESCR b/graphics/gimp-webp/DESCR
new file mode 100644
index 00000000000..2054eac41e8
--- /dev/null
+++ b/graphics/gimp-webp/DESCR
@@ -0,0 +1,2 @@
+This plugin allows the Gimp to open and save image files in the WebP
+format.
diff --git a/graphics/gimp-webp/Makefile b/graphics/gimp-webp/Makefile
new file mode 100644
index 00000000000..bf8553d40cd
--- /dev/null
+++ b/graphics/gimp-webp/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2015/11/16 13:33:13 nros Exp $
+
+DISTNAME= gimp-webp-0.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=nathan-osman/}
+EXTRACT_USING= bsdtar
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/nathan-osman/gimp-webp
+COMMENT= WebP Gimp I/O plugin
+LICENSE= gnu-gpl-v3
+
+USE_TOOLS+= pkg-config
+USE_CMAKE= yes
+
+.include "../../graphics/gimp/buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gimp-webp/PLIST b/graphics/gimp-webp/PLIST
new file mode 100644
index 00000000000..e2d7b1ca182
--- /dev/null
+++ b/graphics/gimp-webp/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2015/11/16 13:33:13 nros Exp $
+lib/gimp/2.0/plug-ins/file-webp
diff --git a/graphics/gimp-webp/distinfo b/graphics/gimp-webp/distinfo
new file mode 100644
index 00000000000..a1ab3f25431
--- /dev/null
+++ b/graphics/gimp-webp/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2015/11/16 13:33:13 nros Exp $
+
+SHA1 (gimp-webp-0.2.tar.gz) = d0b0d6bbf9004a043ea10ac1fd84bd2783d190b6
+RMD160 (gimp-webp-0.2.tar.gz) = 38bc31d44e39e29124ffa6f14ecd312b8e077e88
+SHA512 (gimp-webp-0.2.tar.gz) = 8d8d80d651a2d86b1126f331c57b63d1ccfe32bd786b1777a406864bb6f0cd47e61a4e54fa474eb37da7bb3a65c5b5594fb51fe8180dbaa90837f85e41607aed
+Size (gimp-webp-0.2.tar.gz) = 21823 bytes
+SHA1 (patch-CMakeLists.txt) = dbd9803f398a5c4c4f18d39b0ca8bf5d395f9222
diff --git a/graphics/gimp-webp/patches/patch-CMakeLists.txt b/graphics/gimp-webp/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..61d7983b166
--- /dev/null
+++ b/graphics/gimp-webp/patches/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2015/11/16 13:33:14 nros Exp $
+This project only uses C.
+--- CMakeLists.txt.orig 2015-11-16 11:22:30.000000000 +0000
++++ CMakeLists.txt
+@@ -15,7 +15,7 @@
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ cmake_minimum_required(VERSION 2.8.12)
+-project(gimp-webp)
++project(gimp-webp C)
+
+ # Find the packages that contain the Gimp/WebP headers and libraries
+ find_package(PkgConfig REQUIRED)