Skip to content

Commit 99070cf

Browse files
authored
[lilv] Fix dependencies, tools (microsoft#42770)
1 parent 54f4adb commit 99070cf

File tree

4 files changed

+39
-4
lines changed

4 files changed

+39
-4
lines changed

ports/lilv/portfile.cmake

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,34 @@ vcpkg_from_gitlab(
77
HEAD_REF master
88
)
99

10+
set(options "")
11+
if("tools" IN_LIST FEATURES)
12+
list(APPEND options -Dtools=enabled)
13+
else()
14+
list(APPEND options -Dtools=disabled)
15+
endif()
16+
1017
vcpkg_configure_meson(
1118
SOURCE_PATH "${SOURCE_PATH}"
1219
OPTIONS
20+
${options}
21+
-Dbindings_cpp=enabled
22+
-Dbindings_py=disabled
23+
-Ddocs=disabled
1324
-Dtests=disabled
1425
)
1526

1627
vcpkg_install_meson()
17-
vcpkg_copy_tools(TOOL_NAMES lv2info lv2ls AUTO_CLEAN)
18-
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
1928
vcpkg_copy_pdbs()
2029
vcpkg_fixup_pkgconfig()
30+
31+
if("tools" IN_LIST FEATURES)
32+
vcpkg_copy_tools(TOOL_NAMES lv2apply lv2bench lv2info lv2ls AUTO_CLEAN)
33+
endif()
34+
35+
file(REMOVE_RECURSE
36+
"${CURRENT_PACKAGES_DIR}/debug/etc"
37+
"${CURRENT_PACKAGES_DIR}/debug/share"
38+
)
39+
2140
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

ports/lilv/vcpkg.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "lilv",
33
"version": "0.24.24",
4+
"port-version": 1,
45
"description": "Lilv is a C library for simple use of LV2 plugins in applications.",
56
"homepage": "https://drobilla.net/software/lilv",
67
"license": "ISC",
@@ -13,6 +14,16 @@
1314
{
1415
"name": "vcpkg-tool-meson",
1516
"host": true
17+
},
18+
"zix"
19+
],
20+
"features": {
21+
"tools": {
22+
"description": "Build tools",
23+
"supports": "!windows",
24+
"dependencies": [
25+
"libsndfile"
26+
]
1627
}
17-
]
28+
}
1829
}

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5546,7 +5546,7 @@
55465546
},
55475547
"lilv": {
55485548
"baseline": "0.24.24",
5549-
"port-version": 0
5549+
"port-version": 1
55505550
},
55515551
"linalg": {
55525552
"baseline": "2.2",

versions/l-/lilv.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "8d111881ad652319d2d57242779612581dff3b2e",
5+
"version": "0.24.24",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "350900cd2f7b77c0b2cfc8d033fe98dc4f092ee7",
510
"version": "0.24.24",

0 commit comments

Comments
 (0)