2010-11-20 20:21:40 +03:00
|
|
|
PREFIX = /usr/local
|
|
|
|
BINDIR = /usr/local/bin
|
|
|
|
DATADIR = /usr/local/share
|
|
|
|
|
2011-12-28 16:24:59 +04:00
|
|
|
# Use pkg-config to get all necessary libtorrent DEFINES
|
|
|
|
CONFIG += link_pkgconfig
|
|
|
|
PKGCONFIG += libtorrent-rasterbar
|
2012-05-05 15:45:30 +04:00
|
|
|
DEFINES += BOOST_ASIO_DYN_LINK
|
2011-12-28 16:24:59 +04:00
|
|
|
|
|
|
|
# Special include/libs paths (macports)
|
|
|
|
INCLUDEPATH += /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include
|
|
|
|
LIBS += -L/opt/local/lib
|
|
|
|
|
|
|
|
# OpenSSL lib
|
|
|
|
LIBS += -lssl -lcrypto
|
|
|
|
# Boost system lib
|
|
|
|
LIBS += -lboost_system-mt
|
|
|
|
# Boost filesystem lib (Not needed for libtorrent >= 0.16.0)
|
2012-09-16 11:36:24 +04:00
|
|
|
#LIBS += -lboost_filesystem-mt
|
2011-12-28 16:24:59 +04:00
|
|
|
# Carbon
|
|
|
|
LIBS += -framework Carbon -framework IOKit
|
2013-03-10 23:50:03 +04:00
|
|
|
# Zlib
|
|
|
|
LIBS += -lz
|
2010-11-20 20:21:40 +03:00
|
|
|
|
|
|
|
document_icon.path = Contents/Resources
|
2012-09-16 11:36:24 +04:00
|
|
|
document_icon.files = mac/qBitTorrentDocument.icns
|
2010-11-20 20:21:40 +03:00
|
|
|
QMAKE_BUNDLE_DATA += document_icon
|
2012-09-16 11:36:24 +04:00
|
|
|
|
|
|
|
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
|
2010-11-20 20:21:40 +03:00
|
|
|
|
|
|
|
DEFINES += WITH_GEOIP_EMBEDDED
|
|
|
|
message("On Mac OS X, GeoIP database must be embedded.")
|