aboutsummaryrefslogtreecommitdiff
path: root/ports/gamma
diff options
context:
space:
mode:
Diffstat (limited to 'ports/gamma')
-rw-r--r--ports/gamma/CMakeLists.txt2
-rw-r--r--ports/gamma/CONTROL2
-rw-r--r--ports/gamma/portfile.cmake18
3 files changed, 10 insertions, 12 deletions
diff --git a/ports/gamma/CMakeLists.txt b/ports/gamma/CMakeLists.txt
index 6bb48f193..1f1581ba1 100644
--- a/ports/gamma/CMakeLists.txt
+++ b/ports/gamma/CMakeLists.txt
@@ -8,8 +8,6 @@ find_library(LIBSNDFILE_LIB NAMES libsndfile-1 libsndfile)
find_path(PORTAUDIO_H portaudio.h)
find_library(PORTAUDIO_LIB NAMES portaudio)
-set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-
set(SOURCEFILES
src/arr.cpp
src/AudioIO.cpp
diff --git a/ports/gamma/CONTROL b/ports/gamma/CONTROL
index b70639ea6..7e9a41e99 100644
--- a/ports/gamma/CONTROL
+++ b/ports/gamma/CONTROL
@@ -1,4 +1,4 @@
Source: gamma
-Version: gamma-2018-01-27
+Version: gamma-2018-01-27-1
Build-Depends: libsndfile, portaudio
Description: Gamma is a cross-platform, C++ library for doing generic synthesis and filtering of signals. It is oriented towards real-time sound and graphics applications, but is equally useful for non-real-time tasks. Gamma is designed to be "light-footed" in terms of memory and processing making it highly suitable for plug-in development or embedding in other C++ projects.
diff --git a/ports/gamma/portfile.cmake b/ports/gamma/portfile.cmake
index 139e6a48a..a96a32d3c 100644
--- a/ports/gamma/portfile.cmake
+++ b/ports/gamma/portfile.cmake
@@ -1,16 +1,16 @@
-# Instead of official release, base on commit hash for now.
-set(GAMMA_RELEASE_TAG "cc442ad0c5da369966cd937a96925c7b9a04e9e5")
-
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/Gamma-${GAMMA_RELEASE_TAG})
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+set(GAMMA_RELEASE_TAG "cc442ad0c5da369966cd937a96925c7b9a04e9e5")
-vcpkg_download_distfile(ARCHIVE
- URLS "https://github.com/LancePutnam/Gamma/archive/cc442ad0c5da369966cd937a96925c7b9a04e9e5.zip"
- FILENAME "gamma-${GAMMA_RELEASE_TAG}.zip"
- SHA512 de44f4d07db0b2cf09e77508d993273d09788dfa919d549393bb77534922b65e9d8a1b8193b4b02c72e6bc4dd060b41b18ff3520a36d4c28f6e2fb4b1e859ee7
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO "LancePutnam/Gamma"
+ REF ${GAMMA_RELEASE_TAG}
+ SHA512 431f17f053ca1c5ba0117b7ae7af8efae9df454593437de00dfea8ee04991b5701bee99d79deb074e60e397981a7fc1ce3476ec118d0f369e71e2cbaa696383d
+ HEAD_REF master
)
-vcpkg_extract_source_archive(${ARCHIVE})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})