Commit Graph

25 Commits

Author SHA1 Message Date
Kai Pastor
11ed79186f
[libsodium] Fix arm builds (android NDK r26) (#37932)
Upstream patch, adjusted. Cherry-picked from
https://github.com/microsoft/vcpkg/pull/35851.
Fixes https://github.com/microsoft/vcpkg/issues/37423,
2024-04-02 19:21:35 -07:00
Kai Pastor
7a7ef70514
[libsodium] Use official build systems (#36800)
Drop the complex and undermaintained build system vendored into the
port.
Use msbuild for windows, and autotools otherwise.

Note: Users who change options via triplet files
(`VCPKG_CMAKE_CONFIGURE_OPTIONS`) must/can migrate to the official
options (via `VCPKG_CONFIGURE_MAKE_OPTIONS`; no equivalent for
msbuild?).

Should resolve #32888 according to my earlier ["the build also succeeds
with the official autoconf build
system."](https://github.com/microsoft/vcpkg/issues/32888#issuecomment-1662730210)
Should resolve #36777.
2024-02-21 22:07:27 -08:00
Cheney Wang
4b2d315482
[libsodium] update to 1.0.19 (#35753)
* [libsodium] update to 1.0.19

* Fix config error

* Fixes cnats and proxygen failed with undefined reference to `_crypto_aead_aegis128l_pick_best_implementation' and `_crypto_aead_aegis256_pick_best_implementation'

* Fixes undefined reference to `aegis128l_aesni_implementation' and `aegis256_aesni_implementation'
2023-12-19 23:16:05 -08:00
Mengna Li
0e20c30315
Add pkgconfig file (#33031) 2023-08-08 11:32:45 -07:00
pastdue
0e9a28874c
Add VCPKG_TARGET_IS_EMSCRIPTEN, fix opus and libsodium ports for wasm32-emscripten (#26318)
* vcpkg_common_definitions: Add VCPKG_TARGET_IS_EMSCRIPTEN

* [opus] Fix wasm32-emscripten builds

* [libsodium] Fix wasm32-emscripten builds

* Run x-add-version
2022-09-08 14:01:20 -07:00
Thomas1664
d132d128b4
[many ports] Fix cmake warnings (#24706)
* [aubio]

* [bitserializer]

* [crfsuite] Update to 2020-08-27

* format

* [freealut]

* [libe57]

* version

* [libe57] Remove docs

* version

* [libffi]

* [libmodplug]

* [libsodium]

* [libsrtp]

* [libfio]

* [ned14-internal-quickcpplib]

* version string

* version

* version

* [matio] Update to 1.5.23

* [matplusplus] Update to 1.1.0

* [pystring]

* [rdbl]

* [recast]

* [restinfo]

* [sockpp]

* [sziü]

* [taglib]

* [thor]

* [workflow]

* version

* [Forkflow] Fix typo

* version

* [pystring] license

* version

* license

* version

* [sockpp]

* version

* [refl-cpp]

* [pixel] Fix synthax warning

* version

* [matplotplusplus]

* version

* license

* version

* [szip, workflow] Remove docs

* version

* license

* version

* [szip] Fix license install

* version

* [matplotplusplus] Revert update

* version
2022-05-17 11:15:06 -07:00
Thomas Gwynne-Timothy
2980294114
[libsodium] Rework CMake build to match autoconf (#16730)
* !wip Use targets to organize build

* !wip Add separate file list for MSVC builds

* Restructure to match autoconf

I re-ordered everything so it is easier to compare directly with the
project's autoconf build files.

* Move config files to expected location

* Convert CONTROL file to manifest file

Use vcpkg helper ports.

* Use sqlite3's approach to creating config file

* Fix MSVC source list

I was originally using libsodium:master as a reference, not the release.

* Turn off tests

* Fix definition scope

* Fix JSON formatting

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Update libsodium version metadata

* [libsodium] Fix x64-windows-static[-md] builds

* [libsodium] Update port version metadata

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Glob headers and sources on Windows

* [libsodium] Fix GLOB on Windows

* [libsodium] Update verson hash

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2021-03-29 09:45:43 -07:00
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
myd7349
70c615012f [libsodium] Update to 1.0.18 (#6778) 2019-06-17 13:19:38 -07:00
Phil Christensen
58e0d4029e
[libsodium/darts-clone] remove conflicting makefile (#6875)
* [libsodium/darts-clone] remove conflicting makefile
2019-06-12 21:39:10 -07:00
myd7349
35009e4966 [libsodium] Migrate build system to CMake (#5600) 2019-05-01 15:43:48 -07:00
Victor Romero
8641dfd9dd
Modify vcpkg_fixup_cmake_targets() (#5459)
* some libraries export <PackageName>LibraryDepends.cmake
instead of <PackageName>Targets.cmake.
Those file also need the fix of #1044

should close #4753

* prefered the general solution #4622.
hopefully solved the issue within #4150
replaced the regex with something more readable
(also ident is lost)

should close:
#4753
#4633
#4150
and maybe more

* Hash vcpkg_fixup_cmake_targets.cmake

* [boost] Fix use of find_package(Boost) with cache variables
[socket-io-client] Fix install

* reversed change back to use regex replace

* [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files

* [tinyspline] Ignore warnings treated as errors

* [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches

* [libsodium] Fix apply patches

* [folly] Link correct libraries in debug and release

* [vtk] Remove unset of _IMPORT_PREFIX

* [tinyspline] Do not treat warnings as errors

* [smpeg2] Fix double* to int comparison

* [nvtt] Define value for HAVE_UNISTD_H in MacOS

* [libui] Fix MacOS X build

* [zlib] Fix download URL

* [qhull] Update to v7.2.1

* [podofo] Set value for HAVE_UNISTD_H in MacOS

* [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version

* [mongo-c-driver] Set _IMPORT_PREFIX

* [tmxparser] Bump CONTROL version

* [qhull,vxl] Bump CONTROL version
2019-02-28 23:53:42 -08:00
Robert Schumacher
c6db2c880a Updates 2019.01.09 2019-01-18 14:08:49 -08:00
myd7349
cb1b311535 [libsodium] Fix static build 2018-12-19 20:01:14 +08:00
myd7349
d02acf4393 [libsodium] Fix #3374, #3385 2018-12-19 17:50:38 +08:00
LazyWolf Lin
e629afa182 Install sodium.h (#2986) 2018-03-07 17:38:30 -08:00
Robert Schumacher
86a652c31c [libsodium] Upgrade to 1.0.16 2018-02-22 06:22:12 -08:00
Alexander Karatarakis
1e6dd7b5d1 [libsodium] Disable tests
Also, this is a workaround for x64-windows-static taking forever in VS2017 15.5
2017-12-06 18:08:03 -08:00
Alexander Karatarakis
d165543c12 [libsodium] Fix static build trying to copy dlls 2017-11-30 18:10:33 -08:00
Robert Schumacher
ca947c664a [allegro5][refprop-headers][libsodium][arb] Fix use of vcpkg_from_github's OUT_SOURCE_PATH parameter. Fixes #2178. 2017-11-12 00:22:51 -08:00
xoviat
ab2dc2cae3 FIX: use the correct paths 2017-10-17 18:53:18 -05:00
xoviat
62f665010d FIX: use correct source path 2017-10-17 18:49:05 -05:00
xoviat
1af2299387 FIX: use forward slashes 2017-10-17 18:47:20 -05:00
xoviat
9642423f1d ENH: libsodium: Copy necessary files 2017-10-17 18:43:54 -05:00
xoviat
b3f123fdd0 ENH: add portfile 2017-10-17 18:25:58 -05:00