[packages/game-music-emu] - readded multilib patch (now needed for pkgconfig file)

qboosh qboosh at pld-linux.org
Sat Sep 28 17:08:10 CEST 2013


commit a7d362f02a0183dbceeabb19b8a599d434db3fb2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 28 17:08:49 2013 +0200

    - readded multilib patch (now needed for pkgconfig file)

 game-music-emu-multilib.patch | 8 ++++++++
 game-music-emu.spec           | 2 ++
 2 files changed, 10 insertions(+)
---
diff --git a/game-music-emu.spec b/game-music-emu.spec
index 8cc8343..d439fff 100644
--- a/game-music-emu.spec
+++ b/game-music-emu.spec
@@ -8,6 +8,7 @@ Group:		Libraries
 #Source0Download: http://code.google.com/p/game-music-emu/downloads/list
 Source0:	http://game-music-emu.googlecode.com/files/%{name}-%{version}.tar.bz2
 # Source0-md5:	b98fafb737bc889dc65e7a8b94bd1bf5
+Patch0:		%{name}-multilib.patch
 URL:		http://code.google.com/p/game-music-emu/
 BuildRequires:	cmake >= 2.6
 BuildRequires:	libstdc++-devel
@@ -62,6 +63,7 @@ wykorzystujących bibliotekę game-music-emu.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %cmake \
diff --git a/game-music-emu-multilib.patch b/game-music-emu-multilib.patch
new file mode 100644
index 0000000..24770bc
--- /dev/null
+++ b/game-music-emu-multilib.patch
@@ -0,0 +1,8 @@
+--- game-music-emu-0.6.0/gme/CMakeLists.txt.orig	2012-05-27 22:48:53.000000000 +0200
++++ game-music-emu-0.6.0/gme/CMakeLists.txt	2013-09-28 17:04:29.820592870 +0200
+@@ -159,4 +159,4 @@
+                     ARCHIVE DESTINATION lib) # DLL platforms
+ 
+ install(FILES ${EXPORTED_HEADERS} DESTINATION include/gme)
+-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libgme.pc DESTINATION lib/pkgconfig)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libgme.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/game-music-emu.git/commitdiff/a7d362f02a0183dbceeabb19b8a599d434db3fb2



More information about the pld-cvs-commit mailing list