libunique: fix gobject introspection support

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
This commit is contained in:
Alexander Kanavin 2016-02-22 19:34:09 +02:00 committed by Martin Jansa
parent ce0fc16a4b
commit b24a99b38a
2 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,27 @@
From f39bcd5af79aa3efe2cecb2212793c5b596890a8 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 18 Feb 2016 17:40:45 +0200
Subject: [PATCH] Makefile.am: use $(LIBTOOL) instead of hardcoded libtool name
Upstream-Status: Pending
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
unique/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unique/Makefile.am b/unique/Makefile.am
index 6475a87..734f431 100644
--- a/unique/Makefile.am
+++ b/unique/Makefile.am
@@ -114,7 +114,7 @@ Unique-1.0.gir: $(INTROSPECTION_SCANNER) libunique-1.0.la
--include=GObject-2.0 \
--include=Gtk-2.0 \
--library=libunique-1.0.la \
- --libtool="$(top_builddir)/libtool" \
+ --libtool="$(LIBTOOL)" \
--pkg gobject-2.0 \
--pkg gtk+-2.0 \
--output $@ \
--
2.7.0

View File

@ -6,7 +6,9 @@ BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=libunique"
SRC_URI = "${GNOME_MIRROR}/libunique/1.1/libunique-${PV}.tar.bz2 \
file://fix_for_compile_with_gcc-4.6.0.patch \
file://noconst.patch \
file://build.patch"
file://build.patch \
file://0001-Makefile.am-use-LIBTOOL-instead-of-hardcoded-libtool.patch \
"
SRC_URI[md5sum] = "7955769ef31f1bc4f83446dbb3625e6d"
SRC_URI[sha256sum] = "e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb"
@ -22,4 +24,4 @@ LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
inherit autotools pkgconfig
inherit autotools pkgconfig gobject-introspection