aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/faad2/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/faad2/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/faad2/portfile.cmake')
-rw-r--r--vcpkg/ports/faad2/portfile.cmake29
1 files changed, 29 insertions, 0 deletions
diff --git a/vcpkg/ports/faad2/portfile.cmake b/vcpkg/ports/faad2/portfile.cmake
new file mode 100644
index 0000000..a8e9dad
--- /dev/null
+++ b/vcpkg/ports/faad2/portfile.cmake
@@ -0,0 +1,29 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO knik0/faad2
+ REF "${VERSION}"
+ SHA512 b8f17680610b2f47344ea52b54412a02810a85eaf9d4c91b97ca09b2c6415c62d4af1b0771bfcacb9dfee400ed34504c0bd3c28369921c0392b3809e7de46ec5
+ HEAD_REF master
+ PATCHES
+ fix-install.patch
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_copy_pdbs()
+vcpkg_fixup_pkgconfig()
+
+if(VCPKG_TARGET_IS_WINDOWS)
+ vcpkg_copy_tools(TOOL_NAMES faad_cli AUTO_CLEAN)
+else()
+ vcpkg_copy_tools(TOOL_NAMES faad AUTO_CLEAN)
+endif()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")