early-access version 2853
This commit is contained in:
41
externals/vcpkg/ports/gamma/CMakeLists.txt
vendored
Executable file
41
externals/vcpkg/ports/gamma/CMakeLists.txt
vendored
Executable file
@@ -0,0 +1,41 @@
|
||||
cmake_minimum_required (VERSION 3.0)
|
||||
|
||||
project (gamma)
|
||||
|
||||
# dependent on libsndfile and portaudio
|
||||
find_package(SndFile CONFIG REQUIRED)
|
||||
find_path(PORTAUDIO_H portaudio.h)
|
||||
find_library(PORTAUDIO_LIB NAMES portaudio)
|
||||
|
||||
set(SOURCEFILES
|
||||
src/arr.cpp
|
||||
src/AudioIO.cpp
|
||||
src/Conversion.cpp
|
||||
src/Domain.cpp
|
||||
src/DFT.cpp
|
||||
src/FFT_fftpack.cpp
|
||||
src/fftpack++1.cpp
|
||||
src/fftpack++2.cpp
|
||||
src/SoundFile.cpp
|
||||
src/Print.cpp
|
||||
src/Recorder.cpp
|
||||
src/scl.cpp
|
||||
src/Scheduler.cpp
|
||||
src/Timer.cpp
|
||||
src/SoundFile.cpp)
|
||||
|
||||
include_directories(. Gamma ${CMAKE_INSTALL_FULL_INCLUDEDIR} ${PORTAUDIO_H})
|
||||
|
||||
add_library (gamma ${SOURCEFILES})
|
||||
target_link_libraries(gamma PUBLIC SndFile::sndfile ${PORTAUDIO_LIB})
|
||||
|
||||
install(
|
||||
TARGETS gamma
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
|
||||
if(NOT DISABLE_INSTALL_HEADERS)
|
||||
install(DIRECTORY Gamma DESTINATION include FILES_MATCHING PATTERN "*.h")
|
||||
endif()
|
||||
25
externals/vcpkg/ports/gamma/portfile.cmake
vendored
Executable file
25
externals/vcpkg/ports/gamma/portfile.cmake
vendored
Executable file
@@ -0,0 +1,25 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(GAMMA_RELEASE_TAG "cc442ad0c5da369966cd937a96925c7b9a04e9e5")
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO "LancePutnam/Gamma"
|
||||
REF ${GAMMA_RELEASE_TAG}
|
||||
SHA512 431f17f053ca1c5ba0117b7ae7af8efae9df454593437de00dfea8ee04991b5701bee99d79deb074e60e397981a7fc1ce3476ec118d0f369e71e2cbaa696383d
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=1
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
18
externals/vcpkg/ports/gamma/vcpkg.json
vendored
Executable file
18
externals/vcpkg/ports/gamma/vcpkg.json
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "gamma",
|
||||
"version-string": "gamma-2018-01-27",
|
||||
"port-version": 4,
|
||||
"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.",
|
||||
"homepage": "https://github.com/LancePutnam/Gamma",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "libsndfile",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"external-libs"
|
||||
]
|
||||
},
|
||||
"portaudio"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user