Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Jun 30, 2024
2 parents df70785 + 5888ce8 commit ca4bcf9
Show file tree
Hide file tree
Showing 61 changed files with 501 additions and 287 deletions.
4 changes: 2 additions & 2 deletions packages/dasel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/TomWright/dasel
TERMUX_PKG_DESCRIPTION="Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single utility"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.7.0"
TERMUX_PKG_VERSION="2.8.0"
TERMUX_PKG_SRCURL=https://github.com/TomWright/dasel/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=93546e10971ca74c3192940fe9435b48368cefa677cef8a7532b214c6d8b6c39
TERMUX_PKG_SHA256=906f2bdb7866c58d16b7b3643f9ec19455384a9a4a50e1bf6bf59cd3914076a7
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true

Expand Down
4 changes: 2 additions & 2 deletions packages/fastfetch/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/fastfetch-cli/fastfetch
TERMUX_PKG_DESCRIPTION="A neofetch-like tool for fetching system information and displaying them in a pretty way"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.17.0"
TERMUX_PKG_VERSION="2.17.1"
TERMUX_PKG_SRCURL=https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b108ecff62f4e834f639da8f24d332af7901376e3ace97ebfc6ec81114315556
TERMUX_PKG_SHA256=a38969ebb757070db5dace8a42f874d8898a7232da64c73fc86c60a2c9da9be0
TERMUX_PKG_DEPENDS="vulkan-loader"
TERMUX_PKG_BUILD_DEPENDS="freetype, libandroid-wordexp-static, vulkan-headers, vulkan-loader-android"
TERMUX_PKG_ANTI_BUILD_DEPENDS="vulkan-loader"
Expand Down
23 changes: 13 additions & 10 deletions packages/gexiv2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://wiki.gnome.org/Projects/gexiv2
TERMUX_PKG_DESCRIPTION="A GObject-based Exiv2 wrapper"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.14.2"
TERMUX_PKG_VERSION="0.14.3"
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gexiv2/${TERMUX_PKG_VERSION%.*}/gexiv2-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=2a0c9cf48fbe8b3435008866ffd40b8eddb0667d2212b42396fdf688e93ce0be
TERMUX_PKG_SHA256=21e64d2c56e9b333d44fef3f2a4b25653d922c419acd972fa96fab695217e2c8
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="exiv2, glib, libc++"
TERMUX_PKG_BUILD_DEPENDS="glib-cross"
Expand All @@ -17,13 +17,16 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
"

termux_step_pre_configure() {
CPPFLAGS+=" -D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES"
}

termux_step_pre_configure() {
ln -s -f $TERMUX_PREFIX/opt/glib/cross/bin/glib-mkenums $TERMUX_PREFIX/bin/glib-mkenums
}
TERMUX_PKG_VERSION=. termux_setup_gir

