From: Jakub Bogusz Date: Sat, 28 Sep 2013 15:08:49 +0000 (+0200) Subject: - readded multilib patch (now needed for pkgconfig file) X-Git-Tag: auto/th/game-music-emu-0.6.0-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=a7d362f02a0183dbceeabb19b8a599d434db3fb2;p=packages%2Fgame-music-emu.git - readded multilib patch (now needed for pkgconfig file) --- 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) 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 \