From c9761a0184d719409c49ccbe623772a6748d1e8c Mon Sep 17 00:00:00 2001 From: EDllT <47005435+EDLLT@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:51:30 +0300 Subject: [PATCH] maintainer @termux -> @EDLLT, gettext-latest patch as version Change maintainer to @EDLLT future-proof upstream gettext version: gettext-X.Y -> gettext-latest (reverted cargo toml version) --- x11-packages/rnote/build.sh | 4 ++-- x11-packages/rnote/gettext-rs-crate.diff | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x11-packages/rnote/build.sh b/x11-packages/rnote/build.sh index 66baf8f7c4b59a4..e9af488f8044aa6 100644 --- a/x11-packages/rnote/build.sh +++ b/x11-packages/rnote/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE="https://github.com/flxzt/rnote" TERMUX_PKG_DESCRIPTION="An infinite canvas vector-based drawing application for handwritten notes" TERMUX_PKG_LICENSE="GPL-3.0" -TERMUX_PKG_MAINTAINER="@termux" +TERMUX_PKG_MAINTAINER="@EDLLT" TERMUX_PKG_VERSION="0.11.0" TERMUX_PKG_SRCURL="https://github.com/flxzt/rnote/archive/v${TERMUX_PKG_VERSION}/v${TERMUX_PKG_VERSION}.tar.gz" TERMUX_PKG_SHA256=b133d4331963d3c09d3a7477f60fc4c5072471dcbf459379a593ca1724164af4 @@ -29,7 +29,7 @@ __fetch_gettext_rs() { # Fetch latest and greatest gettext from upstream and place it inside gettext-source/gettext-sys local -a upstream=( "$(. "$TERMUX_SCRIPTDIR/packages/gettext/build.sh"; echo ${TERMUX_PKG_SRCURL})" # Upstream URL (from gettext's build script) - "$TERMUX_PKG_SRCDIR/gettext-source/gettext-sys/gettext-${gettext_version}.tar.xz" # Local save path + "$TERMUX_PKG_SRCDIR/gettext-source/gettext-sys/gettext-latest.tar.xz" # Local save path "$(. "$TERMUX_SCRIPTDIR/packages/gettext/build.sh"; echo ${TERMUX_PKG_SHA256})" # SHA256 checksum (from gettext's build script) ) diff --git a/x11-packages/rnote/gettext-rs-crate.diff b/x11-packages/rnote/gettext-rs-crate.diff index 2e6747617fd19e9..9e81a0c7de416ef 100644 --- a/x11-packages/rnote/gettext-rs-crate.diff +++ b/x11-packages/rnote/gettext-rs-crate.diff @@ -67,7 +67,7 @@ index 7772f74..42bc167 100644 cmd.current_dir(&build_dir.join("gettext")) .arg("xJf") - .arg(&src.join("gettext-0.21.tar.xz")) -+ .arg(&src.join("gettext-0.22.5.tar.xz")) ++ .arg(&src.join("gettext-latest.tar.xz")) .arg("--strip-components") .arg("1"); if host.contains("windows") {