diff options
Diffstat (limited to 'vcpkg/ports/audioengine')
| -rw-r--r-- | vcpkg/ports/audioengine/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/audioengine/vcpkg.json | 20 |
2 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/audioengine/portfile.cmake b/vcpkg/ports/audioengine/portfile.cmake new file mode 100644 index 0000000..4cf20e2 --- /dev/null +++ b/vcpkg/ports/audioengine/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Darkx32/AudioEngine
+ REF "v${VERSION}"
+ SHA512 3f2144ea2bd833c4f567e64a20c9411dca9d07a6a81ca236086d65b76c6b9e91937139b9f73fbc531fecb2f6327cd5d180887122053f91d0c33ef0c04aa9edcd
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DAUDIOENGINE_EXAMPLES=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(PACKAGE_NAME AudioEngine CONFIG_PATH share/AudioEngine)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin" "${CURRENT_PACKAGES_DIR}/bin")
+endif()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/audioengine/vcpkg.json b/vcpkg/ports/audioengine/vcpkg.json new file mode 100644 index 0000000..5d6a822 --- /dev/null +++ b/vcpkg/ports/audioengine/vcpkg.json @@ -0,0 +1,20 @@ +{ + "name": "audioengine", + "version": "1.2", + "description": "AudioEngine created using C++, FFMPEG and OpenAL for a student", + "homepage": "https://github.com/Darkx32/AudioEngine", + "license": "MIT", + "supports": "x64 & (windows | linux)", + "dependencies": [ + "ffmpeg", + "openal-soft", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |