aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-02-12 08:29:04 +0800
committerGitHub <noreply@github.com>2020-02-11 16:29:04 -0800
commit6ee97010a9d83c45e83533ed956c367381e3d355 (patch)
tree3081e8643db9bfbacb0f4300da83a8272176c021
parent10eeee5d550b03d594cebe9088fe142ce5f4f674 (diff)
downloadvcpkg-6ee97010a9d83c45e83533ed956c367381e3d355.tar.gz
vcpkg-6ee97010a9d83c45e83533ed956c367381e3d355.zip
[libimobiledevice] Update to 1.2.185 and fix usbmuxd build (#10007)
* [libimobiledevice] update to 1.2.185 and fix usbmuxd build * [libimobiledevice/usbmuxd] Add homepage
-rw-r--r--ports/libimobiledevice/CONTROL3
-rw-r--r--ports/libimobiledevice/portfile.cmake4
-rw-r--r--ports/usbmuxd/CONTROL3
-rw-r--r--ports/usbmuxd/fix-dependence-libimobiledevice.patch14
-rw-r--r--ports/usbmuxd/portfile.cmake3
5 files changed, 21 insertions, 6 deletions
diff --git a/ports/libimobiledevice/CONTROL b/ports/libimobiledevice/CONTROL
index d5234beb7..8a517ec22 100644
--- a/ports/libimobiledevice/CONTROL
+++ b/ports/libimobiledevice/CONTROL
@@ -1,4 +1,5 @@
Source: libimobiledevice
-Version: 1.2.137
+Version: 1.2.185
+Homepage: http://www.libimobiledevice.org
Description: A cross-platform protocol library to communicate with iOS devices
Build-Depends: libplist, libusbmuxd, openssl, dirent, getopt \ No newline at end of file
diff --git a/ports/libimobiledevice/portfile.cmake b/ports/libimobiledevice/portfile.cmake
index 1972473e1..3e6dca5ad 100644
--- a/ports/libimobiledevice/portfile.cmake
+++ b/ports/libimobiledevice/portfile.cmake
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libimobiledevice-win32/libimobiledevice
- REF 7cf5cb4b9675ddcaed5ea3d7ee2c8848da18d691 # v1.2.137
- SHA512 cfc32d3414af333d3410c292660b526f2339d210bc2cc3ddf1de87c951bff526c731c4d61609441b3c1ce8e2d1398e6d4c35fdae3e7434bfd5050e5975047a11
+ REF 37cb65f04249705eb5844821fd925b9edee8866c # v1.2.185
+ SHA512 00a44de9552d3cf3daf3d490ad700188e20c72b24b8a6e9ca32d1d9fa53572479a5cbe85d130cd24fb1a2528c5e2cb238ab4caab35c5d93033c53b5c4c189bc6
HEAD_REF msvc-master
)
diff --git a/ports/usbmuxd/CONTROL b/ports/usbmuxd/CONTROL
index a583aad3c..0dee4ed26 100644
--- a/ports/usbmuxd/CONTROL
+++ b/ports/usbmuxd/CONTROL
@@ -1,4 +1,5 @@
Source: usbmuxd
-Version: 1.2.76
+Version: 1.2.76-1
+Homepage: http://www.libimobiledevice.org
Description: A socket daemon to multiplex connections from and to iOS devices
Build-Depends: libimobiledevice, libusb, libusb-win32, pthreads
diff --git a/ports/usbmuxd/fix-dependence-libimobiledevice.patch b/ports/usbmuxd/fix-dependence-libimobiledevice.patch
new file mode 100644
index 000000000..77308345d
--- /dev/null
+++ b/ports/usbmuxd/fix-dependence-libimobiledevice.patch
@@ -0,0 +1,14 @@
+diff --git a/src/preflight.c b/src/preflight.c
+index aca193e..f012286 100644
+--- a/src/preflight.c
++++ b/src/preflight.c
+@@ -54,9 +54,6 @@
+ #include "log.h"
+
+ #ifdef HAVE_LIBIMOBILEDEVICE
+-enum connection_type {
+- CONNECTION_USBMUXD = 1
+-};
+
+ struct idevice_private {
+ char *udid;
diff --git a/ports/usbmuxd/portfile.cmake b/ports/usbmuxd/portfile.cmake
index 6f952633a..be0a1d8e4 100644
--- a/ports/usbmuxd/portfile.cmake
+++ b/ports/usbmuxd/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libimobiledevice-win32/usbmuxd
@@ -8,6 +6,7 @@ vcpkg_from_github(
HEAD_REF master-msvc
PATCHES
fix-dependence-pthreads.patch
+ fix-dependence-libimobiledevice.patch
)
vcpkg_install_msbuild(