summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgls <gls@pkgsrc.org>2010-11-15 18:55:43 +0000
committergls <gls@pkgsrc.org>2010-11-15 18:55:43 +0000
commit4ba81e20e9675395042a739fb6eb8833eff0384c (patch)
treee6c1c211eefbc8772ac9d3190f9bd665fe26798c
parent3ee8dec055b3685b585af357ae1cb39c2729d7a7 (diff)
downloadpkgsrc-4ba81e20e9675395042a739fb6eb8833eff0384c.tar.gz
Import libgexiv2-0.2.1 into the NetBSD Packages collection.
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic features of Exiv2 available to GNOME applications.
-rw-r--r--graphics/libgexiv2/DESCR2
-rw-r--r--graphics/libgexiv2/Makefile30
-rw-r--r--graphics/libgexiv2/PLIST9
-rw-r--r--graphics/libgexiv2/buildlink3.mk15
-rw-r--r--graphics/libgexiv2/distinfo6
-rw-r--r--graphics/libgexiv2/patches/patch-aa13
6 files changed, 75 insertions, 0 deletions
diff --git a/graphics/libgexiv2/DESCR b/graphics/libgexiv2/DESCR
new file mode 100644
index 00000000000..3e86f9a5da1
--- /dev/null
+++ b/graphics/libgexiv2/DESCR
@@ -0,0 +1,2 @@
+gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes
+the basic features of Exiv2 available to GNOME applications.
diff --git a/graphics/libgexiv2/Makefile b/graphics/libgexiv2/Makefile
new file mode 100644
index 00000000000..c7dd2f19588
--- /dev/null
+++ b/graphics/libgexiv2/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/11/15 18:55:43 gls Exp $
+#
+
+DISTNAME= libgexiv2-0.2.1
+CATEGORIES= graphics devel
+MASTER_SITES= http://yorba.org/download/gexiv2/0.2/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://trac.yorba.org/wiki/gexiv2
+COMMENT= GObject-based wrapper around the Exiv2 library
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LIBTOOL= yes
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake m4
+
+BUILD_DEPENDS+= vala-[0-9]*:../../lang/vala
+
+CONFIG_SHELL= bash
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+
+PKGCONFIG_OVERRIDE= gexiv2.m4
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/exiv2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libgexiv2/PLIST b/graphics/libgexiv2/PLIST
new file mode 100644
index 00000000000..1292882b57e
--- /dev/null
+++ b/graphics/libgexiv2/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/15 18:55:43 gls Exp $
+include/gexiv2/gexiv2-managed-stream.h
+include/gexiv2/gexiv2-metadata.h
+include/gexiv2/gexiv2-preview-image.h
+include/gexiv2/gexiv2-preview-properties.h
+include/gexiv2/gexiv2.h
+lib/libgexiv2.la
+lib/pkgconfig/gexiv2.pc
+share/vala/vapi/gexiv2.vapi
diff --git a/graphics/libgexiv2/buildlink3.mk b/graphics/libgexiv2/buildlink3.mk
new file mode 100644
index 00000000000..f5fd07fbfda
--- /dev/null
+++ b/graphics/libgexiv2/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/11/15 18:55:43 gls Exp $
+
+BUILDLINK_TREE+= libgexiv2
+
+.if !defined(LIBGEXIV2_BUILDLINK3_MK)
+LIBGEXIV2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libgexiv2+= libgexiv2>=0.2.0
+BUILDLINK_PKGSRCDIR.libgexiv2?= ../../graphics/libgexiv2
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/exiv2/buildlink3.mk"
+.endif # LIBGEXIV2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libgexiv2
diff --git a/graphics/libgexiv2/distinfo b/graphics/libgexiv2/distinfo
new file mode 100644
index 00000000000..e61e9ee3bed
--- /dev/null
+++ b/graphics/libgexiv2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/11/15 18:55:43 gls Exp $
+
+SHA1 (libgexiv2-0.2.1.tar.bz2) = b7ab9c35ed221dc18ab4493c51b7b9aac936867f
+RMD160 (libgexiv2-0.2.1.tar.bz2) = 4882c83a2646c3dc8f4ac0a885e76129f1ddc3b9
+Size (libgexiv2-0.2.1.tar.bz2) = 24419 bytes
+SHA1 (patch-aa) = 4a58e9aea1bac3115dba86f787246e361433e954
diff --git a/graphics/libgexiv2/patches/patch-aa b/graphics/libgexiv2/patches/patch-aa
new file mode 100644
index 00000000000..af896a0b9d6
--- /dev/null
+++ b/graphics/libgexiv2/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/11/15 18:55:43 gls Exp $
+
+--- Makefile.orig 2010-09-10 21:52:54.000000000 +0000
++++ Makefile
+@@ -159,7 +159,7 @@ $(VAPI_FILE): $(EXPANDED_VAPI_INPUT) $(D
+ vapigen --library=$(PKGNAME) --metadata=vapi/$(PKGNAME).metadata vapi/$(PKGNAME).gi
+
+ $(PC_FILE) : $(PC_INPUT) Makefile $(CONFIG_IN)
+- m4 '--define=_VERSION_=$(VERSION)' '--define=_PREFIX_=$(PREFIX)' $< > $@
++ m4 '-D_VERSION_=$(VERSION)' '-D_PREFIX_=$(PREFIX)' $< > $@
+
+ $(EXPANDED_OBJ_FILES): $(BUILD_DIR)/%.o: gexiv2/%.cpp $(EXPANDED_HEADER_FILES) $(CONFIG_IN) Makefile
+ @pkg-config --print-errors --exists '$(EXT_PKG_VERSIONS)'