diff options
| author | Ilya Arzhannikov <iarzhannikov@artec-group.com> | 2021-04-23 22:14:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 13:14:08 -0700 |
| commit | cc64806c0bfee2658ef0042325fedf51e7026057 (patch) | |
| tree | 95a4117c6c41b7addb81e07aabf7c9d438899c2c | |
| parent | 30274be0ba97eb442dfef38911b3878e98d913f7 (diff) | |
| download | vcpkg-cc64806c0bfee2658ef0042325fedf51e7026057.tar.gz vcpkg-cc64806c0bfee2658ef0042325fedf51e7026057.zip | |
[Libtasn1] disable documentation (#17420)
* disable documentation generation
* ./vcpkg x-add-version libtasn1
* fix autoformat
* ./vcpkg x-add-version libtasn1 --overwrite-version
* Update the format
* Update the baseline version
* add patch to disable gtk-doc at all
* ./vcpkg x-add-version libtasn1 --overwrite-version
* ./vcpkg x-add-version libtasn1 --overwrite-version
* disable documentation through gtkdocize env variable
* ./vcpkg x-add-version libtasn1 --overwrite-version
* remove patch from portfile
* ./vcpkg x-add-version libtasn1 --overwrite-version
Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
| -rw-r--r-- | ports/libtasn1/portfile.cmake | 13 | ||||
| -rw-r--r-- | ports/libtasn1/vcpkg.json | 1 | ||||
| -rw-r--r-- | versions/baseline.json | 2 | ||||
| -rw-r--r-- | versions/l-/libtasn1.json | 5 |
4 files changed, 14 insertions, 7 deletions
diff --git a/ports/libtasn1/portfile.cmake b/ports/libtasn1/portfile.cmake index 7b2cd0ef4..a1b587ea5 100644 --- a/ports/libtasn1/portfile.cmake +++ b/ports/libtasn1/portfile.cmake @@ -7,24 +7,25 @@ vcpkg_download_distfile(ARCHIVE )
vcpkg_extract_source_archive_ex(
- OUT_SOURCE_PATH SOURCE_PATH
- ARCHIVE ${ARCHIVE}
- REF ${VERSION}
+ OUT_SOURCE_PATH SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+ REF ${VERSION}
)
# restore the default ac_cv_prog_cc_g flags, otherwise it fails to compile
-set(VCPKG_C_FLAGS "-g -O2")
+set(VCPKG_C_FLAGS "-g -O2")
set(VCPKG_CXX_FLAGS "-g -O2")
+set(ENV{GTKDOCIZE} true)
vcpkg_configure_make(
AUTOCONFIG
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
- --disable-doc
+ --disable-gtk-doc
)
vcpkg_install_make()
-vcpkg_fixup_pkgconfig()
+vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
diff --git a/ports/libtasn1/vcpkg.json b/ports/libtasn1/vcpkg.json index fbe18fbcf..b89caf469 100644 --- a/ports/libtasn1/vcpkg.json +++ b/ports/libtasn1/vcpkg.json @@ -1,6 +1,7 @@ { "name": "libtasn1", "version": "4.16.0", + "port-version": 1, "description": "A secure communications library implementing the SSL, TLS and DTLS protocols", "homepage": "https://www.gnutls.org/", "supports": "!windows" diff --git a/versions/baseline.json b/versions/baseline.json index 740c55427..f9e99c002 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3526,7 +3526,7 @@ }, "libtasn1": { "baseline": "4.16.0", - "port-version": 0 + "port-version": 1 }, "libtcod": { "baseline": "1.16.6", diff --git a/versions/l-/libtasn1.json b/versions/l-/libtasn1.json index 68d29b657..c7a142658 100644 --- a/versions/l-/libtasn1.json +++ b/versions/l-/libtasn1.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "11a07d986211ef12d636380ed414b1e2350b8041", + "version": "4.16.0", + "port-version": 1 + }, + { "git-tree": "bf9ef7a92f92205f0c883a302b7dae4eea9effee", "version": "4.16.0", "port-version": 0 |
