Changeset 77205605be2747f4bc58777da00b93904addb4d4
- Timestamp:
- 11/21/07 23:19:06
(10 months ago)
- Author:
- Christophe Mutricy <xtophe@videolan.org>
- git-committer:
- Christophe Mutricy <xtophe@videolan.org> 1195683546 +0000
- git-parent:
[702b20b0e8802e73fe93ed5f8d27eb60d3cc410f]
- git-author:
- Christophe Mutricy <xtophe@videolan.org> 1195683546 +0000
- Message:
Also extract the translations of libqt4
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2169f3b |
r7720560 |
|
| 1523 | 1523 | Qt: qt-win-opensource-$(QT4T_VERSION)-mingw.exe |
|---|
| 1524 | 1524 | mkdir Qt |
|---|
| 1525 | | 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 |
|---|
| | 1525 | 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 |
|---|
| 1526 | 1526 | mv Qt/\$$OUTDIR/bin\ /* Qt/ && rmdir Qt/\$$OUTDIR/bin\ Qt/\$$OUTDIR |
|---|
| 1527 | 1527 | find Qt -name '* ' -exec sh -c "mv \"{}\" `echo {}`" \; |
|---|
| 1528 | 1528 | find Qt/src -name '*.cpp' -exec rm {} \; |
|---|
| | 1529 | find Qt/translations -type f -a ! -name 'qt_*.qm' -exec rm {} \; |
|---|
| 1529 | 1530 | find Qt/include -name '*.h' -exec sh -c "mv {} {}.tmp; sed 's,..\/..\/src,..\/src,' {}.tmp > {}; rm -f {}.tmp" \; |
|---|
| 1530 | 1531 | mkdir Qt/lib/pkgconfig |
|---|
| … | … | |
| 1533 | 1534 | |
|---|
| 1534 | 1535 | .Qt: Qt |
|---|
| 1535 | | mkdir -p $(PREFIX)/bin $(PREFIX)/include/qt4/src $(PREFIX)/lib/pkgconfig |
|---|
| | 1536 | mkdir -p $(PREFIX)/bin $(PREFIX)/include/qt4/src $(PREFIX)/lib/pkgconfig $(PREFIX)/share/qt4/translations |
|---|
| 1536 | 1537 | cp Qt/bin/moc.exe Qt/bin/rcc.exe Qt/bin/uic.exe $(PREFIX)/bin |
|---|
| 1537 | 1538 | cp -r Qt/include/QtCore Qt/include/QtGui $(PREFIX)/include/qt4 |
|---|
| 1538 | 1539 | cp -r Qt/src/corelib Qt/src/gui $(PREFIX)/include/qt4/src |
|---|
| 1539 | 1540 | cp Qt/lib/libQtCore4.a Qt/lib/libQtGui4.a $(PREFIX)/lib |
|---|
| 1540 | | cp -r Qt/lib/pkgconfig/* $(PREFIX)/lib/pkgconfig |
|---|
| | 1541 | cp Qt/lib/pkgconfig/* $(PREFIX)/lib/pkgconfig |
|---|
| | 1542 | cp Qt/translations/* $(PREFIX)/share/qt4/translations |
|---|
| 1541 | 1543 | touch $@ |
|---|
| 1542 | 1544 | |
|---|