vcpkg/ports/libcanberra/macos_pkgconfig.patch
Dawid Wróbel 8c7e42e5af
[libcanberra] new port (#19816)
* [libcanberra] new port

* [libcanberra] add libvorbis depnendency

* [libcanberra] update versions

* [libcanberra] fix macOS build

* [libcanberra] only support mac and linux

* [libcanberra] update versions

* [libcanberra] patch pkgconfig on macOS

* [libcanberra] update versions

* [libcanberra] unix-only port, remove vcpkg_copy_pdbs()

diff --git a/ports/libcanberra/portfile.cmake b/ports/libcanberra/portfile.cmake
index 1dec6214c..b4d75f77e 100644
--- a/ports/libcanberra/portfile.cmake
+++ b/ports/libcanberra/portfile.cmake
@@ -62,7 +62,6 @@ if(VCPKG_TARGET_IS_OSX)
 endif()

 vcpkg_fixup_pkgconfig()
-vcpkg_copy_pdbs()

 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/tools") # empty folder

* [libcanberra] update versions

* [libcanberra] fix .pc.in token expansion

* [libcanberra] update versions
2021-09-27 17:19:43 -07:00

13 lines
379 B
Diff

diff --git a/libcanberra.pc.in b/libcanberra.pc.in
index 0a5c7a1..91a9e39 100644
--- a/libcanberra.pc.in
+++ b/libcanberra.pc.in
@@ -7,5 +7,7 @@ Name: libcanberra
Description: Event Sound API
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lcanberra @PTHREAD_LIBS@
+Libs.private: @LIBS_PRIVATE@
Cflags: -D_REENTRANT -I${includedir}
+Cflags.private: @CFLAGS_PRIVATE@
Requires: