mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[pipewire] new port, version 0.3.52 (#25160)
This patch only add support to build the client libraries.
This commit is contained in:
parent
b9e42cd228
commit
b88cd52af5
83
ports/pipewire/portfile.cmake
Normal file
83
ports/pipewire/portfile.cmake
Normal file
@ -0,0 +1,83 @@
|
||||
vcpkg_from_gitlab(
|
||||
GITLAB_URL https://gitlab.freedesktop.org/
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO pipewire/pipewire
|
||||
REF 0.3.52
|
||||
SHA512 30e9cf74c92babafe386f02a03bb5c41a8ee5591a02f15845cca1ee44f091ce68eb14d48943d43b680cb525026a19e0290997670f9a82156eaa72e974fe6d01a
|
||||
HEAD_REF master # branch name
|
||||
)
|
||||
|
||||
vcpkg_configure_meson(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-Dalsa=disabled
|
||||
-Daudioconvert=disabled
|
||||
-Daudiomixer=disabled
|
||||
-Daudiotestsrc=disabled
|
||||
-Davahi=disabled
|
||||
-Dbluez5-backend-hfp-native=disabled
|
||||
-Dbluez5-backend-hsp-native=disabled
|
||||
-Dbluez5-backend-hsphfpd=disabled
|
||||
-Dbluez5-backend-ofono=disabled
|
||||
-Dbluez5-codec-aac=disabled
|
||||
-Dbluez5-codec-aptx=disabled
|
||||
-Dbluez5-codec-lc3plus=disabled
|
||||
-Dbluez5-codec-ldac=disabled
|
||||
-Dbluez5=disabled
|
||||
-Dcontrol=disabled
|
||||
-Ddbus=disabled
|
||||
-Ddocs=disabled
|
||||
-Decho-cancel-webrtc=disabled
|
||||
-Devl=disabled
|
||||
-Dexamples=disabled
|
||||
-Dffmpeg=disabled
|
||||
-Dgstreamer-device-provider=disabled
|
||||
-Dgstreamer=disabled
|
||||
-Dinstalled_tests=disabled
|
||||
-Djack-devel=false
|
||||
-Djack=disabled
|
||||
-Dlegacy-rtkit=false
|
||||
-Dlibcamera=disabled
|
||||
-Dlibcanberra=disabled
|
||||
-Dlibpulse=disabled
|
||||
-Dlibusb=disabled
|
||||
-Dlv2=disabled
|
||||
-Dman=disabled
|
||||
-Dpipewire-alsa=disabled
|
||||
-Dpipewire-jack=disabled
|
||||
-Dpipewire-v4l2=disabled
|
||||
-Dpw-cat=disabled
|
||||
-Draop=disabled
|
||||
-Droc=disabled
|
||||
-Dsdl2=disabled
|
||||
-Dsndfile=disabled
|
||||
-Dspa-plugins=enabled # This one must be enabled or the resulting build won't be able to connect to pipewire daemon
|
||||
-Dsupport=enabled # This one must be enabled or the resulting build won't be able to connect to pipewire daemon
|
||||
-Dsystemd-system-service=disabled
|
||||
-Dsystemd-system-unit-dir=disabled
|
||||
-Dsystemd-user-service=disabled
|
||||
-Dsystemd-user-unit-dir=disabled
|
||||
-Dsystemd=disabled
|
||||
-Dtest=disabled
|
||||
-Dtests=disabled
|
||||
-Dudev=disabled
|
||||
-Dudevrulesdir=disabled
|
||||
-Dv4l2=disabled
|
||||
-Dvideoconvert=disabled
|
||||
-Dvideotestsrc=disabled
|
||||
-Dvolume=disabled
|
||||
-Dvulkan=disabled
|
||||
-Dx11-xfixes=disabled
|
||||
-Dx11=disabled
|
||||
-Dsession-managers=[]
|
||||
)
|
||||
vcpkg_install_meson()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
14
ports/pipewire/vcpkg.json
Normal file
14
ports/pipewire/vcpkg.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "pipewire",
|
||||
"version": "0.3.52",
|
||||
"description": "Low-latency audio/video router and processor. This port only builds the client library, not the server.",
|
||||
"homepage": "https://pipewire.org",
|
||||
"license": "MIT",
|
||||
"supports": "linux",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-tool-meson",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -5452,6 +5452,10 @@
|
||||
"baseline": "2019-07-11",
|
||||
"port-version": 2
|
||||
},
|
||||
"pipewire": {
|
||||
"baseline": "0.3.52",
|
||||
"port-version": 0
|
||||
},
|
||||
"pistache": {
|
||||
"baseline": "2021-03-31",
|
||||
"port-version": 3
|
||||
|
9
versions/p-/pipewire.json
Normal file
9
versions/p-/pipewire.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4ec746fd8458f073339bf953335742b2abb0ac53",
|
||||
"version": "0.3.52",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user