diff options
Diffstat (limited to 'vcpkg/ports/flash-runtime-extensions')
| -rw-r--r-- | vcpkg/ports/flash-runtime-extensions/README.md | 2 | ||||
| -rw-r--r-- | vcpkg/ports/flash-runtime-extensions/portfile.cmake | 23 | ||||
| -rw-r--r-- | vcpkg/ports/flash-runtime-extensions/vcpkg.json | 18 |
3 files changed, 43 insertions, 0 deletions
diff --git a/vcpkg/ports/flash-runtime-extensions/README.md b/vcpkg/ports/flash-runtime-extensions/README.md new file mode 100644 index 0000000..6915690 --- /dev/null +++ b/vcpkg/ports/flash-runtime-extensions/README.md @@ -0,0 +1,2 @@ +# flash-runtime-extensions
+CMake port of FlashRuntimeExtensions for vcpkg
diff --git a/vcpkg/ports/flash-runtime-extensions/portfile.cmake b/vcpkg/ports/flash-runtime-extensions/portfile.cmake new file mode 100644 index 0000000..9275d34 --- /dev/null +++ b/vcpkg/ports/flash-runtime-extensions/portfile.cmake @@ -0,0 +1,23 @@ +set(VCPKG_POLICY_MISMATCHED_NUMBER_OF_BINARIES enabled)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO al-sabr/FlashRuntimeExtensions
+ REF v2.4
+ SHA512 16db340a9c8d868c64b9771e3ac9a20e775fa145f36158e798733b788fd99d1ac101bfae93b8f88b0e5a0a530e0261c1fbdf7d367031dd3108c14ee00a106c10
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup()
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
\ No newline at end of file diff --git a/vcpkg/ports/flash-runtime-extensions/vcpkg.json b/vcpkg/ports/flash-runtime-extensions/vcpkg.json new file mode 100644 index 0000000..0fdd91d --- /dev/null +++ b/vcpkg/ports/flash-runtime-extensions/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "flash-runtime-extensions", + "version": "2.4", + "port-version": 1, + "description": "Adobe AIR Native Extension API for Windows/MacOS/Linux", + "homepage": "https://github.com/al-sabr/FlashRuntimeExtensions", + "supports": "!(arm | uwp)", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |