Commit Graph

24 Commits

Author SHA1 Message Date
Billy O'Neal
63d08e949d
[gklib,metis,parmetis] Update sources for metis et al. to GitHub (#26020)
* Remove bogus arguments in the `vcpkg create` template.

* [gklib] Add new port in support of metis and parmetis.

New port checklist:
* Review the code :)
* Check the name against https://repology.org/ There are 2 packages, both of which seem to be the same thing
* Check the name against Bing/Google. It's the first entry.
* Check the source code for optional `find_package`s There are none.
* Check that the versioning scheme and license match what upstream says They have none.
* Check that the source code comes from the upstream project's authoritative source. We did.
* Check that the generated usage is accurate.
* Check that the reported license is accurate. We hope so.

* [metis] Update source to github.

Resolves https://github.com/microsoft/vcpkg/issues/25764

Competes with https://github.com/microsoft/vcpkg/pull/25953

* [parmetis] Update source to github.

* Add licenses.

* Fix GKlib case.

* Fix metis install.
2022-08-03 18:59:36 -07:00
Thomas1664
c69f2b9098
[vcpkg] Add vcpkg_install_copyright() portfile function (#25239)
* [vcpkg tool] Add vcpkg_install_copyright

* Make sure FILE_LIST is provided

* relative to ${SOURCE_PATH}

* Add documentation

* Add to table of contents

* Relative paths was a bad idea.

* Tell users to use the correct way

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* Fix docs

* Add parameter COMMENT

* Rename to vcpkg_concat_copyright

* Fix escape

* Revert "Fix escape"

This reverts commit 53f1636705.

* Revert "Rename to vcpkg_concat_copyright"

This reverts commit 6ce9152a61.

* Fix escape

* Add support for single copyright file

* Update docs

* Make comment less confusing

* [ci skip] Billy CR

* [ci skip] Format

* Remove explicit checks for STREQUAL ""

* Add error msg if file doesn't exist

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-07-13 09:41:52 -07:00
Billy O'Neal
c1b768b0d6
Add vcpkg_from_*** and ${PORT} usage improvements to the vcpkg create templates. (#24763)
* Add vcpkg_from_*** and ${PORT} usage improvements to the `vcpkg create` templates.

* Also add some more quotes.

* Back out quotes to vcpkg_cmake_config_fixup as suggested by @JackBoosY
2022-05-18 02:26:19 -07:00
Thomas1664
27fd32e91c
[vcpkg baseline][quickfix] Remove from CI baseline (#23878)
* Fix deprecated cmake

* Remove from CI baseline

* Fix trailing whitespaces

* version

* Also mark "supports": "!uwp"

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-03-31 19:27:44 -07:00
Thomas1664
5c3567b5bc
[new-port-template] Remove deprecated cmake (#23283)
* Remove deprecated cmake from templates

* Fix /

* Comment about vcpkg_cmake_config_fixup
2022-03-01 15:23:01 -08:00
Jack·Boos·Yu
dd7550b0fc
[vcpkg_fail_port_install] Deprecate function (#21489)
* [vcpkg_fail_port_install] Deprecate function

* Update doc

* Apply suggestions

* Revert changes about include this function and delete doc

* Apply suggestions

* version

* Update docs/maintainers/vcpkg_fail_port_install.md

Co-authored-by: autoantwort <41973254+autoantwort@users.noreply.github.com>

* Update scripts/cmake/vcpkg_fail_port_install.cmake

* Update scripts/cmake/vcpkg_fail_port_install.cmake

* Use message("${Z_VCPKG_BACKCOMPAT_MESSAGE_LEVEL}"  to ensure it works with `--prohibit-backcompat-features`.

Co-authored-by: autoantwort <41973254+autoantwort@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-02-03 13:04:55 -08:00
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
Cristian Adam
38b959022c Add support for building with MinGW (#9137)
* Add support for building with MinGW

Tested with MSYS2 MinGW 8.3.0, gcc-mcf.lhmouse MinGW 9.2.1,
and StephanTLavavej/mingw-distro!

* Add MinGW toolchain

From your MinGW configured shell you could just use vcpkg to
configure packages.

An x64-mingw triplet would look like:
```
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_ENV_PASSTHROUGH PATH)

set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
```

* Add MinGW community tripplets

x64 tested with https://github.com/StephanTLavavej/mingw-distro
x86, arm64, arm tested with https://github.com/mstorsjo/llvm-mingw
2020-01-17 15:36:08 -08:00
JackBoosY
bc80d3c00e use macros VCPKG_TARGET_IS_ instead of VCPKG_CMAKE_SYSTEM_NAME 2019-10-07 20:11:35 -07:00
JackBoosY
c784f08ee0 update templates. 2019-10-07 20:07:43 -07:00
Vinny
e86ff2cc54 Update vcpkg create template (#8427)
* Began updating

* Added 'Homepage:' to CONTROL, added vcpkg_check_features to vcpkg_create template

* Update portfile.in.cmake

Added documentation link for vcpkg_check_features
2019-10-07 10:31:38 -07:00
Victor Romero
7a18088cf2
[vcpkg create, docs] Update create command's template and documentation on patching (#5370) 2019-02-15 14:32:07 -08:00
Hiroshi Miura
ab54bfa0cc [vcpkg] post-build cmake test (#3431)
* [vcpkg]  post-build cmake test

- test for applications with cmake build system
- Add a test feature to vcpkg core, make progress for #72
- Tests for zlib, bzip2, libiconv and openssl for example
- Test for curl will be failed, because of a bug #3053
  It can detect a this type of problems

* [vcpkg_test_cmake] Add MODULE parameter to explicitly specify which type of integration to test.

* [bzip2] Fix casing of cmake module name
2018-08-30 17:07:14 -07:00
atkawa7
78266bd041 [vcpkg] shorten license instruction in portfile.in.cmake 2017-07-27 20:21:15 -07:00
Tsukasa Sugiura
e24f83aed1 Fix typo of template
Fix typo of portfile template.
2017-06-15 08:30:22 +09:00
Mikhail Paulyshka
27f0759cab template: add some more variables 2017-03-13 03:39:46 +03:00
codicodi
95af9aac7c Add Ninja support 2017-02-03 17:16:13 +01:00
Alexander Karatarakis
e642767c84 Remove triplet inclusion from the template portfile 2016-11-08 14:45:30 -08:00
Robert Schumacher
b1fe038a83 Remove use of vcpkg_build_cmake() across all portfiles. Fixes #123 2016-10-06 15:29:37 -07:00
Alexander Karatarakis
0aa4dfb718 Update portfile template to include SOURCE_PATH 2016-10-05 16:59:59 -07:00
Alexander Karatarakis
e4ada711c2 Add Common Ambient Variables to porfile template 2016-09-28 16:21:47 -07:00
Ninetainedo
2491a16b0d Updated portfile.in.cmake to use URLS 2016-09-25 14:46:43 +02:00
Ninetainedo
8cee9c6e07 Replaced everything concerning MD5 with SHA512 2016-09-22 21:30:58 +02:00
Alexander Karatarakis
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00