early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/munit/fix-install.patch
vendored
Executable file
13
externals/vcpkg/ports/munit/fix-install.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index c15b405..44ee737 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -11,7 +11,7 @@ root_include = include_directories('.')
|
||||
|
||||
munit = library('munit',
|
||||
['munit.c'],
|
||||
- install: meson.is_subproject())
|
||||
+ install: not meson.is_subproject())
|
||||
|
||||
if meson.is_subproject()
|
||||
munit_dep = declare_dependency(
|
||||
23
externals/vcpkg/ports/munit/portfile.cmake
vendored
Executable file
23
externals/vcpkg/ports/munit/portfile.cmake
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO nemequ/munit
|
||||
REF da8f73412998e4f1adf1100dc187533a51af77fd
|
||||
SHA512 cd08c1291a73487f15fdba7bf8675fea9177f0ec9766900f65efb5f00c662532a16499447e9087d304de34ff9138f47d04ebf18713f5aa8aacede22c5e23b98b
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-install.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_meson(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
)
|
||||
|
||||
vcpkg_install_meson()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
14
externals/vcpkg/ports/munit/vcpkg.json
vendored
Executable file
14
externals/vcpkg/ports/munit/vcpkg.json
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "munit",
|
||||
"version-date": "2019-04-06",
|
||||
"port-version": 5,
|
||||
"description": "A small but full-featured unit testing framework for C",
|
||||
"homepage": "https://github.com/nemequ/munit",
|
||||
"supports": "!(arm | uwp)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-tool-meson",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user