Permalink
Browse files

polish mingw

  • Loading branch information...
marguerite committed Oct 14, 2012
1 parent 5483e8b commit cc14e38e994088a68c263e8768225ad5e4695155
Showing with 7 additions and 3 deletions.
  1. +1 −1 cmake/Toolchain-windows-mingw32-openSUSE.cmake
  2. +1 −1 spec/mingw32-hotot.changes
  3. +5 −1 spec/mingw32-hotot.spec
@@ -9,7 +9,7 @@ SET(CMAKE_C_COMPILER ccache ${MINGW_PREFIX}-gcc)
SET(CMAKE_CXX_COMPILER ccache ${MINGW_PREFIX}-g++)
SET(CMAKE_C_FLAGS "-fno-keep-inline-dllexport")
SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE} -march=pentium4 -mtune=pentium4 -mwindows -O2")
SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "-Wl,--no-undefined -static-libgcc -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s")
SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "-Wl,--no-undefined -static-libgcc -static-libstdc++ -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -s")
SET(CMAKE_RC_COMPILER /usr/bin/${MINGW_PREFIX}-windres)

SET(CMAKE_FIND_ROOT_PATH /usr/${MINGW_PREFIX}/sys-root/mingw)
@@ -1,7 +1,7 @@
-------------------------------------------------------------------
Wed Sep 26 09:25:48 UTC 2012 - i@marguerite.su

- update Version 0.9.8.8
- update version 0.9.8.8
* Kismet should handle retweeted tweets now
* Brackets are now considered part of url.
* Disable verbose mode by default.
@@ -76,7 +76,10 @@ sed -i "s/Categories=Qt;Network;/Categories=Qt;Network;InstantMessaging;/" misc/
%build
mkdir winbuild
cd winbuild
cmake -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-windows-mingw32-openSUSE.cmake -DCMAKE_INSTALL_PREFIX=%{buildroot}%{_mingw32_prefix} -DLIB_INSTALL_DIR=%{buildroot}%{_mingw32_libdir} \
cmake -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-windows-mingw32-openSUSE.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{buildroot}%{_mingw32_prefix} \
-DLIB_INSTALL_DIR=%{buildroot}%{_mingw32_libdir} \
-DWITH_GIR=OFF \
-DWITH_GTK=OFF \
-DWITH_QT=ON \
@@ -112,5 +115,6 @@ cp -r LGPL-license.txt %{buildroot}%{_mingw32_docdir}/%{appname}/
%{_mingw32_datadir}/%{appname}/
%{_mingw32_datadir}/icons/
%{_mingw32_datadir}/locale/
%{_mingw32_docdir}/%{appname}/

%changelog

0 comments on commit cc14e38

Please sign in to comment.