Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:HighwayStar:sandbox:mingw32
mingw32-libqt4
qt-4.7.1-mingw32-configure.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qt-4.7.1-mingw32-configure.sh of Package mingw32-libqt4
#!/bin/bash - # Before running this, you will need the following RPMs installed: # . wine # . libqt4-devel # . mingw32-filesystem # and you need to have downloaded the source zip file. Run this # command from the RPM SOURCES directory in order to (re-)create # qt-$version-mingw32-configure.patch version=4.7.1 platform=win32-$(rpm --eval %{_mingw32_cxx}) set -e if [ ! -f qt-everywhere-opensource-src-$version.tar.bz2 -o \ ! -f mingw32-qmake.conf -o \ ! -f qplatformdefs.h ]; then echo "You're trying to run this from the wrong directory." echo "Run it from the RPM SOURCES directory." exit 1 fi echo "Unpacking source file ... (this can take a minute or two)" srcdir=qt-everywhere-opensource-src-$version rm -rf $srcdir.orig $srcdir tar xpjf qt-everywhere-opensource-src-$version.tar.bz2 cp -a $srcdir $srcdir.orig mkdir -p $srcdir/mkspecs/${platform} cp mingw32-qmake.conf $srcdir/mkspecs/${platform}/qmake.conf cp qplatformdefs.h $srcdir/mkspecs/${platform} cd $srcdir echo "o" | wine configure.exe \ -platform $platform \ -confirm-license \ -dont-process \ -no-qmake \ -dbus-linked \ -prefix $(rpm --eval %{_mingw32_prefix}) \ -bindir $(rpm --eval %{_mingw32_bindir}) \ -datadir $(rpm --eval %{_mingw32_datadir}) \ -demosdir $(rpm --eval %{_mingw32_libdir})/qt4/demos \ -docdir $(rpm --eval %{_mingw32_docdir}) \ -examplesdir $(rpm --eval %{_mingw32_datadir})/qt4/examples \ -headerdir $(rpm --eval %{_mingw32_includedir}) \ -libdir $(rpm --eval %{_mingw32_libdir}) \ -plugindir $(rpm --eval %{_mingw32_libdir})/qt4/plugins \ -translationdir $(rpm --eval %{_mingw32_datadir})/qt4/translations \ -qt-style-windowsxp \ -qt-style-windowsvista \ -system-sqlite \ -system-zlib \ -system-libpng \ -system-libtiff \ -system-libjpeg \ -webkit -script -scripttools \ -no-3dnow -no-mmx -no-sse -no-sse2 \ -release \ -shared > configure.output 2>&1 cd .. sed \ -e 's%^\(OBJECTS_DIR *=\).*$%\1 tmp/obj/release_shared%' \ -e 's%^\(MOC_DIR *=\).*$%\1 tmp/moc/release_shared%' \ -e 's%^\(RCC_DIR *=\).*$%\1 tmp/rcc/release_shared%' \ -e 's%^\(QMAKESPEC *=\).*$%\1 @builddir@/mkspecs/win32-@mingw32_cxx@%' \ -e 's%^\(QT_BUILD_TREE *=\).*$%\1 @builddir@%' \ -e 's%^\(QT_SOURCE_TREE *=\).*$%\1 @builddir@%' \ -e 's%^\(QMAKE_MOC *=\).*$%\1 moc%' \ -e 's%^\(QMAKE_UIC *=\).*$%\1 uic%' \ -e 's%^\(QMAKE_UIC3 *=\).*$%\1 uic3%' \ -e 's%^\(QMAKE_RCC *=\).*$%\1 rcc%' \ -e 's%^\(QMAKE_DUMPCPP *=\).*$%\1 dumpcpp%' \ -e 's%\\%\/%g' \ < $srcdir/.qmake.cache > qmake.cache.in dos2unix qmake.cache.in rm -r $srcdir/mkspecs/${platform} rm -f $srcdir/configure.output diff --exclude=.qmake.cache -urN $srcdir.orig $srcdir | sed 's/\.orig//' > qt-$version-mingw32-configure.patch ||: dos2unix qt-$version-mingw32-configure.patch rm -r $srcdir.orig $srcdir echo qt-$version-mingw32-configure.patch successfully updated
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor