Commit 09db1d4c authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

contrib: Use qt4_win32 with respects to qt4_mac in order not to confuse the two.

parent eca17b60
...@@ -4,7 +4,7 @@ all: .iconv .intl .freetype .fribidi .zlib \ ...@@ -4,7 +4,7 @@ all: .iconv .intl .freetype .fribidi .zlib \
.flac .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ .flac .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \
.live .goom2k4 .caca .mod .x264 .xml .twolame \ .live .goom2k4 .caca .mod .x264 .xml .twolame \
.png .gpg-error .gcrypt .gnutls .mpcdec \ .png .gpg-error .gcrypt .gnutls .mpcdec \
.dvdnav .dvbpsi .wxwidgets .qt4 .dirac .SDL_image \ .dvdnav .dvbpsi .wxwidgets .qt4_win32 .dirac .SDL_image \
.dx_headers .dshow_headers .gecko-win32 .unicows .dca \ .dx_headers .dshow_headers .gecko-win32 .unicows .dca \
.lua .tag .fontconfig .portaudio \ .lua .tag .fontconfig .portaudio \
.aclocal .aclocal
......
...@@ -1465,10 +1465,10 @@ DISTCLEAN_PKG += wxWidgets-$(WXWIDGETS_VERSION).tar.gz ...@@ -1465,10 +1465,10 @@ DISTCLEAN_PKG += wxWidgets-$(WXWIDGETS_VERSION).tar.gz
qt4-$(QT4_VERSION)-win32-bin.tar.bz2: qt4-$(QT4_VERSION)-win32-bin.tar.bz2:
$(WGET) $(QT4_URL) $(WGET) $(QT4_URL)
qt4: qt4-$(QT4_VERSION)-win32-bin.tar.bz2 qt4_win32: qt4-$(QT4_VERSION)-win32-bin.tar.bz2
$(EXTRACT_BZ2) $(EXTRACT_BZ2)
.qt4: qt4 .qt4_win32: qt4_win32
(cd qt4;mkdir -p $(PREFIX)/bin; mkdir -p $(PREFIX)/include;mkdir -p $(PREFIX)/lib/pkgconfig;rm -f $(PREFIX)/lib/pkgconfig/Qt*; sed 's,@@PREFIX@@,$(PREFIX),' lib/pkgconfig/QtCore.pc.in > $(PREFIX)/lib/pkgconfig/QtCore.pc;sed 's,@@PREFIX@@,$(PREFIX),' lib/pkgconfig/QtGui.pc.in > $(PREFIX)/lib/pkgconfig/QtGui.pc;cp -r include/* $(PREFIX)/include;cp lib/*a $(PREFIX)/lib) (cd qt4;mkdir -p $(PREFIX)/bin; mkdir -p $(PREFIX)/include;mkdir -p $(PREFIX)/lib/pkgconfig;rm -f $(PREFIX)/lib/pkgconfig/Qt*; sed 's,@@PREFIX@@,$(PREFIX),' lib/pkgconfig/QtCore.pc.in > $(PREFIX)/lib/pkgconfig/QtCore.pc;sed 's,@@PREFIX@@,$(PREFIX),' lib/pkgconfig/QtGui.pc.in > $(PREFIX)/lib/pkgconfig/QtGui.pc;cp -r include/* $(PREFIX)/include;cp lib/*a $(PREFIX)/lib)
ifeq ($(BUILD),i686-pc-cygwin) ifeq ($(BUILD),i686-pc-cygwin)
(cd qt4;cp bin/*.exe $(PREFIX)/bin) (cd qt4;cp bin/*.exe $(PREFIX)/bin)
...@@ -1477,8 +1477,8 @@ else ...@@ -1477,8 +1477,8 @@ else
endif endif
touch $@ touch $@
CLEAN_FILE += .qt4 CLEAN_FILE += .qt4_win32
CLEAN_PKG += qt4 CLEAN_PKG += qt4_win32
DISTCLEAN_PKG += qt4-$(QT4_VERSION)-win32-bin.tar.gz DISTCLEAN_PKG += qt4-$(QT4_VERSION)-win32-bin.tar.gz
# *************************************************************************** # ***************************************************************************
...@@ -1488,7 +1488,7 @@ DISTCLEAN_PKG += qt4-$(QT4_VERSION)-win32-bin.tar.gz ...@@ -1488,7 +1488,7 @@ DISTCLEAN_PKG += qt4-$(QT4_VERSION)-win32-bin.tar.gz
qt-win-opensource-$(QT4T_VERSION)-mingw.exe: qt-win-opensource-$(QT4T_VERSION)-mingw.exe:
wget $(QT4T_URL) wget $(QT4T_URL)
Qt: qt-win-opensource-$(QT4T_VERSION)-mingw.exe Qt_win32: qt-win-opensource-$(QT4T_VERSION)-mingw.exe
mkdir Qt mkdir Qt
7z -oQt x qt-win-opensource-$(QT4T_VERSION)-mingw.exe \$$OUTDIR/bin\ /bin \$$OUTDIR/bin\ /lib \$$OUTDIR/bin\ /include/QtCore \$$OUTDIR/bin\ /include/QtGui \$$OUTDIR/bin\ /src/gui \$$OUTDIR/bin\ /src/corelib \$$OUTDIR/bin\ /translations 7z -oQt x qt-win-opensource-$(QT4T_VERSION)-mingw.exe \$$OUTDIR/bin\ /bin \$$OUTDIR/bin\ /lib \$$OUTDIR/bin\ /include/QtCore \$$OUTDIR/bin\ /include/QtGui \$$OUTDIR/bin\ /src/gui \$$OUTDIR/bin\ /src/corelib \$$OUTDIR/bin\ /translations
mv Qt/\$$OUTDIR/bin\ /* Qt/ && rmdir Qt/\$$OUTDIR/bin\ Qt/\$$OUTDIR mv Qt/\$$OUTDIR/bin\ /* Qt/ && rmdir Qt/\$$OUTDIR/bin\ Qt/\$$OUTDIR
...@@ -1500,7 +1500,7 @@ Qt: qt-win-opensource-$(QT4T_VERSION)-mingw.exe ...@@ -1500,7 +1500,7 @@ Qt: qt-win-opensource-$(QT4T_VERSION)-mingw.exe
sed -e s,@@VERSION@@,$(QT4T_VERSION), -e s,@@PREFIX@@,$(PREFIX), Patches/QtCore.pc.in > Qt/lib/pkgconfig/QtCore.pc sed -e s,@@VERSION@@,$(QT4T_VERSION), -e s,@@PREFIX@@,$(PREFIX), Patches/QtCore.pc.in > Qt/lib/pkgconfig/QtCore.pc
sed -e s,@@VERSION@@,$(QT4T_VERSION), -e s,@@PREFIX@@,$(PREFIX), Patches/QtGui.pc.in > Qt/lib/pkgconfig/QtGui.pc sed -e s,@@VERSION@@,$(QT4T_VERSION), -e s,@@PREFIX@@,$(PREFIX), Patches/QtGui.pc.in > Qt/lib/pkgconfig/QtGui.pc
.Qt: Qt .Qt_win32: Qt_win32
mkdir -p $(PREFIX)/bin $(PREFIX)/include/qt4/src $(PREFIX)/lib/pkgconfig $(PREFIX)/share/qt4/translations mkdir -p $(PREFIX)/bin $(PREFIX)/include/qt4/src $(PREFIX)/lib/pkgconfig $(PREFIX)/share/qt4/translations
cp Qt/bin/moc.exe Qt/bin/rcc.exe Qt/bin/uic.exe $(PREFIX)/bin cp Qt/bin/moc.exe Qt/bin/rcc.exe Qt/bin/uic.exe $(PREFIX)/bin
cp -r Qt/include/QtCore Qt/include/QtGui $(PREFIX)/include/qt4 cp -r Qt/include/QtCore Qt/include/QtGui $(PREFIX)/include/qt4
...@@ -1510,8 +1510,8 @@ Qt: qt-win-opensource-$(QT4T_VERSION)-mingw.exe ...@@ -1510,8 +1510,8 @@ Qt: qt-win-opensource-$(QT4T_VERSION)-mingw.exe
cp Qt/translations/* $(PREFIX)/share/qt4/translations cp Qt/translations/* $(PREFIX)/share/qt4/translations
touch $@ touch $@
CLEAN_FILE += .Qt CLEAN_FILE += .Qt_win32
CLEAN_PKG += Qt CLEAN_PKG += Qt_win32
DISTCLEAN_PKG += qt-win-opensource-$(QT4T_VERSION)-mingw.exe DISTCLEAN_PKG += qt-win-opensource-$(QT4T_VERSION)-mingw.exe
# *************************************************************************** # ***************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment