aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAybe <aybe@users.noreply.github.com>2017-11-21 03:38:04 +0100
committerAybe <aybe@users.noreply.github.com>2017-11-21 03:38:04 +0100
commitc4d9af91c315bcd5d0e35ea26d61fc1317cd4dfe (patch)
treee42bd541cc7fa0814f4e366e670960a67b1fb486
parent9bd4d9a050657b4ec372868c3ff506b088ccb971 (diff)
downloadvcpkg-c4d9af91c315bcd5d0e35ea26d61fc1317cd4dfe.tar.gz
vcpkg-c4d9af91c315bcd5d0e35ea26d61fc1317cd4dfe.zip
[aubio] bumping to 0.46 and using GitHub instead
-rw-r--r--ports/aubio/CONTROL2
-rw-r--r--ports/aubio/portfile.cmake11
2 files changed, 7 insertions, 6 deletions
diff --git a/ports/aubio/CONTROL b/ports/aubio/CONTROL
index 8a6f114a7..635d2a9c9 100644
--- a/ports/aubio/CONTROL
+++ b/ports/aubio/CONTROL
@@ -1,4 +1,4 @@
Source: aubio
-Version: 0.46~alpha-4
+Version: 0.46
Description: Aubio is a tool designed for the extraction of annotations from audio signals. Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio.
Build-Depends: ffmpeg, libsndfile, libogg, libflac, libvorbis
diff --git a/ports/aubio/portfile.cmake b/ports/aubio/portfile.cmake
index 9421f2487..02b898246 100644
--- a/ports/aubio/portfile.cmake
+++ b/ports/aubio/portfile.cmake
@@ -1,11 +1,12 @@
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/aubio-3c230fae309e9ea3298783368dd71bae6172359a)
-vcpkg_download_distfile(ARCHIVE
- URLS "https://github.com/aubio/aubio/archive/3c230fae309e9ea3298783368dd71bae6172359a.zip"
- FILENAME "aubio-0.4.6-3c230f.zip"
- SHA512 081fe59612f0b1860f465208739b1377869c64b91cecf4a6f6fbdea19204b801c650ff956b34be5988ef1905f3546d3c55846037487e0b34b014f1adbb68629c
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO aubio/aubio
+ REF 0.4.6
+ SHA512 9bb787d81f39ab8e3440be9936552a712a24e009884818e13e80dde756ad3874055bcd931ca3af638122f6a0d0bc53e62e1abeedce3fd79af35fe9ddea6bc707
+ HEAD_REF master
)
-vcpkg_extract_source_archive(${ARCHIVE})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})