diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libshout | |
Diffstat (limited to 'vcpkg/ports/libshout')
| -rw-r--r-- | vcpkg/ports/libshout/portfile.cmake | 51 | ||||
| -rw-r--r-- | vcpkg/ports/libshout/vcpkg.json | 27 |
2 files changed, 78 insertions, 0 deletions
diff --git a/vcpkg/ports/libshout/portfile.cmake b/vcpkg/ports/libshout/portfile.cmake new file mode 100644 index 0000000..334eb55 --- /dev/null +++ b/vcpkg/ports/libshout/portfile.cmake @@ -0,0 +1,51 @@ +vcpkg_from_gitlab( + GITLAB_URL https://gitlab.xiph.org + OUT_SOURCE_PATH SOURCE_PATH + REPO xiph/icecast-libshout + REF "v${VERSION}" + HEAD_REF master + SHA512 04dbb567f36269506becc3a50eb5fa263cbc308764c3fc1e59c3ab4833ef944479d0d35af33941214ff86899c40253a0ded095e5e217035848ce2694496720b5 +) + +vcpkg_from_gitlab( + GITLAB_URL https://gitlab.xiph.org + OUT_SOURCE_PATH SOURCE_PATH_COMMON + REPO xiph/icecast-common + REF 5de3e8b3b063002d8a9f52122e97f721e1742531 + HEAD_REF master + SHA512 f064e2b2dd686c7647ba4c5afb9ca7e85b2015643d7a185cc319f47461aacc765e7f9b3e9576e09a73a8af0724a54fafdd7c064756d3c6e97329bb5f77806933 +) + +vcpkg_from_gitlab( + GITLAB_URL https://gitlab.xiph.org + OUT_SOURCE_PATH SOURCE_PATH_M4 + REPO xiph/icecast-m4 + REF 57027c6cc3f8b26d59e9560b4ac72a1a06d643b9 + HEAD_REF master + SHA512 67fe6fad8bf86990b5da311d729b9a746849f3d920c018112b4625b5e0d37a85444be16367967cb18a871c1ca1d679f5924ad3fc8547fbb30746b7e1f4b396bc +) + +file(COPY ${SOURCE_PATH_COMMON}/ DESTINATION ${SOURCE_PATH}/src/common) +file(COPY ${SOURCE_PATH_M4}/ DESTINATION ${SOURCE_PATH}/m4) + +set(FEATURE_OPTIONS "") +if(NOT "speex" IN_LIST FEATURES) + list(APPEND FEATURE_OPTIONS "--disable-speex") +endif() + +vcpkg_make_configure( + SOURCE_PATH "${SOURCE_PATH}" + AUTORECONF + OPTIONS + ${FEATURE_OPTIONS} +) + +vcpkg_make_install() +vcpkg_fixup_pkgconfig() + +vcpkg_copy_pdbs() + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") diff --git a/vcpkg/ports/libshout/vcpkg.json b/vcpkg/ports/libshout/vcpkg.json new file mode 100644 index 0000000..a9af943 --- /dev/null +++ b/vcpkg/ports/libshout/vcpkg.json @@ -0,0 +1,27 @@ +{ + "name": "libshout", + "version": "2.4.6", + "description": "A library for communicating with and sending data to an Icecast server.", + "homepage": "https://gitlab.xiph.org/xiph/icecast-libshout", + "license": "LGPL-2.0-or-later", + "supports": "!windows", + "dependencies": [ + "libogg", + "libtheora", + "libvorbis", + "openssl", + "pthread", + { + "name": "vcpkg-make", + "host": true + } + ], + "features": { + "speex": { + "description": "Enable support for Speex codec", + "dependencies": [ + "speex" + ] + } + } +} |