diff --git a/.github/workflows/bootstrap_archives.yml b/.github/workflows/bootstrap_archives.yml index cca7d40a09b..face13b288b 100644 --- a/.github/workflows/bootstrap_archives.yml +++ b/.github/workflows/bootstrap_archives.yml @@ -1,8 +1,6 @@ name: Generate bootstrap archives (android-7) on: - schedule: - - cron: "0 0 * * 0" workflow_dispatch: permissions: {} # none diff --git a/.github/workflows/check_repository_health.yml b/.github/workflows/check_repository_health.yml index fecbff03080..e68ffa4afec 100644 --- a/.github/workflows/check_repository_health.yml +++ b/.github/workflows/check_repository_health.yml @@ -1,8 +1,6 @@ name: Check Repository Health on: - schedule: - - cron: "0 5 * * 0" # Runs at 05:00am UTC every Sunday workflow_dispatch: permissions: {} # none diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index c3bb9cebb76..00000000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: "CodeQL analysis of GitHub action jobs" - -permissions: - models: none - -on: - push: - branches: [ "master", "android-5" ] - pull_request: - branches: [ "master", "android-5" ] - schedule: - # 9:44pm, every Sunday. - - cron: '44 21 * * 0' - -jobs: - analyze: - name: Analyze (${{ matrix.language }}) - # Runner size impacts CodeQL analysis time. To learn more, please see: - # - https://gh.io/recommended-hardware-resources-for-running-codeql - # - https://gh.io/supported-runners-and-hardware-resources - # - https://gh.io/using-larger-runners (GitHub.com only) - # Consider using larger runners or machines with greater resources for possible analysis time improvements. - runs-on: ${{ case(matrix.language == 'swift', 'macos-latest', 'ubuntu-latest') }} - permissions: - # required for all workflows - security-events: write - - # required to fetch internal or private CodeQL packs - packages: read - - # only required for workflows in private repositories - actions: read - contents: read - - strategy: - fail-fast: false - matrix: - include: - - language: actions - build-mode: none - # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' - # Use `c-cpp` to analyze code written in C, C++ or both - # Use 'java-kotlin' to analyze code written in Java, Kotlin or both - # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both - # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, - # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. - # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how - # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages - steps: - - name: Checkout repository - uses: actions/checkout@v7 - - # Add any setup steps before running the `github/codeql-action/init` action. - # This includes steps like installing compilers or runtimes (`actions/setup-node` - # or others). This is typically only required for manual builds. - # - name: Setup runtime (example) - # uses: actions/setup-example@v1 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v4.39.3 - with: - languages: ${{ matrix.language }} - build-mode: ${{ matrix.build-mode }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4.39.3 - with: - category: "/language:${{matrix.language}}" diff --git a/.github/workflows/command_not_found.yml b/.github/workflows/command_not_found.yml index 9986dc9bfc4..9fb19147f46 100644 --- a/.github/workflows/command_not_found.yml +++ b/.github/workflows/command_not_found.yml @@ -1,8 +1,6 @@ name: Command Not Found Rebuild on: - schedule: - - cron: "0 4 * * 0" # Runs at 04:00am UTC every Sunday workflow_dispatch: permissions: {} # none diff --git a/.github/workflows/docker_image.yml b/.github/workflows/docker_image.yml index ab00cbe325e..3152b210679 100644 --- a/.github/workflows/docker_image.yml +++ b/.github/workflows/docker_image.yml @@ -11,16 +11,6 @@ on: - 'scripts/setup-ubuntu.sh' - 'scripts/setup-cgct.sh' - '.github/workflows/docker_image.yml' - pull_request: - paths: - - 'scripts/Dockerfile' - - 'scripts/properties.sh' - - 'scripts/setup-android-sdk.sh' - - 'scripts/setup-ubuntu.sh' - - 'scripts/setup-cgct.sh' - - '.github/workflows/docker_image.yml' - schedule: - - cron: '0 2 * * 0' workflow_dispatch: jobs: diff --git a/.github/workflows/golang_validation.yml b/.github/workflows/golang_validation.yml index 923bb68ff53..335a42ca99d 100644 --- a/.github/workflows/golang_validation.yml +++ b/.github/workflows/golang_validation.yml @@ -6,10 +6,6 @@ permissions: on: workflow_dispatch: - pull_request: - paths: - - 'packages/golang/build.sh' - - 'scripts/build/setup/termux_setup_golang.sh' jobs: planning: diff --git a/.github/workflows/package_updates.yml b/.github/workflows/package_updates.yml index b6fc582613b..c2d08472649 100644 --- a/.github/workflows/package_updates.yml +++ b/.github/workflows/package_updates.yml @@ -9,13 +9,6 @@ on: - 'packages/**' - 'root-packages/**' - 'x11-packages/**' - pull_request: - paths: - - 'packages/**' - - 'root-packages/**' - - 'x11-packages/**' - schedule: - - cron: "0 */6 * * *" workflow_dispatch: inputs: packages: diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 9b031663ab3..6303e68a153 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -3,18 +3,12 @@ name: Packages on: push: branches: - - master - dev - 'dev/**' paths: - 'packages/**' - 'root-packages/**' - 'x11-packages/**' - pull_request: - paths: - - 'packages/**' - - 'root-packages/**' - - 'x11-packages/**' workflow_dispatch: inputs: packages: diff --git a/.github/workflows/zig_validation.yml b/.github/workflows/zig_validation.yml index 19c0e63acf9..9c10679226f 100644 --- a/.github/workflows/zig_validation.yml +++ b/.github/workflows/zig_validation.yml @@ -6,10 +6,6 @@ permissions: on: workflow_dispatch: - pull_request: - paths: - - 'packages/zig/build.sh' - - 'scripts/build/setup/termux_setup_zig.sh' jobs: planning: diff --git a/packages/ffmpeg/build.sh b/packages/ffmpeg/build.sh index 2559627f08e..8fdd23a6264 100644 --- a/packages/ffmpeg/build.sh +++ b/packages/ffmpeg/build.sh @@ -4,10 +4,10 @@ TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" # Please align version with `ffplay` package. TERMUX_PKG_VERSION="9.0.2" -TERMUX_PKG_REVISION=2 +TERMUX_PKG_REVISION=91 TERMUX_PKG_SRCURL="https://www.ffmpeg.org/releases/ffmpeg-${TERMUX_PKG_VERSION}.tar.xz" TERMUX_PKG_SHA256=8c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e -TERMUX_PKG_DEPENDS="fontconfig, freetype, fribidi, game-music-emu, harfbuzz, libaom, libandroid-glob, libandroid-shmem, libandroid-stub, libass, libbluray, libbs2b, libbz2, libdav1d, libdvdnav, libdvdread, libiconv, libjxl, liblzma, libmysofa, libmp3lame, libopencore-amr, libopenmpt, libopus, libplacebo, librav1e, libsoxr, libsrt, libssh, libtheora, libv4l, libvidstab, libvmaf, libvo-amrwbenc, libvorbis, libvpx, libwebp, libx264, libx265, libxcb, libxml2, libzimg, libzmq, littlecms, ocl-icd, openssl, rubberband, svt-av1, vulkan-icd, xvidcore, zlib" +TERMUX_PKG_DEPENDS="fontconfig, freetype, fribidi, game-music-emu, harfbuzz, libaom, libandroid-glob, libandroid-shmem, libandroid-stub, libass, libbluray, libbs2b, libbz2, libdav1d, libdvdnav, libdvdread, libiconv, libjxl, liblzma, libmysofa, libmp3lame, libopencore-amr, libopenmpt, libopus, libplacebo, librav1e, libsoxr, libsrt, libssh, libtheora, libv4l, libva, libvidstab, libvmaf, libvo-amrwbenc, libvorbis, libvpx, libwebp, libx264, libx265, libxcb, libxml2, libzimg, libzmq, littlecms, ocl-icd, openssl, rubberband, svt-av1, vulkan-icd, xvidcore, zlib" TERMUX_PKG_BUILD_DEPENDS="glslang, opencl-headers, vulkan-headers" TERMUX_PKG_CONFLICTS="libav" TERMUX_PKG_BREAKS="ffmpeg-dev" @@ -137,6 +137,7 @@ termux_step_configure() { --enable-libzmq \ --enable-mediacodec \ --enable-opencl \ + --enable-vaapi \ --enable-openssl \ --enable-shared \ --prefix="$TERMUX_PREFIX" \ diff --git a/x11-packages/libva/build.sh b/packages/libva/build.sh similarity index 80% rename from x11-packages/libva/build.sh rename to packages/libva/build.sh index a78c68c6261..bc2ffbf0199 100644 --- a/x11-packages/libva/build.sh +++ b/packages/libva/build.sh @@ -8,7 +8,8 @@ TERMUX_PKG_SRCURL="https://github.com/intel/libva/archive/refs/tags/${TERMUX_PKG TERMUX_PKG_SHA256=0b4a3649ee8d683b9cce2ef094df4fb039d276c0cef7e49337c43d3b297b9f42 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libc++, libdrm, libx11, libxext, libxfixes, libwayland" -TERMUX_PKG_BUILD_DEPENDS="libglvnd, mesa, mesa-dev" +# Use GLVND directly to avoid a Mesa -> libva -> Mesa build dependency cycle. +TERMUX_PKG_BUILD_DEPENDS="libglvnd, libglvnd-dev, libwayland-cross-scanner" termux_step_pre_configure() { termux_setup_wayland_cross_pkg_config_wrapper diff --git a/x11-packages/libva/va-va_internal.h.patch b/packages/libva/va-va_internal.h.patch similarity index 100% rename from x11-packages/libva/va-va_internal.h.patch rename to packages/libva/va-va_internal.h.patch