Ports/libuv: Update libuv to version 1.42.0 and fix cmake argument

Add CMAKE_BUILD_WITH_INSTALL_RPATH=true to the cmake arguments as it
wouldn't compile on MacOS without this argument
This commit is contained in:
EWouters 2021-11-03 15:29:23 +01:00 committed by Linus Groh
parent 2c4db837e7
commit 069e64efd1
Notes: sideshowbarker 2024-07-18 22:57:59 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -90,7 +90,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libtiff`](libtiff/) | libtiff | 4.2.0 | http://www.libtiff.org/ |
| [`libtool`](libtool/) | libtool | 2.4 | https://www.gnu.org/software/libtool/ |
| [`libuuid`](libuuid/) | libuuid (from util-linux) | 2.37.2 | https://github.com/karelzak/util-linux/tree/master/libuuid |
| [`libuv`](libuv/) | libuv | b12699b | https://github.com/libuv/libuv |
| [`libuv`](libuv/) | libuv | 1.42.0 | https://github.com/libuv/libuv |
| [`libvorbis`](libvorbis/) | libvorbis | 1.3.7 | https://github.com/xiph/vorbis |
| [`libxml2`](libxml2/) | libxml2 | 2.9.12 | http://www.xmlsoft.org/ |
| [`libzip`](libzip/) | libzip | 1.7.3 | https://libzip.org/ |

View file

@ -1,10 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libuv
version=b12699b1efabfd241324f4ab6cfd6ce576db491e
version=1.42.0
useconfigure=true
files="https://github.com/libuv/libuv/archive/$version.tar.gz $port-$version.tar.gz bbbfa2bb50437047efc8fb29c243c914ae0de94107d7cc641c2f84e292904eb5"
files="https://github.com/libuv/libuv/archive/refs/tags/v$version.tar.gz $port-$version.tar.gz 371e5419708f6aaeb8656671f89400b92a9bba6443369af1bb70bcd6e4b3c764"
auth_type=sha256
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja")
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=true")
configure() {
run cmake "${configopts[@]}" .