diff --git a/ports/openal-soft/portfile.cmake b/ports/openal-soft/portfile.cmake index d5717f0a79ddfa..09090babaf41d5 100644 --- a/ports/openal-soft/portfile.cmake +++ b/ports/openal-soft/portfile.cmake @@ -31,13 +31,12 @@ if(VCPKG_TARGET_IS_OSX) endif() vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH} + SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DLIBTYPE=${OPENAL_LIBTYPE} -DALSOFT_UTILS=OFF -DALSOFT_NO_CONFIG_UTIL=ON -DALSOFT_EXAMPLES=OFF - -DALSOFT_TESTS=OFF -DALSOFT_CONFIG=OFF -DALSOFT_HRTF_DEFS=OFF -DALSOFT_AMBDEC_PRESETS=OFF @@ -45,7 +44,6 @@ vcpkg_configure_cmake( -DALSOFT_BACKEND_OSS=OFF -DALSOFT_BACKEND_SOLARIS=OFF -DALSOFT_BACKEND_SNDIO=OFF - -DALSOFT_BACKEND_QSA=OFF -DALSOFT_BACKEND_PORTAUDIO=OFF -DALSOFT_BACKEND_PULSEAUDIO=OFF -DALSOFT_BACKEND_COREAUDIO=${ALSOFT_REQUIRE_OSX} @@ -57,24 +55,41 @@ vcpkg_configure_cmake( -DALSOFT_REQUIRE_WASAPI=${ALSOFT_REQUIRE_WINDOWS} -DALSOFT_CPUEXT_NEON=OFF -DCMAKE_DISABLE_FIND_PACKAGE_WindowsSDK=ON + MAYBE_UNUSED_VARIABLES + ALSOFT_AMBDEC_PRESETS + ALSOFT_BACKEND_ALSA + ALSOFT_BACKEND_COREAUDIO + ALSOFT_BACKEND_JACK + ALSOFT_BACKEND_OPENSL + ALSOFT_BACKEND_OSS + ALSOFT_BACKEND_PORTAUDIO + ALSOFT_BACKEND_PULSEAUDIO + ALSOFT_BACKEND_SNDIO + ALSOFT_BACKEND_SOLARIS + ALSOFT_CONFIG + ALSOFT_CPUEXT_NEON + ALSOFT_HRTF_DEFS + CMAKE_DISABLE_FIND_PACKAGE_WindowsSDK ) vcpkg_install_cmake() -vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/OpenAL) +vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/OpenAL") foreach(HEADER al.h alc.h) - file(READ ${CURRENT_PACKAGES_DIR}/include/AL/${HEADER} AL_H) + file(READ "${CURRENT_PACKAGES_DIR}/include/AL/${HEADER}" AL_H) if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") string(REPLACE "defined(AL_LIBTYPE_STATIC)" "1" AL_H "${AL_H}") else() string(REPLACE "defined(AL_LIBTYPE_STATIC)" "0" AL_H "${AL_H}") endif() - file(WRITE ${CURRENT_PACKAGES_DIR}/include/AL/${HEADER} "${AL_H}") + file(WRITE "${CURRENT_PACKAGES_DIR}/include/AL/${HEADER}" "${AL_H}") endforeach() +vcpkg_fixup_pkgconfig() + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") -file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) -file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) +file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") vcpkg_copy_pdbs() diff --git a/ports/openal-soft/vcpkg.json b/ports/openal-soft/vcpkg.json index 29378666b14ea4..6783a1bed171ec 100644 --- a/ports/openal-soft/vcpkg.json +++ b/ports/openal-soft/vcpkg.json @@ -1,6 +1,7 @@ { "name": "openal-soft", - "version-string": "1.21.1", + "version-semver": "1.21.1", + "port-version": 1, "description": "OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL 3D audio API.", "homepage": "https://github.com/kcat/openal-soft", "supports": "!uwp" diff --git a/versions/baseline.json b/versions/baseline.json index 23329bde0bdad6..51fad519542e71 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4558,7 +4558,7 @@ }, "openal-soft": { "baseline": "1.21.1", - "port-version": 0 + "port-version": 1 }, "openblas": { "baseline": "0.3.15", diff --git a/versions/o-/openal-soft.json b/versions/o-/openal-soft.json index c89e17c0166f2f..0b2d40ef9ba925 100644 --- a/versions/o-/openal-soft.json +++ b/versions/o-/openal-soft.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "cb266fe5f02b9d2b5cb38343d25083359062bd07", + "version-semver": "1.21.1", + "port-version": 1 + }, { "git-tree": "735740a45f65f166bd693795a7bed3d2ef079baf", "version-string": "1.21.1",