|
18 | 18 |
|
19 | 19 | #======================================= |
20 | 20 | # vo_dependency_installer.sh |
21 | | -VERSION="1.0.1.1" |
| 21 | +VERSION="1.0.1.2" |
22 | 22 | # |
23 | 23 | # Howto use this script: |
24 | 24 | # From your browser, select 'Save' and choose or create an empty folder. Make sure the script has the extension '.sh'. |
|
69 | 69 | then |
70 | 70 | brew update |
71 | 71 | brew upgrade |
| 72 | + brew tap homebrew/core |
72 | 73 |
|
73 | 74 | # make sure we can compile |
74 | 75 | brew install cmake |
@@ -110,23 +111,18 @@ echo ">>>>> compile_libimobiledevice-glue <<<<<" |
110 | 111 | touch "__compile_x86" |
111 | 112 | echo "./autogen.sh --prefix=/usr/local" |
112 | 113 | ./autogen.sh --prefix=/usr/local |
| 114 | + make |
| 115 | + echo "sudo make install" |
| 116 | + sudo make install |
| 117 | + ln -s /usr/local/lib/pkgconfig/libimobiledevice-glue-1.0.pc /usr/local/opt/libplist/lib/pkgconfig/libimobiledevice-glue-1.0.pc |
113 | 118 | else |
114 | 119 | touch "__compile_aarch" |
115 | 120 | echo "./autogen.sh --prefix=/opt/homebrew" |
116 | 121 | ./autogen.sh --prefix=/opt/homebrew |
117 | | - fi |
118 | | - make |
119 | | - echo "sudo make install" |
120 | | - sudo make install |
121 | | - |
122 | | - if [ "${ARCH_NAME}" = "x86_64" ]; then |
123 | | - #For Intel / x86-64 machines - |
124 | | - ln -s /usr/local/lib/pkgconfig/libimobiledevice-glue-1.0.pc /usr/local/opt/libplist/lib/pkgconfig/libimobiledevice-glue-1.0.pc |
125 | | - else |
126 | | - #For M1 / aach64 machines - |
| 122 | + make |
| 123 | + make install |
127 | 124 | ln -s /opt/homebrew/lib/pkgconfig/libimobiledevice-glue-1.0.pc /opt/homebrew/opt/libplist/lib/pkgconfig/libimobiledevice-glue-1.0.pc |
128 | 125 | fi |
129 | | - |
130 | 126 | else |
131 | 127 | echo "libimobiledevice-glue failure, in wrong path: `pwd`" |
132 | 128 | exit_install |
@@ -330,7 +326,7 @@ function machine_precheck (){ |
330 | 326 | CHECK="fail:MacFuse not detected" |
331 | 327 | fi |
332 | 328 |
|
333 | | - # macOS: 13.2.1-arm64 |
| 329 | + # macOS: check for minimum of 13.2.1 |
334 | 330 | regex="(macOS): ([0-9]*)\.([0-9]*)\.([0-9]*)\-" |
335 | 331 | check_version "$BREW_CONFIG" "$regex" macOS 13 2 1 13.2.1 |
336 | 332 |
|
|
0 commit comments