git: 7b2238cfcb4f - main - audio/ggwave: New port: Tiny data-over-sound library
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Jan 2023 09:53:24 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b2238cfcb4fc446edcd1e0af3c1acb8ddb1dc91 commit 7b2238cfcb4fc446edcd1e0af3c1acb8ddb1dc91 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-15 07:37:15 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-15 09:53:20 +0000 audio/ggwave: New port: Tiny data-over-sound library --- audio/Makefile | 1 + audio/ggwave/Makefile | 28 ++++++++++++++++++++++++++++ audio/ggwave/distinfo | 3 +++ audio/ggwave/files/patch-CMakeLists.txt | 11 +++++++++++ audio/ggwave/pkg-descr | 2 ++ 5 files changed, 45 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 43b9a8914c55..be8a3139df09 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -223,6 +223,7 @@ SUBDIR += gbsplay SUBDIR += geonkick-lv2 SUBDIR += gervill + SUBDIR += ggwave SUBDIR += giada SUBDIR += glurp SUBDIR += gmsynth-lv2 diff --git a/audio/ggwave/Makefile b/audio/ggwave/Makefile new file mode 100644 index 000000000000..365193ee8fc2 --- /dev/null +++ b/audio/ggwave/Makefile @@ -0,0 +1,28 @@ +PORTNAME= ggwave +DISTVERSIONPREFIX= ggwave-v +DISTVERSION= 0.4.1 +CATEGORIES= audio + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Tiny data-over-sound library +WWW= https://github.com/ggerganov/ggwave + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:testing compiler:c++11-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= ggerganov + +CMAKE_OFF= GGWAVE_BUILD_TESTS GGWAVE_BUILD_EXAMPLES GGWAVE_SUPPORT_SWIFT +CMAKE_TESTING_ON= GGWAVE_BUILD_TESTS + +PLIST_FILES= include/ggwave/ggwave.h \ + lib/libggwave.so + +post-install: + @cd ${WRKSRC}/include && ${COPYTREE_SHARE} ggwave ${STAGEDIR}${PREFIX}/include + +.include <bsd.port.mk> diff --git a/audio/ggwave/distinfo b/audio/ggwave/distinfo new file mode 100644 index 000000000000..32edfcd959a1 --- /dev/null +++ b/audio/ggwave/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1673767597 +SHA256 (ggerganov-ggwave-ggwave-v0.4.1_GH0.tar.gz) = eec84ebfec4ce73e4621b57539471f11818e867e0dbff28f7924843289d9d36f +SIZE (ggerganov-ggwave-ggwave-v0.4.1_GH0.tar.gz) = 18944811 diff --git a/audio/ggwave/files/patch-CMakeLists.txt b/audio/ggwave/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..6c4496be8079 --- /dev/null +++ b/audio/ggwave/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2023-01-15 07:29:34 UTC ++++ CMakeLists.txt +@@ -16,7 +16,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) + configure_file(${CMAKE_SOURCE_DIR}/README-tmpl.md ${CMAKE_SOURCE_DIR}/README.md @ONLY) + configure_file(${CMAKE_SOURCE_DIR}/bindings/python/setup-tmpl.py ${CMAKE_SOURCE_DIR}/bindings/python/setup.py @ONLY) + configure_file(${CMAKE_SOURCE_DIR}/bindings/javascript/package-tmpl.json ${CMAKE_SOURCE_DIR}/bindings/javascript/package.json @ONLY) +- configure_file(${CMAKE_SOURCE_DIR}/bindings/ios/Makefile-tmpl ${CMAKE_SOURCE_DIR}/bindings/ios/Makefile @ONLY) ++ #configure_file(${CMAKE_SOURCE_DIR}/bindings/ios/Makefile-tmpl ${CMAKE_SOURCE_DIR}/bindings/ios/Makefile @ONLY) + else() + set(GGWAVE_STANDALONE OFF) + endif() diff --git a/audio/ggwave/pkg-descr b/audio/ggwave/pkg-descr new file mode 100644 index 000000000000..2410b709e8b3 --- /dev/null +++ b/audio/ggwave/pkg-descr @@ -0,0 +1,2 @@ +kbd-audio is a collection of command-line and GUI tools for capturing and +analyzing audio data.