summaryrefslogtreecommitdiffstats
path: root/scripts/get-dep-lib.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-28 07:15:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-30 12:24:36 -0700
commitcdf1865246563fde47a1cf2a5fc3c0fd70b8e5ba (patch)
treec6fc40470cec021eb012b5fddcec1f829181e076 /scripts/get-dep-lib.sh
parent0b13cbd81b8d55ef041bf92d1855e2b1497eb170 (diff)
downloadsubsurface-cdf1865246563fde47a1cf2a5fc3c0fd70b8e5ba.tar.gz
build-system: add libmtp for our Windows builds
This uses latest master (as that's the only one that has the explicit Descent Mk2i support in it). Right now, unfortunately the MXE build fails. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/get-dep-lib.sh')
-rwxr-xr-xscripts/get-dep-lib.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/get-dep-lib.sh b/scripts/get-dep-lib.sh
index b0cf2089a..ddeeb38f0 100755
--- a/scripts/get-dep-lib.sh
+++ b/scripts/get-dep-lib.sh
@@ -17,6 +17,7 @@ CURRENT_KIRIGAMI="v5.62.0"
CURRENT_BREEZE_ICONS="4daac191fb33c8c03bba8356db9767816cb8ee02"
CURRENT_MDBTOOLS="master"
CURRENT_QT_ANDROID_CMAKE="master"
+CURRENT_LIBMTP="master"
# Checkout library from git
# Ensure specified version is checked out,
@@ -155,6 +156,9 @@ for package in "${PACKAGES[@]}" ; do
libusb)
git_checkout_library libusb $CURRENT_LIBUSB https://github.com/libusb/libusb.git
;;
+ libmtp)
+ git_checkout_library libmtp $CURRENT_LIBMTP https://github.com/libmtp/libmtp.git
+ ;;
libxml2)
git_checkout_library libxml2 $CURRENT_LIBXML2 https://github.com/GNOME/libxml2.git
;;