这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/biboumi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ TERMUX_PKG_DESCRIPTION="An XMPP gateway that connects to IRC servers and transla
TERMUX_PKG_LICENSE="ZLIB"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=9.0
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://github.com/louiz/biboumi/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=4d5bd5e21252ab4e79c14413afb922d69beba802519c9f38796f6c1372abac41
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
TERMUX_PKG_DEPENDS="libc++, libexpat, libgcrypt, libiconv, libidn, libsqlite, libuuid"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
-DWITHOUT_BOTAN=ON
-DWITHOUT_POSTGRESQL=ON
-DWITHOUT_SYSTEMD=ON
Expand Down
8 changes: 4 additions & 4 deletions packages/ccls/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://github.com/MaskRay/ccls
TERMUX_PKG_DESCRIPTION="C/C++/ObjC language server"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
_COMMIT=3799e389205cdc85a0dad9a84723e1befa81cbab
_COMMIT_DATE=2025.05.11
TERMUX_PKG_VERSION=0.${_COMMIT_DATE//./}
_COMMIT=5660367c771345b68c4ead4a4db2d4786985bf78
TERMUX_PKG_VERSION=0.20250815
TERMUX_PKG_SRCURL=git+https://github.com/MaskRay/ccls.git
TERMUX_PKG_GIT_BRANCH=master
TERMUX_PKG_AUTO_UPDATE=false
Expand All @@ -19,7 +18,8 @@ termux_step_pre_configure() {
git fetch --unshallow
git checkout $_COMMIT

local version="$(git log -1 --format=%cs | sed 's/-/./g')"
local version="$(git log -1 --format=%cs | sed 's/-//g')"
local _COMMIT_DATE="${TERMUX_PKG_VERSION:2:9}"
if [ "$version" != "$_COMMIT_DATE" ]; then
echo -n "ERROR: The specified commit date \"$_COMMIT_DATE\""
echo " is different from what is expected to be: \"$version\""
Expand Down
10 changes: 9 additions & 1 deletion packages/cmus/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Small, fast and powerful console music player"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.12.0"
TERMUX_PKG_REVISION="4"
TERMUX_PKG_REVISION="5"
TERMUX_PKG_DEPENDS="ffmpeg, libandroid-support, libflac, libiconv, libmad, libmodplug, libvorbis, libwavpack, ncurses, opusfile, pulseaudio, alsa-lib"
TERMUX_PKG_SRCURL=https://github.com/cmus/cmus/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=44b96cd5f84b0d84c33097c48454232d5e6a19cd33b9b6503ba9c13b6686bfc7
Expand All @@ -27,6 +27,14 @@ termux_step_pre_configure() {
mkdir -p "${_libdir}"
cp "$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/$TERMUX_HOST_PLATFORM/26/libaaudio.so" "${_libdir}"
LDFLAGS+=" -L${_libdir}"
# this commit https://github.com/termux/termux-packages/commit/0970a2f2d89f64acd7a3fc94845d298bee010cc6 ,
# which was necessary to compile coreutils with NDK 27,
# is, on the other hand, when combined with NDK r28c,
# incompatible with '-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -Werror=unguarded-availability,'
# which is used internally by the cmus package,
# so the vanilla header must be used for cmus in order to pass its termux_step_post_massage() successfully.
cp "$HOME/lib/android-ndk-r$TERMUX_NDK_VERSION/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/time.h" "${_libdir}"
CFLAGS+=" -I${_libdir}/"
fi

LD=$CC
Expand Down
2 changes: 2 additions & 0 deletions packages/libunqlite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ TERMUX_PKG_LICENSE="BSD 2-Clause, Sleepycat"
TERMUX_PKG_LICENSE_FILE="LICENSE, src/jx9_license.txt"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.1.9
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/symisc/unqlite/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=33d5b5e7b2ca223942e77d31112d2e20512bc507808414451c8a98a7be5e15c0
TERMUX_PKG_NO_STATICSPLIT=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
3 changes: 2 additions & 1 deletion packages/python-cmake/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ TERMUX_PKG_DESCRIPTION="Python wrapper for CMake"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="4.1.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL="https://github.com/scikit-build/cmake-python-distributions/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=a59afcba06d0d3415f1bfb14376ed2bbdb4375a7d2f34c24907874114d00e31e
TERMUX_PKG_SHA256=95517fc9c5cbd5cdb1be00504361157b70e2e2c69ce912ad83c891ce8e94eb11
TERMUX_PKG_DEPENDS="cmake, cmake-curses-gui, python, python-pip"
TERMUX_PKG_SETUP_PYTHON=true
TERMUX_PKG_BUILD_IN_SRC=true
Expand Down
8 changes: 7 additions & 1 deletion packages/quick-lint-js/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ TERMUX_PKG_DESCRIPTION="Finds bugs in JavaScript programs"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.2.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=git+https://github.com/quick-lint/quick-lint-js
TERMUX_PKG_GIT_BRANCH=$TERMUX_PKG_VERSION
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DBUILD_TESTING=OFF -DQUICK_LINT_JS_USE_BUILD_TOOLS=$TERMUX_PKG_HOSTBUILD_DIR/build-tools/"
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_HOSTBUILD=true
TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBUILD_TESTING=OFF
-DQUICK_LINT_JS_USE_BUILD_TOOLS=$TERMUX_PKG_HOSTBUILD_DIR/build-tools/
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
"

termux_step_host_build() {
# https://quick-lint-js.com/contribute/build-from-source/cross-compiling/
Expand Down
3 changes: 2 additions & 1 deletion packages/rapidjson/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ TERMUX_PKG_DESCRIPTION="Fast JSON parser/generator for C++ with SAX/DOM style AP
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.1.0"
TERMUX_PKG_REVISION=5
TERMUX_PKG_REVISION=6
TERMUX_PKG_SRCURL=https://github.com/Tencent/rapidjson/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
-DRAPIDJSON_BUILD_EXAMPLES=OFF
"
4 changes: 2 additions & 2 deletions packages/tex-gyre/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="custom"
TERMUX_PKG_LICENSE_FILE="GUST-FONT-LICENSE.txt"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.501
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg${TERMUX_PKG_VERSION//./_}otf.zip
TERMUX_PKG_SHA256=d7f8be5317bec4e644cf16c5abf876abeeb83c43dbec0ccb4eee4516b73b1bbe
TERMUX_PKG_PLATFORM_INDEPENDENT=true
Expand All @@ -13,7 +13,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
termux_step_post_get_source() {
termux_download https://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt \
$TERMUX_PKG_SRCDIR/GUST-FONT-LICENSE.txt \
a746108477b2fa685845e7596b7ad8342bc358704b2b7da355f2df0a0cb8ad85
5eb61bb836bb1845ef668717cb15b382e997748ce2629e4388cc5e4c3fa4e433
}

termux_step_make_install() {
Expand Down
8 changes: 6 additions & 2 deletions root-packages/encfs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ TERMUX_PKG_LICENSE="LGPL-3.0, GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
_COMMIT=c444f9b9176beea1ad41a7b2e29ca26e709b57f7
TERMUX_PKG_VERSION=2020.05.09-${_COMMIT:0:8}
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://github.com/vgough/encfs/archive/${_COMMIT}.tar.gz
TERMUX_PKG_SHA256=4b4d6b7465114ae74e2c9c6faea0411ea59bcea0f11193db72459e8bb73c16c7
TERMUX_PKG_DEPENDS="libc++, libfuse2, openssl"
TERMUX_PKG_DEPENDS="libc++, libfuse2, libtinyxml2, openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DUSE_INTERNAL_TINYXML=OFF
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
"
7 changes: 4 additions & 3 deletions x11-packages/galculator/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ TERMUX_PKG_DESCRIPTION="GTK+ based scientific calculator"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.1.4
TERMUX_PKG_REVISION=24
TERMUX_PKG_SRCURL=http://galculator.mnim.org/downloads/galculator-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=01cfafe6606e7ec45facb708ef85efd6c1e8bb41001a999d28212a825ef778ae
TERMUX_PKG_REVISION=25
TERMUX_PKG_SRCURL="https://github.com/galculator/galculator/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=dcbdb48ddf8a3f68b9aa5902f880f174fd269de2b7410988148d05871012e142
TERMUX_PKG_DEPENDS="atk, gdk-pixbuf, glib, gtk3, libcairo, pango"

termux_step_pre_configure() {
autoreconf -fi
CFLAGS+=" -fcommon"
}
2 changes: 1 addition & 1 deletion x11-packages/glslviewer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Console-based GLSL Sandbox for 2D/3D shaders"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.2.4"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=git+https://github.com/patriciogonzalezvivo/glslViewer
TERMUX_PKG_GIT_BRANCH=$TERMUX_PKG_VERSION
TERMUX_PKG_DEPENDS="ffmpeg, glfw, glu, libdrm, liblo, libxcb, mesa-dev, ncurses"
Expand Down
32 changes: 32 additions & 0 deletions x11-packages/glslviewer/vera-disable-exiv2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From b6e3e12e53a4083fbbe8e6a444d1eccf9a887790 Mon Sep 17 00:00:00 2001
From: Patricio Gonzalez Vivo <patriciogonzalezvivo@gmail.com>
Date: Sun, 17 Dec 2023 16:19:40 -0500
Subject: [PATCH] suspending exiv2 lib

---
src/CMakeLists.txt | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

--- a/deps/vera/src/CMakeLists.txt
+++ b/deps/vera/src/CMakeLists.txt
@@ -161,13 +161,13 @@ else()
endif()
endif()

-find_package(exiv2lib CONFIG NAMES exiv2)
-if (exiv2lib_FOUND)
- link_libraries(exiv2lib)
- target_compile_definitions(vera PUBLIC SUPPORT_EXIV2)
- target_link_libraries(vera PRIVATE exiv2lib)
- message(STATUS "EXIV2 FOUNDED")
-endif()
+# find_package(exiv2lib CONFIG NAMES exiv2)
+# if (exiv2lib_FOUND)
+# link_libraries(exiv2lib)
+# target_compile_definitions(vera PUBLIC SUPPORT_EXIV2)
+# target_link_libraries(vera PRIVATE exiv2lib)
+# message(STATUS "EXIV2 FOUNDED")
+# endif()

if (NO_X11 OR FORCE_GBM)
if (BROADCOM_FOUND AND NOT FORCE_GBM)
2 changes: 1 addition & 1 deletion x11-packages/milkytracker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="music creation tool inspired by Fast Tracker 2"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.05.01"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL="https://github.com/milkytracker/MilkyTracker/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=c487fccf6c97c483f5a624c3a408377393fa45a27cca27323425ad71ee689e16
TERMUX_PKG_AUTO_UPDATE=true
Expand Down
12 changes: 12 additions & 0 deletions x11-packages/milkytracker/cmake-4.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b05e3da..81f10fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -158,7 +158,6 @@ elseif(WIN32)
else()
# Workaround for SDL bug #3295, which occurs in SDL2 <2.0.5
# https://bugzilla.libsdl.org/show_bug.cgi?id=3295
- cmake_policy(SET CMP0004 OLD)

find_package(SDL2 REQUIRED)
endif()
3 changes: 2 additions & 1 deletion x11-packages/xpdf/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ TERMUX_PKG_DESCRIPTION="Xpdf is an open source viewer for Portable Document Form
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="4.05"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://dl.xpdfreader.com/xpdf-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=92707ed5acb6584fbd73f34091fda91365654ded1f31ba72f0970022cf2a5cea
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="fontconfig, freetype, libc++, libpng, qt6-qtbase, qt6-qtsvg"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_POLICY_VERSION_MINIMUM=3.5"

# Remove files conflicting with poppler:
TERMUX_PKG_RM_AFTER_INSTALL="
Expand Down