Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/MixxxDJ/2.5' into 2.5-rel
Browse files Browse the repository at this point in the history
  • Loading branch information
JoergAtGithub committed Jan 29, 2025
2 parents c616147 + c15790e commit 40c29ff
Show file tree
Hide file tree
Showing 11 changed files with 402 additions and 255 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
vcpkg_triplet: x64-windows-release
vcpkg_host_triplet: x64-windows-release
check_disk_space: Get-PSDrive
- os: macos-12
- os: macos-13
vcpkg_path: /Users/runner/mixxx-vcpkg
vcpkg_buildtrees-root: /Users/runner/mixxx-vcpkg/buildtrees
vcpkg_bootstrap: ./bootstrap-vcpkg.sh
vcpkg_triplet: x64-osx-min1100-release
vcpkg_host_triplet: x64-osx-min1100-release
check_disk_space: df -h
- os: macos-12
- os: macos-13
vcpkg_path: /Users/runner/mixxx-vcpkg
vcpkg_buildtrees-root: /Users/runner/mixxx-vcpkg/buildtrees
vcpkg_bootstrap: ./bootstrap-vcpkg.sh
Expand All @@ -37,13 +37,13 @@ jobs:
VCPKG_DEFAULT_TRIPLET: ${{ matrix.vcpkg_triplet }}
VCPKG_DEFAULT_HOST_TRIPLET: ${{ matrix.vcpkg_host_triplet }}
DEPS_BASE_NAME: mixxx-deps
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer
MIXXX_VERSION: 2.5
name: ${{ matrix.vcpkg_triplet }}
runs-on: ${{ matrix.os }}
steps:
- name: Check out git repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: mixxx-vcpkg

Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
if: runner.os == 'macOS'
run: |
brew update && brew install nasm autoconf-archive
/bin/bash -c "sudo xcode-select --switch /Applications/Xcode_13.1.app/Contents/Developer"
/bin/bash -c "sudo xcode-select --switch /Applications/Xcode_14.2.app/Contents/Developer"
xcrun --show-sdk-version
- name: Check available disk space
Expand All @@ -103,7 +103,7 @@ jobs:
env:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
if: runner.os == 'Windows' && env.AZURE_TENANT_ID
uses: azure/trusted-signing-action@v0.4.0
uses: azure/trusted-signing-action@v0.5.1
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand All @@ -122,7 +122,7 @@ jobs:
env:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
if: runner.os == 'Windows' && env.AZURE_TENANT_ID
uses: azure/trusted-signing-action@v0.4.0
uses: azure/trusted-signing-action@v0.5.1
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand All @@ -142,7 +142,7 @@ jobs:
env:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
if: runner.os == 'Windows' && env.AZURE_TENANT_ID
uses: azure/trusted-signing-action@v0.4.0
uses: azure/trusted-signing-action@v0.5.1
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
permissions:
issues: write
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
let issue_query = {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6
- uses: actions/stale@v9
with:
stale-issue-message: 'This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.'
any-of-labels: 'category:question,requires:repro,requires:more-information'
Expand Down
2 changes: 1 addition & 1 deletion ports/libdjinterop/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xsco/libdjinterop
REF "${VERSION}"
SHA512 1c35d8609342f133cf002d1908d5746c411a9d5e74b42a7ec045545f07a3f4b8a89ce9a95d2fc17edd8970facafbee1b6d8a9283fcd8c74c9cb96ff61f15d47d
SHA512 8107f2e6461c6c8f45592caf90b3a0775330960bc565724a53ae91b39f7911dab52725b6993182c0bc663c588acab6ee9e58a3c10426bf2d81a801bcfe540569
HEAD_REF master
)

Expand Down
2 changes: 1 addition & 1 deletion ports/libdjinterop/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libdjinterop",
"version": "0.22.1",
"version": "0.24.3",
"description": "C++ library for access to DJ record libraries. Currently only supports Denon Engine Prime databases",
"homepage": "https://github.com/xsco/libdjinterop",
"license": "LGPL-3.0-or-later",
Expand Down
312 changes: 169 additions & 143 deletions scripts/cmake/vcpkg_acquire_msys.cmake

Large diffs are not rendered by default.

