commit 357376e4051e5e5961f4018ba9d30da53913c3c8 Author: Lukasz Glebicki <ble...@pld-linux.org> Date: Sat Jun 1 22:11:23 2013 +0200
- added patch for linking problems and error: unrecognized command line option '-mwindows' pianobooster-CMakeLists.patch | 11 +++++++++++ pianobooster.spec | 2 ++ 2 files changed, 13 insertions(+) --- diff --git a/pianobooster.spec b/pianobooster.spec index de4e7bf..36bbffc 100644 --- a/pianobooster.spec +++ b/pianobooster.spec @@ -8,6 +8,7 @@ Group: X11/Applications/Games Source0: http://downloads.sourceforge.net/pianobooster/%{name}-src-%{version}.tar.gz # Source0-md5: 4c1c34a4b763e6108aa9668be7890696 Patch0: %{name}-desktop.patch +Patch1: %{name}-CMakeLists.patch URL: http://pianobooster.sourceforge.net/ BuildRequires: QtCore-devel BuildRequires: QtGui-devel @@ -36,6 +37,7 @@ na grę użytkownika korzystającego z muzycznej klawiatury midi. %prep %setup -q -n %{name}-src-%{version} %patch0 -p1 +%patch1 -p0 %build cd build diff --git a/pianobooster-CMakeLists.patch b/pianobooster-CMakeLists.patch new file mode 100644 index 0000000..ba1cf1c --- /dev/null +++ b/pianobooster-CMakeLists.patch @@ -0,0 +1,11 @@ +--- src/CMakeLists.txt.org 2013-06-01 21:44:31.000000000 +0200 ++++ src/CMakeLists.txt 2013-06-01 21:45:19.000000000 +0200 +@@ -203,7 +203,7 @@ + ${PIANOBOOSTER_UI_HDRS} ) + ENDIF(WIN32) + +-SET_TARGET_PROPERTIES(pianobooster PROPERTIES LINK_FLAGS "-mwindows") ++SET_TARGET_PROPERTIES(pianobooster PROPERTIES LINK_FLAGS "-lGL -lpthread") + + IF (USE_PCH) + ADD_PRECOMPILED_HEADER( pianobooster ${CMAKE_CURRENT_SOURCE_DIR}/precompile/precompile.h ) ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/pianobooster.git/commitdiff/357376e4051e5e5961f4018ba9d30da53913c3c8 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit