- record a "package name" in the generated .gir file.

from upstream.
This commit is contained in:
jasper 2012-12-02 19:29:46 +00:00
parent 6cc72db009
commit 4d5103d170
2 changed files with 21 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2012/08/20 08:53:39 jasper Exp $
# $OpenBSD: Makefile,v 1.17 2012/12/02 19:29:46 jasper Exp $
SHARED_ONLY= Yes
@ -6,6 +6,7 @@ COMMENT= framework for creating UPnP devices and control points
GNOME_PROJECT= gupnp
GNOME_VERSION= 0.18.4
REVISION= 0
SHARED_LIBS += gupnp-1.0 1.0 # 4.0

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-libgupnp_Makefile_in,v 1.1 2012/12/02 19:29:46 jasper Exp $
From 6342b98715b84b3452ba7a9a83fff096d3a0fa55 Mon Sep 17 00:00:00 2001
From: Jens Georg <mail@jensge.org>
Date: Sat, 06 Oct 2012 10:44:15 +0000
Subject: Fix package in GIR
--- libgupnp/Makefile.in.orig Sun Dec 2 20:24:59 2012
+++ libgupnp/Makefile.in Sun Dec 2 20:25:22 2012
@@ -410,7 +410,8 @@ INTROSPECTION_GIRS = $(am__append_2)
INTROSPECTION_SCANNER_ARGS = --warn-all \
--symbol-prefix=gupnp \
--identifier-prefix=GUPnP \
- --add-include-path=$(top_srcdir)
+ --add-include-path=$(top_srcdir) \
+ --pkg-export=gupnp-1.0
INTROSPECTION_COMPILER_ARGS = --includedir=$(top_srcdir)
@HAVE_INTROSPECTION_TRUE@GUPnP_1_0_gir_INCLUDES = libxml2-2.0 GObject-2.0 Soup-2.4 GSSDP-1.0