Skip to content

Commit

Permalink
[FlashRuntimeExtensions] Add new port (#22171)
Browse files Browse the repository at this point in the history
* Initial commit with a working port on Windows.

* Added version file.

* Update ports/flash-runtime-extensions/portfile.cmake

Co-authored-by: JonLiu1993 <[email protected]>

* Update ports/flash-runtime-extensions/portfile.cmake

Co-authored-by: JonLiu1993 <[email protected]>

* Update ports/flash-runtime-extensions/portfile.cmake

Co-authored-by: JonLiu1993 <[email protected]>

* Update ports/flash-runtime-extensions/vcpkg.json

Co-authored-by: JonLiu1993 <[email protected]>

* Update ports/flash-runtime-extensions/vcpkg.json

Co-authored-by: JonLiu1993 <[email protected]>

* Fixed address.

* Fixed url for original port.

* format vcpkg.json

* update version

* Removed comma.

* add supports

* update version

* Removing folder fixing vcpkg build.

* Changed hash value and version.

* Fixed baseline hash an version.

* Update ports/flash-runtime-extensions/portfile.cmake

* Update ports/flash-runtime-extensions/portfile.cmake

* added vcpkg x-add-version flash-runtime-extensions --overwrite-version

* update veersion

* update supports

* update version

Co-authored-by: JonLiu1993 <[email protected]>
Co-authored-by: Jonliu1993 <[email protected]>
Co-authored-by: Jack·Boos·Yu <[email protected]>
  • Loading branch information
4 people authored Jan 20, 2022
1 parent 1028f96 commit 9e50a7c
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ports/flash-runtime-extensions/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# flash-runtime-extensions
CMake port of FlashRuntimeExtensions for vcpkg
22 changes: 22 additions & 0 deletions ports/flash-runtime-extensions/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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()

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")
17 changes: 17 additions & 0 deletions ports/flash-runtime-extensions/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "flash-runtime-extensions",
"version": "2.4",
"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
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2176,6 +2176,10 @@
"baseline": "2019-04-07",
"port-version": 3
},
"flash-runtime-extensions": {
"baseline": "2.4",
"port-version": 0
},
"flashlight-cpu": {
"baseline": "0.3",
"port-version": 2
Expand Down
9 changes: 9 additions & 0 deletions versions/f-/flash-runtime-extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "39452440462486913d797009f7e4676d95f1ad7b",
"version": "2.4",
"port-version": 0
}
]
}

0 comments on commit 9e50a7c

Please sign in to comment.