-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[libgwenhywfar] new port #16810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[libgwenhywfar] new port #16810
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
4395ac4
[libgnutls] macOS fix; additional optimizations
wrobelda a85a428
[libgnutls] update versions
wrobelda db9ec0c
[libgwenhywfar] new port
wrobelda eb8256d
[libgwenhywfar] add versions
wrobelda b39f6b7
[libgwenhywfar] use semver versioning scheme
wrobelda 2cc4509
[libgwenhywfar] use semver versioning scheme
wrobelda d4f4295
[libgwenhywfar] update versions
wrobelda 44646aa
[libgwenhywfar] make sure to fail a windows build
wrobelda 3b0cb44
[libgwenhywfar] update versions
wrobelda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,20 @@ | ||
| { | ||
| "name": "libgnutls", | ||
| "version": "3.6.15", | ||
| "port-version": 1, | ||
| "description": "A secure communications library implementing the SSL, TLS and DTLS protocols", | ||
| "homepage": "https://www.gnutls.org/", | ||
| "supports": "!windows", | ||
| "dependencies": [ | ||
| "gettext", | ||
| "gmp", | ||
| "libidn2", | ||
| "libtasn1", | ||
| "nettle" | ||
| ] | ||
| ], | ||
| "features": { | ||
| "openssl": { | ||
| "description": "enables the OpenSSL compatibility library" | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| vcpkg_fail_port_install(MESSAGE "${PORT} currently only supports unix platforms" ON_TARGET "Windows") | ||
|
|
||
| set(VERSION_MAJOR 5) | ||
| set(VERSION_MINOR 6) | ||
| set(VERSION_PATCH 0) | ||
| set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) | ||
|
|
||
| vcpkg_download_distfile(ARCHIVE | ||
| URLS "https://www.aquamaniac.de/rdm/attachments/download/364/gwenhywfar-${VERSION}.tar.gz" | ||
| FILENAME "gwenhywfar-${VERSION}.tar.gz" | ||
| SHA512 9875d677f49fc0a46f371fd1954d15d99c7d5994e90b16f1be7a5b8a1cbcd74ae9733e4541afd6d8251a2ba1a0a37c28e0f248952b7c917313fbf5b38b1d8d11 | ||
| ) | ||
|
|
||
| vcpkg_extract_source_archive_ex( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| ARCHIVE ${ARCHIVE} | ||
| REF ${VERSION} | ||
| ) | ||
|
|
||
| if ("libxml2" IN_LIST FEATURES) | ||
| set(WITH_LIBXML2_CODE "--with-libxml2-code=yes") | ||
| endif() | ||
| if ("cpp" IN_LIST FEATURES) | ||
| list(APPEND FEATURES_GUI "cpp") | ||
| endif() | ||
| if ("qt5" IN_LIST FEATURES) | ||
| list(APPEND FEATURES_GUI "qt5") | ||
| endif() | ||
|
|
||
| list(JOIN FEATURES_GUI " " GUIS) | ||
|
|
||
| if(VCPKG_TARGET_IS_OSX) | ||
| set(LDFLAGS "-framework CoreFoundation -framework Security") | ||
| else() | ||
| set(LDFLAGS "") | ||
| endif() | ||
|
|
||
| vcpkg_configure_make( | ||
| SOURCE_PATH ${SOURCE_PATH} | ||
| OPTIONS | ||
| --disable-silent-rules | ||
| --disable-binreloc | ||
| --with-guis=${GUIS} | ||
| --with-libgpg-error-prefix=${CURRENT_INSTALLED_DIR}/tools/libgpg-error | ||
| --with-libgcrypt-prefix=${CURRENT_INSTALLED_DIR}/tools/libgcrypt | ||
| --with-qt5-qmake=${CURRENT_INSTALLED_DIR}/tools/qt5/bin/qmake | ||
| --with-qt5-moc=${CURRENT_INSTALLED_DIR}/tools/qt5/bin/moc | ||
| --with-qt5-uic=${CURRENT_INSTALLED_DIR}/tools/qt5/bin/uic | ||
| ${WITH_LIBXML2_CODE} | ||
| "LDFLAGS=${LDFLAGS}" | ||
| ) | ||
|
|
||
| vcpkg_install_make() | ||
| vcpkg_copy_pdbs() | ||
| vcpkg_fixup_pkgconfig() | ||
|
|
||
| foreach(GUI IN LISTS FEATURES_GUI) | ||
| vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/gwengui-${GUI}-${VERSION_MAJOR}.${VERSION_MINOR} TARGET_PATH share/gwengui-${GUI}-${VERSION_MAJOR}.${VERSION_MINOR} DO_NOT_DELETE_PARENT_CONFIG_PATH) | ||
| endforeach() | ||
| vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/gwenhywfar-${VERSION_MAJOR}.${VERSION_MINOR}) | ||
|
|
||
| if ("tools" IN_LIST FEATURES) | ||
| vcpkg_copy_tools(SEARCH_DIR ${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin TOOL_NAMES gct-tool gsa mklistdoc typemaker typemaker2 xmlmerge AUTO_CLEAN) | ||
| endif() | ||
|
|
||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
| file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| { | ||
| "name": "libgwenhywfar", | ||
| "version-semver": "5.6.0", | ||
| "description": "A helper library for networking and security applications and libraries", | ||
| "homepage": "https://www.aquamaniac.de/rdm/", | ||
| "supports": "!windows", | ||
| "dependencies": [ | ||
| "libgcrypt", | ||
| { | ||
| "name": "libgnutls", | ||
| "features": [ | ||
| "openssl" | ||
| ] | ||
| } | ||
| ], | ||
| "default-features": [ | ||
| "cpp", | ||
| "libxml2" | ||
| ], | ||
| "features": { | ||
| "cpp": { | ||
| "description": "C++ bindings" | ||
| }, | ||
| "libxml2": { | ||
| "description": "Enables libXML2-depending functionality", | ||
| "dependencies": [ | ||
| "libxml2" | ||
| ] | ||
| }, | ||
| "qt5": { | ||
| "description": "Qt bindings", | ||
| "dependencies": [ | ||
| "qt5-base" | ||
| ] | ||
| }, | ||
| "tools": { | ||
| "description": "Some helper tools provided by Gwenhywfar and useful for applications using it" | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "5be9e6060d67e8aad23d1de86effb0ce52605ec4", | ||
| "version-semver": "5.6.0", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.