Browse Source

Improve Mac packaging.

We now ship qt translations.
adaptive-webui-19844
Christophe Dumez 12 years ago
parent
commit
b2b959d5e3
  1. 44
      macxconf.pri
  2. 0
      src/mac/Info.plist
  3. 0
      src/mac/qBitTorrentDocument.icns
  4. 0
      src/mac/qbittorrent_mac.icns
  5. 4
      src/mac/qt.conf
  6. BIN
      src/qt-translations/qt_ar.qm
  7. BIN
      src/qt-translations/qt_bg.qm
  8. BIN
      src/qt-translations/qt_ca.qm
  9. BIN
      src/qt-translations/qt_cs.qm
  10. BIN
      src/qt-translations/qt_da.qm
  11. BIN
      src/qt-translations/qt_de.qm
  12. BIN
      src/qt-translations/qt_es.qm
  13. BIN
      src/qt-translations/qt_fi.qm
  14. BIN
      src/qt-translations/qt_fr.qm
  15. BIN
      src/qt-translations/qt_gl.qm
  16. BIN
      src/qt-translations/qt_he.qm
  17. BIN
      src/qt-translations/qt_hu.qm
  18. BIN
      src/qt-translations/qt_it.qm
  19. BIN
      src/qt-translations/qt_ja.qm
  20. BIN
      src/qt-translations/qt_ko.qm
  21. BIN
      src/qt-translations/qt_lt.qm
  22. BIN
      src/qt-translations/qt_nl.qm
  23. BIN
      src/qt-translations/qt_pl.qm
  24. BIN
      src/qt-translations/qt_pt.qm
  25. BIN
      src/qt-translations/qt_pt_BR.qm
  26. BIN
      src/qt-translations/qt_ru.qm
  27. BIN
      src/qt-translations/qt_sk.qm
  28. BIN
      src/qt-translations/qt_sv.qm
  29. BIN
      src/qt-translations/qt_tr.qm
  30. BIN
      src/qt-translations/qt_uk.qm
  31. BIN
      src/qt-translations/qt_zh_CN.qm
  32. BIN
      src/qt-translations/qt_zh_TW.qm

44
macxconf.pri

@ -16,16 +16,50 @@ LIBS += -lssl -lcrypto @@ -16,16 +16,50 @@ LIBS += -lssl -lcrypto
# Boost system lib
LIBS += -lboost_system-mt
# Boost filesystem lib (Not needed for libtorrent >= 0.16.0)
LIBS += -lboost_filesystem-mt
#LIBS += -lboost_filesystem-mt
# Carbon
LIBS += -framework Carbon -framework IOKit
document_icon.path = Contents/Resources
document_icon.files = Icons/qBitTorrentDocument.icns
document_icon.files = mac/qBitTorrentDocument.icns
QMAKE_BUNDLE_DATA += document_icon
ICON = Icons/qbittorrent_mac.icns
QMAKE_INFO_PLIST = Info.plist
qt_conf.path = Contents/Resources
qt_conf.files = mac/qt.conf
QMAKE_BUNDLE_DATA += qt_conf
qt_translations.path = Contents/MacOS/translations
qt_translations.files = qt-translations/qt_ar.qm \
qt-translations/qt_bg.qm \
qt-translations/qt_ca.qm \
qt-translations/qt_cs.qm \
qt-translations/qt_da.qm \
qt-translations/qt_de.qm \
qt-translations/qt_es.qm \
qt-translations/qt_fi.qm \
qt-translations/qt_fr.qm \
qt-translations/qt_gl.qm \
qt-translations/qt_he.qm \
qt-translations/qt_hu.qm \
qt-translations/qt_it.qm \
qt-translations/qt_ja.qm \
qt-translations/qt_ko.qm \
qt-translations/qt_lt.qm \
qt-translations/qt_nl.qm \
qt-translations/qt_pl.qm \
qt-translations/qt_pt.qm \
qt-translations/qt_pt_BR.qm \
qt-translations/qt_ru.qm \
qt-translations/qt_sk.qm \
qt-translations/qt_sv.qm \
qt-translations/qt_tr.qm \
qt-translations/qt_uk.qm \
qt-translations/qt_zh_CN.qm \
qt-translations/qt_zh_TW.qm
QMAKE_BUNDLE_DATA += qt_translations
ICON = mac/qbittorrent_mac.icns
QMAKE_INFO_PLIST = mac/Info.plist
DEFINES += WITH_GEOIP_EMBEDDED
message("On Mac OS X, GeoIP database must be embedded.")

0
src/Info.plist → src/mac/Info.plist

0
src/Icons/qBitTorrentDocument.icns → src/mac/qBitTorrentDocument.icns

0
src/Icons/qbittorrent_mac.icns → src/mac/qbittorrent_mac.icns

4
src/mac/qt.conf

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
[Paths]
Prefix = MacOS
Translations = translations
Plugins = PlugIns

BIN
src/qt-translations/qt_ar.qm

Binary file not shown.

BIN
src/qt-translations/qt_bg.qm

Binary file not shown.

BIN
src/qt-translations/qt_ca.qm

Binary file not shown.

BIN
src/qt-translations/qt_cs.qm

Binary file not shown.

BIN
src/qt-translations/qt_da.qm

Binary file not shown.

BIN
src/qt-translations/qt_de.qm

Binary file not shown.

BIN
src/qt-translations/qt_es.qm

Binary file not shown.

BIN
src/qt-translations/qt_fi.qm

Binary file not shown.

BIN
src/qt-translations/qt_fr.qm

Binary file not shown.

BIN
src/qt-translations/qt_gl.qm

Binary file not shown.

BIN
src/qt-translations/qt_he.qm

Binary file not shown.

BIN
src/qt-translations/qt_hu.qm

Binary file not shown.

BIN
src/qt-translations/qt_it.qm

Binary file not shown.

BIN
src/qt-translations/qt_ja.qm

Binary file not shown.

BIN
src/qt-translations/qt_ko.qm

Binary file not shown.

BIN
src/qt-translations/qt_lt.qm

Binary file not shown.

BIN
src/qt-translations/qt_nl.qm

Binary file not shown.

BIN
src/qt-translations/qt_pl.qm

Binary file not shown.

BIN
src/qt-translations/qt_pt.qm

Binary file not shown.

BIN
src/qt-translations/qt_pt_BR.qm

Binary file not shown.

BIN
src/qt-translations/qt_ru.qm

Binary file not shown.

BIN
src/qt-translations/qt_sk.qm

Binary file not shown.

BIN
src/qt-translations/qt_sv.qm

Binary file not shown.

BIN
src/qt-translations/qt_tr.qm

Binary file not shown.

BIN
src/qt-translations/qt_uk.qm

Binary file not shown.

BIN
src/qt-translations/qt_zh_CN.qm

Binary file not shown.

BIN
src/qt-translations/qt_zh_TW.qm

Binary file not shown.
Loading…
Cancel
Save