Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <leleliu008@gmail.com>
  • Loading branch information
leleliu008 committed Oct 16, 2023
1 parent 2bdeb92 commit e9062a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wsl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
distribution: [Ubuntu-22.04, Debian, openSUSE-Leap-15.2]
distribution: [Ubuntu-22.04, Debian]

defaults:
run:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ docker start ndk-pkg

```bash
docker exec -it ndk-pkg ndk-pkg setup
docker exec -it ndk-pkg ndk-pkg upgrade-self
docker exec -it ndk-pkg ndk-pkg update
```

Expand Down
8 changes: 5 additions & 3 deletions ndk-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -2530,7 +2530,7 @@ __fetch_resources_of_the_given_package() {
__create_google_prefab_for_the_given_installed_package() {
__load_receipt_of_the_given_package "$1"

PACKAGE_NAME="$PACKAGE_RECEIPT_PKGNAME"
PACKAGE_NAME="${PACKAGE_RECEIPT_PKGNAME%@*}"

TARGET_ANDROID_API="$PACKAGE_RECEIPT_BUILT_FOR_ANDROID_API"
TARGET_ANDROID_ABI="$PACKAGE_RECEIPT_BUILT_FOR_ANDROID_ABI"
Expand Down Expand Up @@ -2809,6 +2809,8 @@ EOF

#########################################################################################

PACKAGE_NAME="${PACKAGE_NAME%@*}"

unset JAVA_PACKAGE_NAME

# java package name characters [a-z0-9_.]
Expand Down Expand Up @@ -4635,7 +4637,7 @@ __install_the_given_packages() {
ruby)
NATIVE_PACKAGE_SRC_URL='https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz'
NATIVE_PACKAGE_SRC_SHA='96c57558871a6748de5bc9f274e93f4b5aad06cd8f37befa0e8d94e7b8a423bc'
NATIVE_PACKAGE_DEPENDENCIES='zlib libyaml libffi'
NATIVE_PACKAGE_DEPENDENCIES='zlib libyaml libffi openssl'
NATIVE_PACKAGE_BUILD_SYSTEM_NAME='configure'
NATIVE_PACKAGE_BUILD_CONFIG_ARGS='--disable-dependency-tracking --enable-static --enable-shared --disable-docs'
;;
Expand Down Expand Up @@ -8954,7 +8956,7 @@ main() {

NDKPKG="$CURRENT_SCRIPT_FILEPATH"

NDKPKG_VERSION=0.6.23
NDKPKG_VERSION=0.6.24

NDKPKG_ZSH_COMPLETION_SCRIPT_URL='https://raw.githubusercontent.com/leleliu008/ndk-pkg/master/ndk-pkg-zsh-completion'
NDKPKG_OFFICAL_FORMULA_REPO_URL='https://github.com/leleliu008/ndk-pkg-formula-repository-offical-core.git'
Expand Down

0 comments on commit e9062a0

Please sign in to comment.