Skip to content

Commit 74885df

Browse files
committed
Test qemu
Signed-off-by: Aditya Alok <[email protected]>
1 parent ecffd6b commit 74885df

File tree

9 files changed

+13
-8
lines changed

9 files changed

+13
-8
lines changed

packages/p11-kit/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Provides a way to load and enumerate PKCS#11 modules"
33
TERMUX_PKG_LICENSE="BSD 3-Clause"
44
TERMUX_PKG_MAINTAINER="@termux"
55
TERMUX_PKG_VERSION="0.25.10"
6+
TERMUX_PKG_REVISION=1
67
TERMUX_PKG_SRCURL="https://github.com/p11-glue/p11-kit/releases/download/$TERMUX_PKG_VERSION/p11-kit-$TERMUX_PKG_VERSION.tar.xz"
78
TERMUX_PKG_SHA256=a62a137a966fb3a9bbfa670b4422161e369ddea216be51425e3be0ab2096e408
89
TERMUX_PKG_DEPENDS="libffi, libtasn1"

packages/sbcl/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="custom"
44
TERMUX_PKG_LICENSE_FILE="COPYING"
55
TERMUX_PKG_MAINTAINER="@termux"
66
TERMUX_PKG_VERSION="2.5.9"
7+
TERMUX_PKG_REVISION=1
78
# sourceforge archive is a precompiled SBCL release for GNU/Linux to use as host Lisp for bootstrapping
89
TERMUX_PKG_SRCURL=(
910
https://github.com/sbcl/sbcl/archive/refs/tags/sbcl-${TERMUX_PKG_VERSION}.tar.gz

packages/yazi/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Blazing fast terminal file manager written in Rust, base
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="@termux"
55
TERMUX_PKG_VERSION="25.5.31"
6-
TERMUX_PKG_REVISION=3
6+
TERMUX_PKG_REVISION=4
77
TERMUX_PKG_SRCURL=https://github.com/sxyazi/yazi/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
88
TERMUX_PKG_SHA256=4d005e7c3f32b5574d51ab105597f3da3a4be2f7b5cd1bcb284143ad38253ed4
99
TERMUX_PKG_BUILD_DEPENDS='aosp-libs, imagemagick'

scripts/build/setup/termux_setup_proot.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ termux_setup_proot() {
1212
[[ -d "$TERMUX_PROOT_BIN" ]] && return
1313

1414
if ! [[ -d "$TERMUX_PREFIX/opt/aosp" ]]; then
15-
echo "ERROR: Add 'aosp-libs' to TERMUX_PKG_BUILD_DEPENDS. 'proot' cannot run without it."
16-
exit 1
15+
termux_error_exit "ERROR: Add 'aosp-libs' to TERMUX_PKG_BUILD_DEPENDS. 'proot' cannot run without it."
1716
fi
1817

1918
mkdir -p "$TERMUX_PROOT_BIN"
@@ -32,12 +31,14 @@ termux_setup_proot() {
3231
"$TERMUX_PROOT_BIN"/qemu-"$TERMUX_ARCH" \
3332
"${checksums[$TERMUX_ARCH]}"
3433
chmod +x "$TERMUX_PROOT_BIN"/qemu-"$TERMUX_ARCH"
35-
TERMUX_PROOT_QEMU="-q $TERMUX_PROOT_BIN/qemu-$TERMUX_ARCH"
34+
TERMUX_PROOT_QEMU="$TERMUX_PROOT_BIN/qemu-$TERMUX_ARCH"
3635
fi
3736

3837
# NOTE: We include current PATH too so that host binaries also become available under proot.
3938
cat <<-EOF >"$TERMUX_PROOT_BIN/$TERMUX_PROOT_BIN_NAME"
4039
#!/bin/bash
40+
cmd="\$(command -v "\$1")" && shift
41+
echo "[DEBUG]: Executing \$cmd with args \$@"
4142
env -i \
4243
PATH="$TERMUX_PREFIX/bin:$PATH" \
4344
ANDROID_DATA=/data \
@@ -48,7 +49,7 @@ termux_setup_proot() {
4849
TERM=$TERM \
4950
TZ=UTC \
5051
$TERMUX_PROOT_EXTRA_ENV_VARS \
51-
$TERMUX_PROOT_BIN/proot $TERMUX_PROOT_QEMU -R / "\$@"
52+
$TERMUX_PROOT_QEMU \$cmd "\$@"
5253
EOF
5354
chmod +x "$TERMUX_PROOT_BIN/$TERMUX_PROOT_BIN_NAME"
5455
}

x11-packages/fcitx5-chinese-addons/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Addons related to Chinese, including IME previous bundle
33
TERMUX_PKG_LICENSE="LGPL-2.1"
44
TERMUX_PKG_MAINTAINER="@termux"
55
TERMUX_PKG_VERSION="5.1.9"
6-
TERMUX_PKG_REVISION=1
6+
TERMUX_PKG_REVISION=2
77
TERMUX_PKG_SRCURL="https://github.com/fcitx/fcitx5-chinese-addons/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz"
88
TERMUX_PKG_SHA256=2b2b5418c4a670be1b824c0ee6e5cae48e5115402fe3b2a407aceb19f122339b
99
TERMUX_PKG_DEPENDS="boost, fcitx5, fcitx5-qt, libc++, libcurl, libime, libopencc, qt6-qtbase"

x11-packages/gimp/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="GNU Image Manipulation Program"
33
TERMUX_PKG_LICENSE="GPL-3.0, LGPL-3.0"
44
TERMUX_PKG_MAINTAINER="@termux"
55
TERMUX_PKG_VERSION="3.0.6"
6-
TERMUX_PKG_REVISION=1
6+
TERMUX_PKG_REVISION=2
77
TERMUX_PKG_SRCURL=git+https://gitlab.gnome.org/GNOME/gimp
88
TERMUX_PKG_GIT_BRANCH="GIMP_${TERMUX_PKG_VERSION//./_}"
99
TERMUX_PKG_AUTO_UPDATE=true

x11-packages/icewm/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Window manager with goals of speed, simplicity, and usab
33
TERMUX_PKG_LICENSE="LGPL-2.0-only"
44
TERMUX_PKG_MAINTAINER="@termux"
55
TERMUX_PKG_VERSION="3.9.0"
6+
TERMUX_PKG_REVISION=1
67
TERMUX_PKG_SRCURL="https://github.com/ice-wm/icewm/releases/download/$TERMUX_PKG_VERSION/icewm-$TERMUX_PKG_VERSION.tar.lz"
78
TERMUX_PKG_SHA256=1323527a9a49db66e9ce7b08e6ec43c87700243432fc6679681df367c67b2dc0
89
TERMUX_PKG_AUTO_UPDATE=true

x11-packages/libime/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A library to support generic input method implementation
33
TERMUX_PKG_LICENSE="LGPL-2.1"
44
TERMUX_PKG_MAINTAINER="@termux"
55
TERMUX_PKG_VERSION="1.1.11"
6-
TERMUX_PKG_REVISION=1
6+
TERMUX_PKG_REVISION=2
77
TERMUX_PKG_SRCURL=git+https://github.com/fcitx/libime
88
TERMUX_PKG_GIT_BRANCH="${TERMUX_PKG_VERSION}"
99
TERMUX_PKG_DEPENDS="boost, fcitx5, libc++, libime-data, zstd"

x11-packages/telegram-desktop/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ TERMUX_PKG_LICENSE="custom"
55
TERMUX_PKG_LICENSE_FILE="LICENSE, LEGAL"
66
TERMUX_PKG_MAINTAINER="@termux"
77
TERMUX_PKG_VERSION="6.2.3"
8+
TERMUX_PKG_REVERSION=1
89
TERMUX_PKG_SRCURL=https://github.com/telegramdesktop/tdesktop/releases/download/v$TERMUX_PKG_VERSION/tdesktop-$TERMUX_PKG_VERSION-full.tar.gz
910
TERMUX_PKG_SHA256=eb78993b1e90944acbff1ffc81438b7eec9199fcae5e988af07f878eb0bfab2b
1011
TERMUX_PKG_DEPENDS="abseil-cpp, boost, ffmpeg, glib, hicolor-icon-theme, hunspell, kf6-kcoreaddons, libandroid-shmem, libc++, libdispatch, libdrm, libjxl, liblz4, libminizip, protobuf, librnnoise, libsigc++-3.0, libx11, libxcomposite, libxdamage, libxrandr, libxtst, openal-soft, opengl, openh264, openssl, pipewire, pulseaudio, qt6-qtbase, qt6-qtimageformats, qt6-qtsvg, xxhash, zlib"

0 commit comments

Comments
 (0)