watchexec: Bump to 1.20.6
This commit is contained in:
parent
bc05a28838
commit
dc1ce70416
|
@ -2,18 +2,31 @@ TERMUX_PKG_HOMEPAGE=https://github.com/watchexec/watchexec
|
|||
TERMUX_PKG_DESCRIPTION="Executes commands in response to file modifications"
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.18.11
|
||||
TERMUX_PKG_VERSION=1.20.6
|
||||
TERMUX_PKG_SRCURL=https://github.com/watchexec/watchexec/archive/refs/tags/cli-v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=bdd5af45ab7e5981eed25ac09767388aa1fbf711a9d286bcb99884464980af5b
|
||||
TERMUX_PKG_SHA256=fa490944bbc8eafdc585454d27ec6f75988ce7d159db8ee1244b1fc5bbd86935
|
||||
TERMUX_PKG_AUTO_UPDATE=false
|
||||
TERMUX_PKG_DEPENDS="zlib"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_make_install() {
|
||||
termux_step_pre_configure() {
|
||||
termux_setup_rust
|
||||
: "${CARGO_HOME:=$HOME/.cargo}"
|
||||
export CARGO_HOME
|
||||
|
||||
cd crates/cli
|
||||
cargo fetch --target $CARGO_TARGET_NAME
|
||||
|
||||
local p=git-config-0.7.1-src-values-path.rs.diff
|
||||
local d
|
||||
for d in $CARGO_HOME/registry/src/github.com-*/git-config-*; do
|
||||
patch --silent -p1 -d ${d} < $TERMUX_PKG_BUILDER_DIR/${p} || :
|
||||
done
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
cargo install \
|
||||
--jobs $TERMUX_MAKE_PROCESSES \
|
||||
--path cli \
|
||||
--path crates/cli \
|
||||
--force \
|
||||
--locked \
|
||||
--target $CARGO_TARGET_NAME \
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- a/src/values/path.rs
|
||||
+++ b/src/values/path.rs
|
||||
@@ -170,7 +170,7 @@
|
||||
Err(interpolate::Error::UserInterpolationUnsupported)
|
||||
}
|
||||
|
||||
- #[cfg(not(windows))]
|
||||
+ #[cfg(not(any(target_os = "windows", target_os = "android")))]
|
||||
fn interpolate_user(
|
||||
self,
|
||||
home_for_user: fn(&str) -> Option<PathBuf>,
|
Loading…
Reference in New Issue