aboutsummaryrefslogtreecommitdiff
path: root/ports/libogg
diff options
context:
space:
mode:
authorMatthew Oliver <protogonoi@gmail.com>2020-08-19 05:58:14 +1000
committerGitHub <noreply@github.com>2020-08-18 12:58:14 -0700
commit272269583c80a4ba626d405e79a88a2ddd6d950d (patch)
treeaca2bd4c6ea94d1656e983492752ea33c2b0bb1e /ports/libogg
parentbc8807963282a6b01f0e7ba94b732c5ec028d6a1 (diff)
downloadvcpkg-272269583c80a4ba626d405e79a88a2ddd6d950d.tar.gz
vcpkg-272269583c80a4ba626d405e79a88a2ddd6d950d.zip
[ffmpeg] Add feature support for zlib, iconv, fdk-aac, mp3lame, opus, soxr, theora. (#11277)
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Diffstat (limited to 'ports/libogg')
-rw-r--r--ports/libogg/CONTROL1
-rw-r--r--ports/libogg/portfile.cmake3
2 files changed, 3 insertions, 1 deletions
diff --git a/ports/libogg/CONTROL b/ports/libogg/CONTROL
index bc36d27b6..c89497a19 100644
--- a/ports/libogg/CONTROL
+++ b/ports/libogg/CONTROL
@@ -1,4 +1,5 @@
Source: libogg
Version: 1.3.4
+Port-Version: 2
Description: Ogg is a multimedia container format, and the native file and stream format for the Xiph.org multimedia codecs.
Homepage: https://github.com/xiph/ogg
diff --git a/ports/libogg/portfile.cmake b/ports/libogg/portfile.cmake
index 476feb7d2..617a8a65a 100644
--- a/ports/libogg/portfile.cmake
+++ b/ports/libogg/portfile.cmake
@@ -11,7 +11,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
- OPTIONS -DINSTALL_DOCS=0 -DINSTALL_PKG_CONFIG_MODULE=0
+ OPTIONS -DINSTALL_DOCS=0 -DINSTALL_PKG_CONFIG_MODULE=1
)
vcpkg_install_cmake()
@@ -21,6 +21,7 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Ogg TARGET_PATH share/ogg)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_copy_pdbs()
+vcpkg_fixup_pkgconfig()
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)