diff --git a/ports/minimp3/CONTROL b/ports/minimp3/CONTROL new file mode 100644 index 000000000..5ff1ab6b2 --- /dev/null +++ b/ports/minimp3/CONTROL @@ -0,0 +1,4 @@ +Source: minimp3 +Version: 2019-07-24 +Homepage: https://github.com/lieff/minimp3 +Description: Minimalistic, single-header library for decoding MP3. minimp3 is designed to be small, fast (with SSE and NEON support), and accurate (ISO conformant). \ No newline at end of file diff --git a/ports/minimp3/portfile.cmake b/ports/minimp3/portfile.cmake new file mode 100644 index 000000000..8c31f22d4 --- /dev/null +++ b/ports/minimp3/portfile.cmake @@ -0,0 +1,15 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO lieff/minimp3 + REF 977514a6dfc4960d819a103f43b358e58ac6c28f #committed on Jul 24 + SHA512 9120cbd84a737e93d0c8d6d53a1b9b7af1fb4387b7b0756abbf9e0f41164a26a731e1e75ff6d02052c785357cdf8465ee92f04b6e9704f830086c3cf6808d2b8 + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/minimp3.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT}) +file(COPY ${SOURCE_PATH}/minimp3_ex.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT}) + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) \ No newline at end of file