diff --git a/ports/alsa/portfile.cmake b/ports/alsa/portfile.cmake index e8e2c7bbad3..81fa92c00fb 100644 --- a/ports/alsa/portfile.cmake +++ b/ports/alsa/portfile.cmake @@ -1,18 +1,21 @@ -if(NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux") - message(FATAL_ERROR "Package only supports Linux platform.") -endif() - message( -"alsa currently requires the following libraries from the system package manager: - autoconf libtool -These can be installed on Ubuntu systems via sudo apt install autoconf libtool" +"alsa currently requires the following programs from the system package manager: + autoconf autoheader aclocal automake libtoolize +On Debian and Ubuntu derivatives: + sudo apt install autoconf libtool +On recent Red Hat and Fedora derivatives: + sudo dnf install autoconf libtool +On Arch Linux and derivatives: + sudo pacman -S autoconf automake libtool +On Alpine: + apk add autoconf automake libtool" ) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO alsa-project/alsa-lib - REF v1.2.6.1 - SHA512 d1de9112ec0d600db6e5a20b558811a7a9f34d00a9b1dfb5332669b73732c1c1b8ddda57368edc199e255eba8bcb8a6767b4d9325c9860ade02d84dcaac6eb47 + REF "v${VERSION}" + SHA512 34ebeb64fd43432df779bfd6de08fb26cfd59d75586100cab7308d1ecf60d722cf137f1209426a288bdbaa27c31e963ce09690272b8d85653989a935a6fc50af HEAD_REF master PATCHES "fix-plugin-dir.patch" @@ -54,10 +57,12 @@ vcpkg_configure_make( vcpkg_install_make() vcpkg_fixup_pkgconfig() -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/tools/alsa/debug") +file(REMOVE_RECURSE + "${CURRENT_PACKAGES_DIR}/debug/include" + "${CURRENT_PACKAGES_DIR}/debug/share" + "${CURRENT_PACKAGES_DIR}/debug/tools/alsa/debug" +) -configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") diff --git a/ports/alsa/vcpkg.json b/ports/alsa/vcpkg.json index 57db52c12d7..0c9d05d1f98 100644 --- a/ports/alsa/vcpkg.json +++ b/ports/alsa/vcpkg.json @@ -1,7 +1,6 @@ { "name": "alsa", - "version": "1.2.6.1", - "port-version": 2, + "version": "1.2.8", "description": "The Advanced Linux Sound Architecture (ALSA) - library", "homepage": "https://www.alsa-project.org/", "license": "LGPL-2.1-or-later", diff --git a/versions/a-/alsa.json b/versions/a-/alsa.json index 6e0f989a1ad..c6e315bd2db 100644 --- a/versions/a-/alsa.json +++ b/versions/a-/alsa.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "1e4f79a1681c6c40c4b500bf4c8c5d3746916bab", + "version": "1.2.8", + "port-version": 0 + }, { "git-tree": "658bd201adf1ade8dcfceacc5678f4b790a799c8", "version": "1.2.6.1", diff --git a/versions/baseline.json b/versions/baseline.json index 6a6553b06f1..e160e3a2a53 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -89,8 +89,8 @@ "port-version": 1 }, "alsa": { - "baseline": "1.2.6.1", - "port-version": 2 + "baseline": "1.2.8", + "port-version": 0 }, "amd-amf": { "baseline": "1.4.29",