Accepting request 743863 from home:jkraehemann:branches:multimedia:libs

- update libinstpatch-cmake-fixes.patch to fix soname in
  libinstpatch-1.0.pc

OBS-URL: https://build.opensuse.org/request/show/743863
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libinstpatch?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal 2019-10-29 15:50:28 +00:00 committed by Git OBS Bridge
parent ab6c91332b
commit 61381da52c
3 changed files with 22 additions and 16 deletions

View File

@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e41853e..c6d4c97 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,9 +176,9 @@ set (INSTPATCH_INSTALL_TARGET "libinstpatch-${LIB_VERSION_CURRENT}")
Index: libinstpatch-1.1.0/CMakeLists.txt
===================================================================
--- libinstpatch-1.1.0.orig/CMakeLists.txt
+++ libinstpatch-1.1.0/CMakeLists.txt
@@ -176,19 +176,19 @@ set (INSTPATCH_INSTALL_TARGET "libinstpa
# pkg-config support
if ( UNIX OR MINGW OR WIN32)
set ( prefix "${CMAKE_INSTALL_PREFIX}" )
@ -15,7 +15,10 @@ index e41853e..c6d4c97 100644
# stamp library name with version current value (for Windows only)
if(MINGW OR WIN32)
set ( lib_output_name ${INSTPATCH_INSTALL_TARGET} )
@@ -188,7 +188,7 @@ if ( UNIX OR MINGW OR WIN32)
else(MINGW OR WIN32)
- set ( lib_output_name instpatch )
+ set ( lib_output_name instpatch-1.0 )
endif(MINGW OR WIN32)
configure_file ( libinstpatch-1.0.pc.in
${CMAKE_BINARY_DIR}/libinstpatch-1.0.pc IMMEDIATE @ONLY )
install ( FILES ${CMAKE_BINARY_DIR}/libinstpatch-1.0.pc
@ -24,10 +27,10 @@ index e41853e..c6d4c97 100644
endif ( UNIX OR MINGW OR WIN32)
# Extra targets for Unix build environments
diff --git a/libinstpatch/CMakeLists.txt b/libinstpatch/CMakeLists.txt
index e8ed164..fa9827e 100644
--- a/libinstpatch/CMakeLists.txt
+++ b/libinstpatch/CMakeLists.txt
Index: libinstpatch-1.1.0/libinstpatch/CMakeLists.txt
===================================================================
--- libinstpatch-1.1.0.orig/libinstpatch/CMakeLists.txt
+++ libinstpatch-1.1.0/libinstpatch/CMakeLists.txt
@@ -353,7 +353,7 @@ else( MINGW OR WIN32 )
set_target_properties ( libinstpatch
PROPERTIES
@ -48,6 +51,3 @@ index e8ed164..fa9827e 100644
FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
BUNDLE DESTINATION ${BUNDLE_INSTALL_DIR}
)
--
2.16.4

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 29 15:23:50 UTC 2019 - Joël Krähemann <jkraehemann@gmail.com>
- update libinstpatch-cmake-fixes.patch to fix soname in
libinstpatch-1.0.pc
-------------------------------------------------------------------
Sat Oct 19 13:13:12 UTC 2019 - Tom Mbrt <tom.mbrt@googlemail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libinstpatch
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -20,7 +20,7 @@ Name: libinstpatch
Version: 1.1.0
Release: 0
Summary: MIDI instrument patch library
License: LGPL-2.1
License: LGPL-2.1-only
Group: Development/Libraries/C and C++
Url: http://www.swamiproject.org/
# Fetch source via