aboutsummaryrefslogtreecommitdiff
path: root/ports/libdjinterop
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2021-09-22 15:00:06 -0500
committerGitHub <noreply@github.com>2021-09-22 13:00:06 -0700
commit93885afd50ff1a1408e1785dceffb01ff648c7d9 (patch)
tree2587d5d610c9c825e798503ff0ac635764670692 /ports/libdjinterop
parent47d2378c8181ece05ffc51acd2ed60d97e3c9a64 (diff)
downloadvcpkg-93885afd50ff1a1408e1785dceffb01ff648c7d9.tar.gz
vcpkg-93885afd50ff1a1408e1785dceffb01ff648c7d9.zip
[libdjinterop] update to 0.16.0 (#20136)
* [libdjinterop] update to 0.16.0 * [sqlite3] add pkgconfig file Linux distributions typically use the SQLite autoconf package, but this port uses the SQLite amalgamation package with a custom CMakeLists.txt so the port needs to take care of installing the pkgconfig file.
Diffstat (limited to 'ports/libdjinterop')
-rw-r--r--ports/libdjinterop/portfile.cmake16
-rw-r--r--ports/libdjinterop/vcpkg.json10
2 files changed, 17 insertions, 9 deletions
diff --git a/ports/libdjinterop/portfile.cmake b/ports/libdjinterop/portfile.cmake
index 484238b84..9f5981d25 100644
--- a/ports/libdjinterop/portfile.cmake
+++ b/ports/libdjinterop/portfile.cmake
@@ -1,18 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xsco/libdjinterop
- REF 0.14.6
- SHA512 3d05bc882ddc309a1b0d5e97572ede1aa826b662a19ffd8ee874c13ead668d1c3f14d59bf861ae3880588e1a9b94e4a92ccdbb5df71bfb7ffe28f57a1b123f18
+ REF 0.16.0
+ SHA512 7653e3752b8d597a967fb5f83f8b14c0db5d9cdb05a9bb22f6d9f34a890327fafdbd81996ce9af09552b69da4b9f7f0b41d631b1704b11e46e335f205c6886bf
HEAD_REF master
)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
-)
-vcpkg_install_cmake()
+vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/DjInterop)
+vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/libdjinterop/vcpkg.json b/ports/libdjinterop/vcpkg.json
index 533f90d86..7ccfa916e 100644
--- a/ports/libdjinterop/vcpkg.json
+++ b/ports/libdjinterop/vcpkg.json
@@ -1,11 +1,19 @@
{
"name": "libdjinterop",
- "version-string": "0.14.6",
+ "version": "0.16.0",
"description": "C++ library for access to DJ record libraries. Currently only supports Denon Engine Prime databases",
"homepage": "https://github.com/xsco/libdjinterop",
"license": "LGPL-3.0-or-later",
"dependencies": [
"sqlite3",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ },
"zlib"
]
}