summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-27 16:07:19 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-30 12:24:36 -0700
commit0b13cbd81b8d55ef041bf92d1855e2b1497eb170 (patch)
treeba53030373e88a3baee759e9f7148f0072ac871a /INSTALL
parent4b24730ee668d3940d40a7779d1965827f9448ce (diff)
downloadsubsurface-0b13cbd81b8d55ef041bf92d1855e2b1497eb170.tar.gz
build-system: add libmtp for Linux and macOS
Since MXE doesn't offer libmtp I'll need to add code to manually build libmtp there. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL12
1 files changed, 6 insertions, 6 deletions
diff --git a/INSTALL b/INSTALL
index 604a04791..2be15eac0 100644
--- a/INSTALL
+++ b/INSTALL
@@ -144,7 +144,7 @@ sudo dnf install autoconf automake bluez-libs-devel cmake gcc-c++ git \
qt5-qtbase-devel qt5-qtconnectivity-devel qt5-qtdeclarative-devel \
qt5-qtlocation-devel qt5-qtscript-devel qt5-qtsvg-devel \
qt5-qttools-devel qt5-qtwebkit-devel redhat-rpm-config \
- bluez-libs-devel libgit2-devel libzip-devel
+ bluez-libs-devel libgit2-devel libzip-devel libmtp-devel
Package names are sadly different on OpenSUSE
@@ -155,7 +155,7 @@ sudo zypper install git gcc-c++ make autoconf automake libtool cmake libzip-deve
libqt5-qtbase-devel libQt5WebKit5-devel libqt5-qtsvg-devel \
libqt5-qtscript-devel libqt5-qtdeclarative-devel \
libqt5-qtconnectivity-devel libqt5-qtlocation-devel libcurl-devel \
- bluez-devel libgit2-devel
+ bluez-devel libgit2-devel libmtp-devel
On Debian Buster this seems to work
@@ -167,7 +167,7 @@ sudo apt install \
qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick2 \
qt5-default qt5-qmake qtchooser qtconnectivity5-dev qtdeclarative5-dev \
qtdeclarative5-private-dev qtlocation5-dev qtpositioning5-dev \
- qtscript5-dev qttools5-dev qttools5-dev-tools
+ qtscript5-dev qttools5-dev qttools5-dev-tools libmtp-dev
In order to build and run mobile-on-desktop, you also need
@@ -187,7 +187,7 @@ sudo apt install \
qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick2 \
qt5-default qt5-qmake qtchooser qtconnectivity5-dev qtdeclarative5-dev \
qtdeclarative5-private-dev qtlocation5-dev qtpositioning5-dev \
- qtscript5-dev qttools5-dev qttools5-dev-tools
+ qtscript5-dev qttools5-dev qttools5-dev-tools libmtp-dev
In order to build and run mobile-on-desktop, you also need
@@ -207,7 +207,7 @@ sudo apt install \
qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick2 \
qt5-default qt5-qmake qtchooser qtconnectivity5-dev qtdeclarative5-dev \
qtdeclarative5-private-dev qtlocation5-dev qtpositioning5-dev \
- qtscript5-dev qttools5-dev qttools5-dev-tools
+ qtscript5-dev qttools5-dev qttools5-dev-tools libmtp-dev
In order to build and run mobile-on-desktop, you also need
@@ -281,7 +281,7 @@ what else you have installed on your mac.
homebrew option:
-1) brew install libzip cmake libusb pkg-config automake libtool hidapi curl libssh2
+1) brew install autoconf automake libtool hidapi libusb libxml2 libxslt libzip openssl pkg-config libgit2 libssh2 libjpg libpng libmtp
2) cd <repo>/..; bash <repo>/scripts/build.sh