pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Enable vala support for gcr.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Thu Dec 6 19:45:47 2018 +0100
Changeset:	2b249e69938753c4c518674198f3b08ab90ca139

Modified Files:
	gcr/Makefile
	gcr/PLIST

Log Message:
Enable vala support for gcr.

Bump revision.

Part of NetBSD/pkgsrc-wip#10 (Midori update).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2b249e69938753c4c518674198f3b08ab90ca139

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gcr/Makefile |  8 +++++---
 gcr/PLIST    | 13 +++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

diffs:
diff --git a/gcr/Makefile b/gcr/Makefile
index 71c50716ae..fe810d5275 100644
--- a/gcr/Makefile
+++ b/gcr/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.67 2015/12/05 21:26:08 adam Exp $
 
 DISTNAME=		gcr-3.28.0
+PKGREVISION=		1
 CATEGORIES=		security
 MASTER_SITES=		${MASTER_SITE_GNOME:=sources/gcr/3.28/}
 EXTRACT_SUFX=		.tar.xz
@@ -12,25 +13,26 @@ LICENSE=		gnu-gpl-v2
 
 BUILD_DEPENDS+=		gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
 BUILD_DEPENDS+=		gettext-m4-[0-9]*:../../devel/gettext-m4
-# XXX: Seems not automatically recognized, investigate further if it is
-# XXX: needed and reenable/delete this comment.
-#BUILD_DEPENDS+=	vala-[0-9]*:../../lang/vala
 
 GNU_CONFIGURE=		yes
 USE_LIBTOOL=		yes
 USE_TOOLS+=		gmake intltool msgfmt perl pkg-config
 
+CONFIGURE_ARGS+=	--enable-vala
+
 PKGCONFIG_OVERRIDE+=	gck-1.pc.in
 PKGCONFIG_OVERRIDE+=	gcr-base-3.pc.in
 PKGCONFIG_OVERRIDE+=	gcr-ui.pc.in
 PKGCONFIG_OVERRIDE+=	gcr-3.pc.in
 
+.include "../../lang/vala/buildlink3.mk"
 .include "../../security/libgcrypt/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../security/p11-kit/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.38
 .include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
 .include "../../textproc/gnome-doc-utils/buildlink3.mk"
 BUILDLINK_API_DEPENDS.gtk3+=	gtk3+>=3.12
 .include "../../x11/gtk3/buildlink3.mk"
diff --git a/gcr/PLIST b/gcr/PLIST
index c58adc31e1..52c7ec3715 100644
--- a/gcr/PLIST
+++ b/gcr/PLIST
@@ -60,6 +60,9 @@ include/gcr-3/ui/gcr-ui.h
 include/gcr-3/ui/gcr-unlock-options-widget.h
 include/gcr-3/ui/gcr-viewer-widget.h
 include/gcr-3/ui/gcr-viewer.h
+lib/girepository-1.0/Gck-1.typelib
+lib/girepository-1.0/Gcr-3.typelib
+lib/girepository-1.0/GcrUi-3.typelib
 lib/libgck-1.la
 lib/libgcr-3.so
 lib/libgcr-3.so.1
@@ -78,6 +81,9 @@ share/applications/gcr-prompter.desktop
 share/applications/gcr-viewer.desktop
 share/dbus-1/services/org.gnome.keyring.PrivatePrompter.service
 share/dbus-1/services/org.gnome.keyring.SystemPrompter.service
+share/gir-1.0/Gck-1.gir
+share/gir-1.0/Gcr-3.gir
+share/gir-1.0/GcrUi-3.gir
 share/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
 share/gtk-doc/html/gck/GckAttributes.html
 share/gtk-doc/html/gck/GckEnumerator.html
@@ -279,3 +285,10 @@ share/locale/zh_CN/LC_MESSAGES/gcr.mo
 share/locale/zh_HK/LC_MESSAGES/gcr.mo
 share/locale/zh_TW/LC_MESSAGES/gcr.mo
 share/mime/packages/gcr-crypto-types.xml
+share/vala/vapi/gck-1.deps
+share/vala/vapi/gck-1.vapi
+share/vala/vapi/gcr-3.deps
+share/vala/vapi/gcr-3.vapi
+share/vala/vapi/gcr-ui-3.deps
+share/vala/vapi/gcr-ui-3.vapi
+share/vala/vapi/pkcs11.vapi


Home | Main Index | Thread Index | Old Index