aboutsummaryrefslogtreecommitdiff
path: root/ports/faad2
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-07-09 05:02:34 +0800
committerGitHub <noreply@github.com>2020-07-08 14:02:34 -0700
commit5e8bcc9d391205824cc5a369a86c68a071847612 (patch)
treeefd751ece42b607cc42a65662291f3c559c752cd /ports/faad2
parenteb9c86f281de2a695b9c19e940c26d3d7f27d877 (diff)
downloadvcpkg-5e8bcc9d391205824cc5a369a86c68a071847612.tar.gz
vcpkg-5e8bcc9d391205824cc5a369a86c68a071847612.zip
[Many ports] fix invalid character in feature name (#12306)
Diffstat (limited to 'ports/faad2')
-rw-r--r--ports/faad2/CONTROL5
-rw-r--r--ports/faad2/portfile.cmake7
2 files changed, 7 insertions, 5 deletions
diff --git a/ports/faad2/CONTROL b/ports/faad2/CONTROL
index 3b258ef1b..65b02f103 100644
--- a/ports/faad2/CONTROL
+++ b/ports/faad2/CONTROL
@@ -1,7 +1,8 @@
Source: faad2
-Version: 2.9.1-1
+Version: 2.9.1
+Port-Version: 2
Homepage: https://sourceforge.net/projects/faac/
Description: Freeware Advanced Audio (AAC) Decoder
-Feature: build_decoder
+Feature: build-decoder
Description: Build the embedded decoder executable
diff --git a/ports/faad2/portfile.cmake b/ports/faad2/portfile.cmake
index 2cbec1ba7..9daa8d492 100644
--- a/ports/faad2/portfile.cmake
+++ b/ports/faad2/portfile.cmake
@@ -15,7 +15,7 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
- build_decoder FAAD_BUILD_BINARIES
+ build-decoder FAAD_BUILD_BINARIES
)
vcpkg_configure_cmake(
@@ -26,7 +26,8 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
-file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/faad2 RENAME copyright)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_copy_pdbs()
+
+file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)