aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2021-02-02 18:40:56 -0800
committerGitHub <noreply@github.com>2021-02-02 18:40:56 -0800
commita84190e1deca1b6a466a82b439e5e4b9f8c41b0e (patch)
treee2979d913430d648ce9f17f3c72dbf0c1eb3d1fa /ports
parent4260eaf6fa1badb5b03be8bfcccaf8db237fa18a (diff)
downloadvcpkg-a84190e1deca1b6a466a82b439e5e4b9f8c41b0e.tar.gz
vcpkg-a84190e1deca1b6a466a82b439e5e4b9f8c41b0e.zip
[chromaprint] add new port with version 1.5.0 (#15986)
Diffstat (limited to 'ports')
-rw-r--r--ports/chromaprint/portfile.cmake16
-rw-r--r--ports/chromaprint/vcpkg.json10
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/chromaprint/portfile.cmake b/ports/chromaprint/portfile.cmake
new file mode 100644
index 000000000..da430faa5
--- /dev/null
+++ b/ports/chromaprint/portfile.cmake
@@ -0,0 +1,16 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO acoustid/chromaprint
+ REF v1.5.0
+ SHA512 333114949928abdf5d4b11aba1db6ec487eebe526324c68d903b3fa80a3af87a28d942af765a2f873e63a1bf222b658b6438cd10cde4446f61b26ea91f537469
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+vcpkg_install_cmake()
+vcpkg_fixup_pkgconfig()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/chromaprint/vcpkg.json b/ports/chromaprint/vcpkg.json
new file mode 100644
index 000000000..4808008c9
--- /dev/null
+++ b/ports/chromaprint/vcpkg.json
@@ -0,0 +1,10 @@
+{
+ "name": "chromaprint",
+ "version-string": "1.5.0",
+ "description": "C library for generating audio fingerprints used by AcoustID",
+ "homepage": "https://github.com/acoustid/chromaprint",
+ "license": "LGPL-2.1-or-later",
+ "dependencies": [
+ "ffmpeg"
+ ]
+}