45 changes: 37 additions & 8 deletions scripts/cmake/vcpkg_find_acquire_program(PKGCONFIG).cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
macro(z_vcpkg_find_acquire_pkgconfig_msys_declare_packages)
z_vcpkg_acquire_msys_declare_package(
URL "https://mirror.msys2.org/mingw/clangarm64/mingw-w64-clang-aarch64-pkgconf-1~2.3.0-1-any.pkg.tar.zst"
SHA512 b93698fc282f39715804cebeb624608584a0ef0755a6a4e321c4f0571586e91a39b3af580441f4895f5f524db151831a1eb6e06eb4de83f43a0db7b0c218bab0
PROVIDES mingw-w64-clang-aarch64-pkg-config
)
z_vcpkg_acquire_msys_declare_package(
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.3.0-1-any.pkg.tar.zst"
SHA512 5373f050060678166968e09a4dd8ad30324c5dc37842c3517ebc9eb7be7e09d37d2873ff9dc4831c283556b68a0776f06fa6f91d799020b04282b4a3f378a2c4
PROVIDES mingw-w64-x86_64-pkg-config
)
z_vcpkg_acquire_msys_declare_package(
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-pkgconf-1~2.3.0-1-any.pkg.tar.zst"
SHA512 8fc9e91dcc78a05e8d836352e91d424e7466eaacbf961fd781ff6d84aab059308942dad024e19ecfe600175241ebfb81bd4813352c3f7547d8c9bfccec962dab
PROVIDES mingw-w64-i686-pkg-config
)
endmacro()

set(program_name pkg-config)
if(DEFINED ENV{PKG_CONFIG})
debug_message(STATUS "PKG_CONFIG found in ENV! Using $ENV{PKG_CONFIG}")
Expand All @@ -17,21 +35,32 @@ elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "OpenBSD")
set(version_command --version)
elseif(CMAKE_HOST_WIN32)
if(NOT EXISTS "${PKGCONFIG}")
set(program_version 1.8.0)
if("$ENV{PROCESSOR_ARCHITECTURE}" STREQUAL "ARM64")
set(program_version 2.1.0)
if(DEFINED ENV{PROCESSOR_ARCHITEW6432})
set(host_arch "$ENV{PROCESSOR_ARCHITEW6432}")
else()
set(host_arch "$ENV{PROCESSOR_ARCHITECTURE}")
endif()

if("${host_arch}" STREQUAL "ARM64")
vcpkg_acquire_msys(PKGCONFIG_ROOT
NO_DEFAULT_PACKAGES
DIRECT_PACKAGES
"https://mirror.msys2.org/mingw/clangarm64/mingw-w64-clang-aarch64-pkgconf-1~1.8.0-2-any.pkg.tar.zst"
f682bbeb4588a169a26d3c9c1ce258c0022954fa11a64e05cd803bcbb8c4e2442022c0c6bc7e54d3324359c80ea67904187d4cb3b682914f5f14a03251daae7c
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_acquire_pkgconfig_msys_declare_packages"
PACKAGES mingw-w64-clang-aarch64-pkgconf
)
set("${program}" "${PKGCONFIG_ROOT}/clangarm64/bin/pkg-config.exe" CACHE INTERNAL "")
elseif("${host_arch}" MATCHES "64")
vcpkg_acquire_msys(PKGCONFIG_ROOT
NO_DEFAULT_PACKAGES
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_acquire_pkgconfig_msys_declare_packages"
PACKAGES mingw-w64-x86_64-pkgconf
)
set("${program}" "${PKGCONFIG_ROOT}/mingw64/bin/pkg-config.exe" CACHE INTERNAL "")
else()
vcpkg_acquire_msys(PKGCONFIG_ROOT
NO_DEFAULT_PACKAGES
DIRECT_PACKAGES
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-pkgconf-1~1.8.0-2-any.pkg.tar.zst"
e5217d9c55ede4c15706b4873761cc6e987eabc1308120a3e8406571ae2993907f3776f2b2bba18d7aaec80ef97227696058cedc1b67a773530dc1e6077b95e6
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_acquire_pkgconfig_msys_declare_packages"
PACKAGES mingw-w64-i686-pkgconf
)
set("${program}" "${PKGCONFIG_ROOT}/mingw32/bin/pkg-config.exe" CACHE INTERNAL "")
endif()
Expand Down
Loading

0 comments on commit 40c29ff

Please sign in to comment.