Skip to content

Commit

Permalink
Fixing termux-x11-nightly on Android 14 (termux#16255) and making @twaik
Browse files Browse the repository at this point in the history
 codeowner of termux-x11-nightly package
  • Loading branch information
twaik committed Aug 11, 2023
1 parent 52a5af5 commit 87432bb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@
/packages/alist/ @2096779623
/packages/frp/ @2096779623

# Packages owned by @twaik
/x11-packages/termux-x11-nightly/ @twaik

# Misc
/packages/blogc/ @rafaelmartins
/packages/cfengine/ @craigcomstock
Expand Down
8 changes: 8 additions & 0 deletions x11-packages/termux-x11-nightly/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Termux X11 add-on application. Still in early developmen
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Twaik Yont @twaik"
TERMUX_PKG_VERSION=1.03.00
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/termux/termux-x11/archive/05e5c98889adbbd9a1aaad72108b6dfdefdfa656.tar.gz
TERMUX_PKG_SHA256=76a8d0a0f4d063d9685091c18292b7b2947424a7ed1b8491bdcc21e7d6d5d2c4
TERMUX_PKG_PLATFORM_INDEPENDENT=true
Expand Down Expand Up @@ -51,3 +52,10 @@ termux_step_make_install() {
cp $TERMUX_PKG_SRCDIR/shell-loader/build/outputs/apk/debug/shell-loader-debug.apk \
$TERMUX_PREFIX/libexec/termux-x11/loader.apk
}

termux_step_create_debscripts() {
cat <<- EOF > postinst
#!${TERMUX_PREFIX}/bin/sh
chmod -w $TERMUX_PREFIX/libexec/termux-x11/loader.apk
EOF
}

0 comments on commit 87432bb

Please sign in to comment.