Add patch: proper-versioning-of-the-introspection-typelib
OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=23
This commit is contained in:
parent
bfaeab7ed9
commit
fb1cf1fe13
@ -0,0 +1,25 @@
|
||||
From 1f13f0af6dcc0014b27dc9135279267ff21c3199 Mon Sep 17 00:00:00 2001
|
||||
From: Rok Mandeljc <rok.mandeljc@gmail.com>
|
||||
Date: Sun, 9 Jun 2013 18:35:00 +0200
|
||||
Subject: [PATCH] libMirage: proper versioning of the introspection typelib
|
||||
|
||||
---
|
||||
libmirage/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libmirage/CMakeLists.txt b/libmirage/CMakeLists.txt
|
||||
index c265dd2..6d33b40 100644
|
||||
--- a/libmirage/CMakeLists.txt
|
||||
+++ b/libmirage/CMakeLists.txt
|
||||
@@ -221,7 +221,7 @@ endif ()
|
||||
# *** Introspection ***
|
||||
if (INTROSPECTION_ENABLED AND INTROSPECTION_FOUND)
|
||||
gobject_introspection (
|
||||
- FILENAME libMirage-2.0.gir
|
||||
+ FILENAME libMirage-${MIRAGE_MAJOR_VERSION}.${MIRAGE_MINOR_VERSION}.gir
|
||||
NSVERSION ${MIRAGE_VERSION_SHORT}
|
||||
INCLUDES GObject-2.0 Gio-2.0 GLib-2.0 GModule-2.0
|
||||
LIBRARY mirage
|
||||
--
|
||||
1.8.2
|
||||
|
@ -10,6 +10,8 @@ Sun Jun 9 13:54:54 UTC 2013 - jengelh@inai.de
|
||||
0001-libMirage-READCD-Parser-readcd-from-cdrtools-appears.patch,
|
||||
0001-libMirage-READCD-Parser-when-verifying-the-file-don-.patch,
|
||||
0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch
|
||||
- Add (cherry-picked fixes):
|
||||
0001-libMirage-proper-versioning-of-the-introspection-typ.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 09:30:09 UTC 2013 - jengelh@inai.de
|
||||
|
@ -30,6 +30,7 @@ Url: http://cdemu.sf.net/
|
||||
#Git-Clone: git://git.code.sf.net/p/cdemu/code
|
||||
#DL-URL: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
|
||||
Source: http://downloads.sf.net/cdemu/%name-%version.tar.xz
|
||||
Patch1: 0001-libMirage-proper-versioning-of-the-introspection-typ.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake >= 2.8.5
|
||||
BuildRequires: pkgconfig >= 0.16
|
||||
@ -116,11 +117,11 @@ file.
|
||||
|
||||
This package contains the MIME type definitions and documentation.
|
||||
|
||||
%package -n typelib-1_0-libmirage-2_0
|
||||
%package -n typelib-1_0-libmirage-%pname
|
||||
Summary: The libmirage CD-ROM image access library - introspection bindings
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-libmirage-2_0
|
||||
%description -n typelib-1_0-libmirage-%pname
|
||||
libmirage provides uniform access to the data stored in different
|
||||
image formats by creating a representation of disc stored in image
|
||||
file.
|
||||
@ -129,6 +130,7 @@ This package provides the GObject Introspection bindings for libmirage.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p2
|
||||
|
||||
%build
|
||||
# gir is busted on 12.1
|
||||
@ -176,7 +178,7 @@ update-mime-database %{_datadir}/mime || :;
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} != 1210
|
||||
%files -n typelib-1_0-libmirage-2_0
|
||||
%files -n typelib-1_0-libmirage-%pname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/girepository-1.0
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user