From 0b13cbd81b8d55ef041bf92d1855e2b1497eb170 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 27 Oct 2020 16:07:19 -0700 Subject: 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 --- INSTALL | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'INSTALL') 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 /..; bash /scripts/build.sh -- cgit v1.2.3-70-g09d2