aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorStephen Kyne <xskyne@gmail.com>2021-08-31 03:35:02 +0200
committerGitHub <noreply@github.com>2021-08-30 18:35:02 -0700
commita761a22de8a5b82503837e58630f9aec38f05d52 (patch)
treea198e19f90ecc212ceb55e28319711affb0ee078 /ports
parent78b7f1ba6580c474f9e4705195b4d4e008f60265 (diff)
downloadvcpkg-a761a22de8a5b82503837e58630f9aec38f05d52.tar.gz
vcpkg-a761a22de8a5b82503837e58630f9aec38f05d52.zip
[liblo] Fix filenames for linux in liblo portfile (#19660)
* Fix filenames for linux vs windows in liblo portfile * Removed deprecated call and now using vcpkg_copy_tools * Upgraded to manifest file * Increment port-version * Remove now working builds from ci.baseline * Updated versioning files * Fixed type for vcpkg.json * Updated sha for liblo version
Diffstat (limited to 'ports')
-rw-r--r--ports/liblo/CONTROL4
-rw-r--r--ports/liblo/portfile.cmake6
-rw-r--r--ports/liblo/vcpkg.json7
3 files changed, 8 insertions, 9 deletions
diff --git a/ports/liblo/CONTROL b/ports/liblo/CONTROL
deleted file mode 100644
index 4efcd14c7..000000000
--- a/ports/liblo/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: liblo
-Version: 0.31
-Homepage: https://github.com/radarsat1/liblo
-Description: liblo is an implementation of the Open Sound Control protocol for POSIX systems \ No newline at end of file
diff --git a/ports/liblo/portfile.cmake b/ports/liblo/portfile.cmake
index 9d02b6599..3ddfd9e7a 100644
--- a/ports/liblo/portfile.cmake
+++ b/ports/liblo/portfile.cmake
@@ -17,14 +17,10 @@ vcpkg_install_cmake()
# Install needed files into package directory
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/liblo)
-file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/oscsend.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/liblo)
-file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/oscdump.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/liblo)
-vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/liblo)
+vcpkg_copy_tools(TOOL_NAMES oscsend oscdump AUTO_CLEAN)
# Remove unnecessary files
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/oscsend.exe ${CURRENT_PACKAGES_DIR}/bin/oscdump.exe)
-file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/oscsend.exe ${CURRENT_PACKAGES_DIR}/debug/bin/oscdump.exe)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
diff --git a/ports/liblo/vcpkg.json b/ports/liblo/vcpkg.json
new file mode 100644
index 000000000..f013f968c
--- /dev/null
+++ b/ports/liblo/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "liblo",
+ "version-string": "0.31",
+ "port-version": 1,
+ "description": "liblo is an implementation of the Open Sound Control protocol for POSIX systems",
+ "homepage": "https://github.com/radarsat1/liblo"
+}