1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

audio/ggwave: New port: Tiny data-over-sound library

This commit is contained in:
Yuri Victorovich 2023-01-14 23:37:15 -08:00
parent 77aeb6f888
commit 7b2238cfcb
5 changed files with 45 additions and 0 deletions

View File

@ -223,6 +223,7 @@
SUBDIR += gbsplay
SUBDIR += geonkick-lv2
SUBDIR += gervill
SUBDIR += ggwave
SUBDIR += giada
SUBDIR += glurp
SUBDIR += gmsynth-lv2

28
audio/ggwave/Makefile Normal file
View File

@ -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>

3
audio/ggwave/distinfo Normal file
View File

@ -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

View File

@ -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()

2
audio/ggwave/pkg-descr Normal file
View File

@ -0,0 +1,2 @@
kbd-audio is a collection of command-line and GUI tools for capturing and
analyzing audio data.