Skip to content

Commit bf0f1dd

Browse files
committed
+macrotest-meson port
1 parent 1603005 commit bf0f1dd

File tree

5 files changed

+70
-0
lines changed

5 files changed

+70
-0
lines changed

.pipelines/build-package-preconfigured.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ parameters:
1919
- libpng
2020
- libzip-static
2121
- libzip-dynamic
22+
- macrotest-meson
2223
- minizip
2324
- openssl-static
2425
- opencv4
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# macrotest-meson
2+
This is not signed for mac on the build server. Because of this, you will have to run this before you are able to execute it, if it was built on the build server:
3+
4+
```bash
5+
sudo xattr -rd com.apple.quarantine macrotest-meson
6+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# macrotest-meson
2+
vcpkg_from_github(
3+
OUT_SOURCE_PATH SOURCE_PATH
4+
REPO mike-malburg/macrotest-meson
5+
REF main
6+
SHA512 291f6d4a1d98f87123322fb4e60072df600bd7f7f3f344bc7f294e6ce91958ea36be98d40afecdab647b03ad1723a213db12b40d9f192041784a9d026bd9bc03
7+
HEAD_REF main
8+
)
9+
10+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
11+
12+
vcpkg_configure_meson(SOURCE_PATH "${SOURCE_PATH}")
13+
vcpkg_install_meson()
14+
vcpkg_copy_pdbs()
15+
vcpkg_fixup_pkgconfig()
16+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
17+
18+
# Move main exe to tools dir
19+
vcpkg_copy_tools(
20+
TOOL_NAMES macrotest-meson
21+
SEARCH_DIR ${CURRENT_PACKAGES_DIR}/bin
22+
DESTINATION ${CURRENT_PACKAGES_DIR}/tools
23+
AUTO_CLEAN
24+
)
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "macrotest-meson",
3+
"version": "1.0.0",
4+
"port-version": 1,
5+
"description": "A test program, built with meson, which prints off OS version macro data for debugging purposes.",
6+
"dependencies": [
7+
{
8+
"name": "vcpkg-tool-meson",
9+
"host": true
10+
}
11+
]
12+
}

preconfigured-packages.json

+27
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,33 @@
298298
"tools": true
299299
}
300300
}
301+
},
302+
{
303+
"name": "macrotest-meson",
304+
"mac": {
305+
"package": "macrotest-meson",
306+
"linkType": "dynamic",
307+
"buildType": "release",
308+
"publish": {
309+
"include": false,
310+
"lib": false,
311+
"bin": false,
312+
"share": true,
313+
"tools": true
314+
}
315+
},
316+
"win": {
317+
"package": "macrotest-meson",
318+
"linkType": "dynamic",
319+
"buildType": "release",
320+
"publish": {
321+
"include": false,
322+
"lib": false,
323+
"bin": false,
324+
"share": true,
325+
"tools": true
326+
}
327+
}
301328
}
302329
]
303330
}

0 commit comments

Comments
 (0)