termux_step_post_make_install() {
rm $TERMUX_PREFIX/bin/glib-mkenums
local _WRAPPER_BIN="${TERMUX_PKG_BUILDDIR}/_wrapper/bin"
mkdir -p "${_WRAPPER_BIN}"
if [[ "${TERMUX_ON_DEVICE_BUILD}" == "false" ]]; then
sed "s|^export PKG_CONFIG_LIBDIR=|export PKG_CONFIG_LIBDIR=${TERMUX_PREFIX}/opt/glib/cross/lib/x86_64-linux-gnu/pkgconfig:|" \
"${TERMUX_STANDALONE_TOOLCHAIN}/bin/pkg-config" \
> "${_WRAPPER_BIN}/pkg-config"
chmod +x "${_WRAPPER_BIN}/pkg-config"
export PKG_CONFIG="${_WRAPPER_BIN}/pkg-config"
fi
export PATH="${_WRAPPER_BIN}:${PATH}"
}
5 changes: 2 additions & 3 deletions packages/ghostscript/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.ghostscript.com/
TERMUX_PKG_DESCRIPTION="Interpreter for the PostScript language and for PDF"
TERMUX_PKG_LICENSE="AGPL-V3"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="10.02.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION="10.03.1"
TERMUX_PKG_SRCURL=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${TERMUX_PKG_VERSION//.}/ghostpdl-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=25399af0ef5bb94f2a13c91dc785c128d14f16744c4c92fa7c86e011c23151d8
TERMUX_PKG_SHA256=8ea9dd8768b64576bc4ee2d79611450c9e1edeb686f7824f3bf94b92457b882a
TERMUX_PKG_AUTO_UPDATE=false
TERMUX_PKG_DEPENDS="fontconfig, freetype, jbig2dec,libc++, libidn, libjpeg-turbo, libpng, libtiff, littlecms, openjpeg, zlib"
TERMUX_PKG_BUILD_DEPENDS="libexpat"
Expand Down
26 changes: 26 additions & 0 deletions packages/ghostscript/fix-incompatible-pointer-types.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 90cabe08422afdd16bac5dd9217602679d943045 Mon Sep 17 00:00:00 2001
From: Ken Sharp <[email protected]>
Date: Fri, 8 Mar 2024 09:19:05 +0000
Subject: [PATCH] Bug #707649 - fix apply_sasl in error cases.

Forgot to dereference the pointers before assigning the values, if we
get non-fatal errors returned from stringprep.
---
pdf/pdf_sec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pdf/pdf_sec.c b/pdf/pdf_sec.c
index 565ae80ca..7e8f6719d 100644
--- a/pdf/pdf_sec.c
+++ b/pdf/pdf_sec.c
@@ -183,8 +183,8 @@ static int apply_sasl(pdf_context *ctx, char *Password, int Len, char **NewPassw
* this easy: the errors we want to ignore are the ones with
* codes less than 100. */
if ((int)err < 100) {
- NewPassword = Password;
- NewLen = Len;
+ *NewPassword = Password;
+ *NewLen = Len;
return 0;
}

8 changes: 4 additions & 4 deletions packages/hut/build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://git.sr.ht/~emersion/hut
TERMUX_PKG_HOMEPAGE=https://git.sr.ht/~xenrox/hut
TERMUX_PKG_DESCRIPTION="A CLI tool for sr.ht"
TERMUX_PKG_LICENSE="AGPL-V3"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.5.0"
TERMUX_PKG_SRCURL=https://git.sr.ht/~emersion/hut/refs/download/v${TERMUX_PKG_VERSION}/hut-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=67de7fad783623988cf2ec8aed4931c067710bc636cc789efd009a8ecab52f78
TERMUX_PKG_VERSION="0.6.0"
TERMUX_PKG_SRCURL=https://git.sr.ht/~xenrox/hut/refs/download/v${TERMUX_PKG_VERSION}/hut-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b4b5397b7d2d34c1e8acf94ec655378922282bd4ed43ad27c4d4efa1f18757bf
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=$TERMUX_PREFIX"
Expand Down
4 changes: 2 additions & 2 deletions packages/libdart/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Dynamic Animation and Robotics Toolkit"
TERMUX_PKG_GROUPS="science"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="Pooya Moradi <[email protected]>"
TERMUX_PKG_VERSION="6.14.1"
TERMUX_PKG_VERSION="6.14.2"
TERMUX_PKG_SRCURL="https://github.com/dartsim/dart/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=07bc1442a80abc03b2c1984bdb9b5843446047ac6a37c18b834533c871631fde
TERMUX_PKG_SHA256=6bbaf452f8182b97bf22adeab6cc7f3dc1cd2733358543131fa130e07c0860fc
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
# FIXME add ipopt, nlopt, snopt after a proper FORTRAN compiler is
Expand Down
2 changes: 1 addition & 1 deletion packages/libgrpc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="High performance, open source, general RPC framework tha
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_SRCURL=git+https://github.com/grpc/grpc
TERMUX_PKG_VERSION="1.64.2"
TERMUX_PKG_VERSION="1.65.0"
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE="latest-release-tag"
TERMUX_PKG_DEPENDS="abseil-cpp, c-ares, ca-certificates, libc++, libprotobuf, libre2, openssl, protobuf, zlib, libutf8-range"
Expand Down
14 changes: 2 additions & 12 deletions packages/libgrpc/log_android.cc.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
diff -u -r ../cache/checkout-1.14.1/src/core/lib/gpr/log_android.cc ./src/core/lib/gpr/log_android.cc
--- ../cache/checkout-1.14.1/src/core/lib/gpr/log_android.cc 2018-08-21 11:52:18.904711327 +0000
+++ ./src/core/lib/gpr/android/log.cc
--- a/src/core/util/android/log.cc
+++ b/src/core/util/android/log.cc
@@ -27,18 +27,6 @@
#include <stdio.h>
#include <string.h>
Expand All @@ -20,12 +19,3 @@ diff -u -r ../cache/checkout-1.14.1/src/core/lib/gpr/log_android.cc ./src/core/l
void gpr_log(const char* file, int line, gpr_log_severity severity,
const char* format, ...) {
/* Avoid message construction if gpr_log_message won't log */
@@ -67,7 +55,7 @@

asprintf(&output, "%s:%d] %s", display_file, args->line, args->message);

- __android_log_write(severity_to_log_priority(args->severity), "GRPC", output);
+ // __android_log_write(severity_to_log_priority(args->severity), "GRPC", output);

/* allocated by asprintf => use free, not gpr_free */
free(output);
4 changes: 2 additions & 2 deletions packages/libgrpc/src-core-lib-gpr-tmpfile_posix.cc.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- a/src/core/lib/gpr/tmpfile_posix.cc
+++ b/src/core/lib/gpr/posix/tmpfile.cc
--- a/src/core/util/posix/tmpfile.cc
+++ b/src/core/util/posix/tmpfile.cc
@@ -43,7 +43,7 @@ FILE* gpr_tmpfile(const char* prefix, char** tmp_filename) {

if (tmp_filename != nullptr) *tmp_filename = nullptr;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- ./src/core/lib/security/security_connector/load_system_roots_supported.cc.orig 2022-09-01 18:38:33.746608984 +0000
+++ ./src/core/lib/security/security_connector/load_system_roots_supported.cc 2022-09-01 18:39:43.052126864 +0000
--- a/src/core/lib/security/security_connector/load_system_roots_supported.cc
+++ b/src/core/lib/security/security_connector/load_system_roots_supported.cc
@@ -52,12 +52,12 @@

#if defined(GPR_LINUX) || defined(GPR_ANDROID)
Expand Down
7 changes: 6 additions & 1 deletion packages/libprotobuf/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TERMUX_PKG_MAINTAINER="@termux"
# $TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_protobuf.sh
# - ALWAYS bump revision of reverse dependencies and rebuild them.
TERMUX_PKG_VERSION=25.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/protocolbuffers/protobuf/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=9bd87b8280ef720d3240514f884e56a712f2218f0d693b48050c836028940a42
TERMUX_PKG_AUTO_UPDATE=false
Expand All @@ -28,4 +28,9 @@ TERMUX_PKG_NO_STATICSPLIT=true
termux_step_post_make_install() {
install -Dm600 -t $TERMUX_PREFIX/share/doc/libutf8-range \
$TERMUX_PKG_SRCDIR/third_party/utf8_range/LICENSE

# Copy lib/*.cmake to opt/protobuf-cmake/shared for future use
mkdir -p $TERMUX_PREFIX/opt/protobuf-cmake/shared
cp $TERMUX_PREFIX/lib/cmake/protobuf/protobuf-targets{,-release}.cmake \
$TERMUX_PREFIX/opt/protobuf-cmake/shared/
}
6 changes: 2 additions & 4 deletions packages/manpages/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Man pages for linux kernel and C library interfaces"
TERMUX_PKG_LICENSE="custom"
TERMUX_PKG_LICENSE_FILE="LICENSES/Linux-man-pages-copyleft.txt, _man-pages-posix/POSIX-COPYRIGHT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=(6.7
TERMUX_PKG_VERSION=(6.9.1
2017)
TERMUX_PKG_SHA256=(82403ad4bc17aadb924f68638b79d6930b2cbd551531248a7a9688779db4efb2
TERMUX_PKG_SHA256=(e23cbac29f110ba571f0da8523e79d373691466ed7f2a31301721817d34530bd
ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3)
TERMUX_PKG_SRCURL=(https://www.kernel.org/pub/linux/docs/man-pages/man-pages-${TERMUX_PKG_VERSION[0]}.tar.xz
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-${TERMUX_PKG_VERSION[1]}-a.tar.xz)
Expand All @@ -16,8 +16,6 @@ TERMUX_PKG_PROVIDES="linux-man-pages"
TERMUX_PKG_EXTRA_MAKE_ARGS="prefix=$TERMUX_PREFIX"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_BUILD_IN_SRC=true
# Problems with changing permissions of non-built files
TERMUX_MAKE_PROCESSSES=1

# Do not remove an entire section; intro should always be included.
# Bionic libc does not provide <aio.h>, <monetary.h> or pthread_cancel.
Expand Down
4 changes: 2 additions & 2 deletions packages/memcached/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://memcached.org/
TERMUX_PKG_DESCRIPTION="Free & open source, high-performance, distributed memory object caching system"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.6.28"
TERMUX_PKG_VERSION="1.6.29"
TERMUX_PKG_SRCURL=https://www.memcached.org/files/memcached-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=b1d02d7e9887d80f4885a024931c8bbe9c16d333200d2dcadde8597892c54855
TERMUX_PKG_SHA256=269643d518b7ba2033c7a1f66fdfc560d72725a2822194d90c8235408c443a49
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libevent, libsasl"
TERMUX_PKG_BREAKS="memcached-dev"
Expand Down
4 changes: 2 additions & 2 deletions packages/minio/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://min.io/
TERMUX_PKG_DESCRIPTION="Multi-Cloud Object Storage"
TERMUX_PKG_LICENSE="AGPL-V3"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2024.06.26.01.06.18"
TERMUX_PKG_VERSION="2024.06.28.09.06.49"
_VERSION=$(sed 's/\./T/3;s/\./-/g' <<< $TERMUX_PKG_VERSION)
TERMUX_PKG_SRCURL=https://github.com/minio/minio/archive/refs/tags/RELEASE.${_VERSION}Z.tar.gz
TERMUX_PKG_SHA256=2104dc59ecb0b49489011d323fef4a76afe09e27ebd5413977b5caf91982aa6f
TERMUX_PKG_SHA256=8fc5f3af02b580d389aca2646e9dbeab143b0d63289dbe8757dd7da0b8be34b7
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_SED_REGEXP='s/T/-/g;s/[^0-9-]//g;s/-/./g'
TERMUX_PKG_DEPENDS="resolv-conf"
Expand Down
35 changes: 16 additions & 19 deletions packages/multitail/Makefile.patch
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
diff -u -r ../multitail-6.5.0/Makefile ./Makefile
--- ../multitail-6.5.0/Makefile 2019-11-07 12:56:23.000000000 +0000
+++ ./Makefile 2019-11-20 23:07:26.648217975 +0000
@@ -8,8 +8,8 @@
# -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncurses -ltinfo
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@

UTF8_SUPPORT:=yes
-DESTDIR=
DESTDIR=
-PREFIX=/usr/local
+DESTDIR=@TERMUX_PREFIX@
+PREFIX=
CONFIG_FILE=$(DESTDIR)$(PREFIX)/etc/multitail.conf

CC?=gcc
@@ -24,7 +24,7 @@
+PREFIX=@TERMUX_PREFIX@
BINDIR=$(PREFIX)/bin
SHAREDIR=$(PREFIX)/share
MANDIR=$(SHAREDIR)/man
@@ -37,7 +37,7 @@
LDFLAGS+=-lpanel $(NCURSES_LIB) -lutil -lm
else
ifeq ($(UTF8_SUPPORT),yes)
Expand All @@ -21,12 +18,12 @@ diff -u -r ../multitail-6.5.0/Makefile ./Makefile
CPPFLAGS+=-DUTF8_SUPPORT
else
LDFLAGS+=-lpanel -lncurses -lutil -lm
@@ -57,7 +57,7 @@
@@ -70,7 +70,7 @@
### YOURSELF WITH THE NEW FILE
#
mkdir -p $(DESTDIR)$(PREFIX)/etc/multitail/
- cp multitail.conf $(CONFIG_FILE).new
+ cp multitail.conf $(CONFIG_FILE)
cp conversion-scripts/* $(DESTDIR)$(PREFIX)/etc/multitail/
#rm -f $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1.gz
#gzip -9 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1
$(INSTALL_DIR) $(DESTDIR)$(CONFIG_DIR)
- $(INSTALL_DATA) multitail.conf $(DESTDIR)$(CONFIG_FILE).new
+ $(INSTALL_DATA) multitail.conf $(DESTDIR)$(CONFIG_FILE)
$(INSTALL_EXEC) conversion-scripts/* $(DESTDIR)$(CONFIG_DIR)
#rm -f $(DESTDIR)$(MAN1DIR)/multitail.1.gz
#gzip -9 $(DESTDIR)$(MAN1DIR)/multitail.1
4 changes: 2 additions & 2 deletions packages/multitail/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=http://www.vanheusden.com/multitail/
TERMUX_PKG_DESCRIPTION="Tool to monitor logfiles and command output in multiple windows in a terminal, colorize, filter and merge"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="7.1.2"
TERMUX_PKG_VERSION="7.1.3"
TERMUX_PKG_SRCURL=https://github.com/folkertvanheusden/multitail/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c8552e10093f0690b8baef84945753c878e234d7b3d0e3ff27e509ed5515998c
TERMUX_PKG_SHA256=f55732781f7319e137a3ff642a347af1aaf3ed5265ed12526bdd0666d708d805
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
TERMUX_PKG_DEPENDS="ncurses, ncurses-ui-libs"
Expand Down
4 changes: 2 additions & 2 deletions packages/mympd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://jcorporation.github.io/myMPD/
TERMUX_PKG_DESCRIPTION="A standalone and lightweight web-based MPD client"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="15.0.2"
TERMUX_PKG_VERSION="16.0.0"
TERMUX_PKG_SRCURL=https://github.com/jcorporation/myMPD/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=4b5cf19854f332541028b610c789fcfa7734f6d70203f1e284e2f093b3d910d0
TERMUX_PKG_SHA256=b06f04031c8833fe7b1d76717eada0d0535769110b1105ac1f9c1cfae8c9d6ed
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libflac, libid3tag, liblua54, openssl, pcre2, resolv-conf"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
Expand Down
4 changes: 2 additions & 2 deletions packages/oh-my-posh/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://ohmyposh.dev
TERMUX_PKG_DESCRIPTION="A prompt theme engine for any shell."
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="21.17.0"
TERMUX_PKG_VERSION="21.17.1"
TERMUX_PKG_SRCURL=https://github.com/JanDeDobbeleer/oh-my-posh/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=7de5561679b4a1cc05abe9d9002049060cd470c53aca9a961348e5a169afc5d4
TERMUX_PKG_SHA256=84fe7a766a798af86b797e5f2e914531e01e0bf7c8a712b7c4548ebd7986c6e1
TERMUX_PKG_AUTO_UPDATE=true

termux_step_pre_configure() {
Expand Down
5 changes: 2 additions & 3 deletions packages/pipewire/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="A server and user space API to deal with multimedia pipe
TERMUX_PKG_LICENSE="MIT, LGPL-2.1, LGPL-3.0, GPL-2.0"
TERMUX_PKG_LICENSE_FILE="COPYING, LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.1.82"
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION="1.2.0"
TERMUX_PKG_SRCURL="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${TERMUX_PKG_VERSION}/pipewire-${TERMUX_PKG_VERSION}.tar.bz2"
TERMUX_PKG_SHA256=18ecba7174bf9f5da39cdf749e6cf260bd09b6831ba2f8165b20771cd10af4e5
TERMUX_PKG_SHA256=a78516611257429633a1e020566cf03150a73d58c54e67bff936fd103d5bc6ce
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="ffmpeg, glib, libc++, liblua54, libopus, libsndfile, libwebrtc-audio-processing, lilv, ncurses, openssl, pulseaudio, readline"

Expand Down
25 changes: 9 additions & 16 deletions packages/protobuf-static/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
# Please align the version with `libprotobuf` package.
TERMUX_PKG_VERSION=25.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/protocolbuffers/protobuf/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=9bd87b8280ef720d3240514f884e56a712f2218f0d693b48050c836028940a42
v_proto_version_shared=$(. $TERMUX_SCRIPTDIR/packages/libprotobuf/build.sh; echo ${TERMUX_PKG_VERSION})
Expand Down Expand Up @@ -34,33 +34,26 @@ termux_step_pre_configure() {
if [ "${ver_shared}" != "${ver_static}" ]; then
termux_error_exit "Version mismatch between libprotobuf and protobuf-static."
fi
}

# Preserve CMake files for shared libs
local f
for f in $TERMUX_PREFIX/lib/cmake/protobuf/protobuf-targets{-release,}.cmake; do
if [ -e "${f}" ]; then
mv "${f}"{,.tmp}
fi
done
termux_step_post_make_install() {
# Copy lib/*.cmake to opt/protobuf-cmake/static for future use
mkdir -p $TERMUX_PREFIX/opt/protobuf-cmake/static
cp $TERMUX_PREFIX/lib/cmake/protobuf/protobuf-targets{,-release}.cmake \
$TERMUX_PREFIX/opt/protobuf-cmake/static/
}

termux_step_post_massage() {
find . ! -type d \
! -wholename "./lib/*.a" \
! -wholename "./lib/cmake/protobuf/protobuf-targets-release.cmake" \
! -wholename "./lib/cmake/protobuf/protobuf-targets.cmake" \
! -wholename "./opt/protobuf-cmake/static/protobuf-targets-release.cmake" \
! -wholename "./opt/protobuf-cmake/static/protobuf-targets.cmake" \
! -wholename "./share/doc/$TERMUX_PKG_NAME/*" \
-exec rm -f '{}' \;
find . ! -type d \
-wholename "./lib/libutf8_*" \
-exec rm -f '{}' \;
find . -type d -empty -delete

# Restore CMake files for shared libs
local f
for f in $TERMUX_PREFIX/lib/cmake/protobuf/protobuf-targets{-release,}.cmake; do
if [ -e "${f}".tmp ]; then
mv "${f}"{.tmp,}
fi
done
}
2 changes: 1 addition & 1 deletion packages/python-grpcio/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="High performance, open source, general RPC framework tha
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_SRCURL=git+https://github.com/grpc/grpc
TERMUX_PKG_VERSION="1.64.2"
TERMUX_PKG_VERSION="1.65.0"
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE="latest-release-tag"
TERMUX_PKG_DEPENDS="abseil-cpp, c-ares, ca-certificates, libc++, libre2, openssl, python, zlib"
Expand Down
Loading

0 comments on commit ca4bcf9

Please sign in to comment.