summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/gbsplay/Makefile3
-rw-r--r--audio/gbsplay/files/patch-Makefile18
-rw-r--r--audio/gbsplay/pkg-plist14
-rw-r--r--audio/gonic/Makefile1
-rw-r--r--audio/linux-c7-alsa-lib/pkg-plist.aarch641
-rw-r--r--audio/linuxwave/Makefile2
-rw-r--r--audio/murmur-cli/Makefile2
-rw-r--r--audio/py-librosa/Makefile18
-rw-r--r--audio/py-librosa/distinfo6
-rw-r--r--audio/py-music21/Makefile9
-rw-r--r--audio/py-music21/distinfo6
-rw-r--r--audio/soundtracker/Makefile3
-rw-r--r--audio/soundtracker/distinfo6
-rw-r--r--audio/unflac/Makefile2
-rw-r--r--audio/visp-go/Makefile2
-rw-r--r--audio/whisper.cpp/Makefile43
-rw-r--r--audio/whisper.cpp/distinfo3
-rw-r--r--audio/whisper.cpp/pkg-descr19
-rw-r--r--audio/whisper.cpp/pkg-message16
-rw-r--r--audio/whisper.cpp/pkg-plist12
21 files changed, 145 insertions, 42 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 5dfb986c8bba..888717f95499 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -854,6 +854,7 @@
SUBDIR += webrtc-audio-processing0
SUBDIR += webrtc-audio-processing2
SUBDIR += welle.io
+ SUBDIR += whisper.cpp
SUBDIR += whysynth
SUBDIR += wildmidi
SUBDIR += wmix
diff --git a/audio/gbsplay/Makefile b/audio/gbsplay/Makefile
index 8f77cc77a271..019d88a58117 100644
--- a/audio/gbsplay/Makefile
+++ b/audio/gbsplay/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gbsplay
DISTVERSION= 0.0.100
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio
@@ -28,8 +29,6 @@ CONFIGURE_ARGS= --disable-pipewire \
MAKE_ENV+= EXAMPLESDIR="${STAGEDIR}${EXAMPLESDIR}"
-CONFLICTS_INSTALL= mate-control-center # share/applications/mimeinfo.cache
-
OPTIONS_DEFINE= ALSA BASH_COMPLETIONS DOCS EXAMPLES NAS NLS PULSEAUDIO \
SDL
OPTIONS_DEFAULT= BASH_COMPLETIONS
diff --git a/audio/gbsplay/files/patch-Makefile b/audio/gbsplay/files/patch-Makefile
index 421380452f71..683240da7269 100644
--- a/audio/gbsplay/files/patch-Makefile
+++ b/audio/gbsplay/files/patch-Makefile
@@ -18,3 +18,21 @@
docs-dist := INSTALL.md CODINGSTYLE gbsformat.txt PACKAGING.md
contribs := contrib/gbs2ogg.sh contrib/gbsplay.bashcompletion contrib/gbsplay.zshcompletion
examples := examples/nightmode.gbs examples/gbsplayrc_sample
+@@ -352,9 +352,7 @@ install-default: all
+ install -m 644 man/gbsplay.1 man/gbsinfo.1 man/gbs2gb.1 $(man1dir)
+ install -m 644 man/gbsplayrc.5 $(man5dir)
+ install -m 644 mime/gbsplay.xml $(mimedir)/packages
+- -update-mime-database $(mimedir)
+ install -m 644 desktop/gbsplay.desktop $(appdir)
+- -update-desktop-database $(appdir)
+ install -m 644 $(docs) $(docdir)
+ install -m 644 $(examples) $(exampledir)
+ for i in $(mos); do \
+@@ -374,7 +372,6 @@ install-xgbsplay: $(xgbsplaybin) $(mans)
+ install -m 755 $(xgbsplaybin) $(bindir)
+ install -m 644 man/xgbsplay.1 $(man1dir)
+ install -m 644 desktop/xgbsplay.desktop $(appdir)
+- -update-desktop-database $(appdir)
+
+ install-apidoc: generate-apidoc
+ install -d $(man3dir)
diff --git a/audio/gbsplay/pkg-plist b/audio/gbsplay/pkg-plist
index 1340ce63452a..07cda709dd0a 100644
--- a/audio/gbsplay/pkg-plist
+++ b/audio/gbsplay/pkg-plist
@@ -8,7 +8,6 @@ share/man/man1/gbsplay.1.gz
share/man/man5/gbsplayrc.5.gz
share/man/man1/gbs2gb.1.gz
share/applications/gbsplay.desktop
-share/applications/mimeinfo.cache
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/contrib/gbs2ogg.sh
%%PORTDOCS%%%%DOCSDIR%%/contrib/gbsplay.bashcompletion
@@ -17,17 +16,4 @@ share/applications/mimeinfo.cache
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nightmode.gbs
%%NLS%%share/locale/de/LC_MESSAGES/gbsplay.mo
%%NLS%%share/locale/en/LC_MESSAGES/gbsplay.mo
-share/mime/XMLnamespaces
-share/mime/aliases
-share/mime/audio/prs.gbs.xml
-share/mime/generic-icons
-share/mime/globs
-share/mime/globs2
-share/mime/icons
-share/mime/magic
-share/mime/mime.cache
share/mime/packages/gbsplay.xml
-share/mime/subclasses
-share/mime/treemagic
-share/mime/types
-share/mime/version
diff --git a/audio/gonic/Makefile b/audio/gonic/Makefile
index 3ac72e39f862..4ae34e9cbf7b 100644
--- a/audio/gonic/Makefile
+++ b/audio/gonic/Makefile
@@ -1,6 +1,7 @@
PORTNAME= gonic
DISTVERSIONPREFIX= v
DISTVERSION= 0.17.0
+PORTREVISION= 1
CATEGORIES= audio net
MAINTAINER= tagattie@FreeBSD.org
diff --git a/audio/linux-c7-alsa-lib/pkg-plist.aarch64 b/audio/linux-c7-alsa-lib/pkg-plist.aarch64
index 1f8692d39314..fd58af182d74 100644
--- a/audio/linux-c7-alsa-lib/pkg-plist.aarch64
+++ b/audio/linux-c7-alsa-lib/pkg-plist.aarch64
@@ -85,5 +85,4 @@ usr/share/alsa/topology/sklrt286/skl_i2s.conf
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/asoundrc.txt
-@dir usr/lib
@dir usr/share/alsa/ucm
diff --git a/audio/linuxwave/Makefile b/audio/linuxwave/Makefile
index 2e276e9b5172..62722dc55ead 100644
--- a/audio/linuxwave/Makefile
+++ b/audio/linuxwave/Makefile
@@ -3,7 +3,7 @@ DISTVERSIONPREFIX= v
DISTVERSION= 0.3.0
CATEGORIES= audio
-MAINTAINER= jbeich@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Generate music from the entropy of Linux
WWW= https://orhun.dev/linuxwave/
diff --git a/audio/murmur-cli/Makefile b/audio/murmur-cli/Makefile
index 88ba68924254..d693d66db744 100644
--- a/audio/murmur-cli/Makefile
+++ b/audio/murmur-cli/Makefile
@@ -1,6 +1,6 @@
PORTNAME= murmur-cli
PORTVERSION= 0.0.0.20200528
-PORTREVISION= 28
+PORTREVISION= 29
CATEGORIES= audio
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/py-librosa/Makefile b/audio/py-librosa/Makefile
index 985b036dab4e..28bff152bc2a 100644
--- a/audio/py-librosa/Makefile
+++ b/audio/py-librosa/Makefile
@@ -1,12 +1,13 @@
PORTNAME= librosa
-DISTVERSION= 0.10.2.post1
+DISTVERSION= 0.11.0
CATEGORIES= audio python
#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python module for audio and music processing
-WWW= https://librosa.org/
+WWW= https://librosa.org/ \
+ https://github.com/librosa/librosa
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE.md
@@ -15,15 +16,15 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}audioread>=2.1.9:audio/py-audioread@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}decorator>=4.3.0:devel/py-decorator@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}joblib>=0.14:devel/py-joblib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}joblib>=1.0:devel/py-joblib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lazy_loader>=0.1:devel/py-lazy_loader@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}msgpack>=1.0:devel/py-msgpack@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numba>=0.51.0:devel/py-numba@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pooch>=1.1:devel/py-pooch@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.20.0:science/py-scikit-learn@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}scipy>=1.2.0:science/py-scipy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.1.0:science/py-scikit-learn@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=1.6.0:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}SoundFile>=0.12.1:audio/py-SoundFile@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}soxr>=0.3.2:audio/py-soxr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.1:devel/py-typing-extensions@${PY_FLAVOR}
@@ -41,6 +42,13 @@ USE_PYTHON= pep517 autoplist pytest
USE_GITHUB= yes
GH_TUPLE= librosa:librosa-test-data:72bd79e:test_data/tests/data
+TEST_ENV= ${MAKE_ENV} \
+ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
+ DISPLAY=${DISPLAY} \
+ XAUTHORITY=${XAUTHORITY}
+
NO_ARCH= yes
+# tests as of 0.11.0: 48 failed, 13971 passed, 2 skipped, 523 xfailed, 388 warnings in 1196.60s (0:19:56), see https://github.com/librosa/librosa/issues/1978
+
.include <bsd.port.mk>
diff --git a/audio/py-librosa/distinfo b/audio/py-librosa/distinfo
index a4cfa6b3a40b..63a907cda3f9 100644
--- a/audio/py-librosa/distinfo
+++ b/audio/py-librosa/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1722878505
-SHA256 (librosa-librosa-0.10.2.post1_GH0.tar.gz) = 531269ad17a727616cc683bc718222328e7aa3b6c143c67ea0bc283d1a5b284b
-SIZE (librosa-librosa-0.10.2.post1_GH0.tar.gz) = 2334630
+TIMESTAMP = 1757051248
+SHA256 (librosa-librosa-0.11.0_GH0.tar.gz) = 6af22600c52e5b844cf73c699b7c0905ed9fe0b9f17b230eec697bce3368dd15
+SIZE (librosa-librosa-0.11.0_GH0.tar.gz) = 2339589
SHA256 (librosa-librosa-test-data-72bd79e_GH0.tar.gz) = c8a05a81cf6f071319056818deff82b21736a13230b32c6bea64ab2e1fe23a06
SIZE (librosa-librosa-test-data-72bd79e_GH0.tar.gz) = 164601052
diff --git a/audio/py-music21/Makefile b/audio/py-music21/Makefile
index efd5879951ac..b576967e6d4c 100644
--- a/audio/py-music21/Makefile
+++ b/audio/py-music21/Makefile
@@ -1,6 +1,5 @@
PORTNAME= music21
-DISTVERSION= 9.5.0
-PORTREVISION= 1
+DISTVERSION= 9.7.1
CATEGORIES= audio python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,12 +14,12 @@ LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonpickle>0:devel/py-jsonpickle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}more-itertools>0:devel/py-more-itertools@${PY_FLAVOR} \
+ ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}webcolors>=1.5:graphics/py-webcolors@${PY_FLAVOR} \
lilypond:print/lilypond \
@@ -39,6 +38,6 @@ post-patch:
s|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|" \
${WRKSRC}/music21/environment.py
-# tests as of 9.5.0: 539 passed, 4 warnings in 359.14s (0:05:59)
+# tests as of 9.7.1: 542 passed, 4 warnings in 79.82s (0:01:19)
.include <bsd.port.mk>
diff --git a/audio/py-music21/distinfo b/audio/py-music21/distinfo
index ddcbdb495d7f..a02d5881f2fa 100644
--- a/audio/py-music21/distinfo
+++ b/audio/py-music21/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1743120820
-SHA256 (music21-9.5.0.tar.gz) = f888a84f7abfa6e727b7028cdbf7b7bd9fa746009b766ca604fb749a67078d1a
-SIZE (music21-9.5.0.tar.gz) = 16713764
+TIMESTAMP = 1757089889
+SHA256 (music21-9.7.1.tar.gz) = b056cc41fb989f492e291882c13c02ebc13e8f5734c6aab9aeb9fe6cfd2c2550
+SIZE (music21-9.7.1.tar.gz) = 16732133
diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile
index eda4ceccb8a3..5f78498ed99f 100644
--- a/audio/soundtracker/Makefile
+++ b/audio/soundtracker/Makefile
@@ -1,6 +1,5 @@
PORTNAME= soundtracker
-DISTVERSION= 1.0.5
-PORTREVISION= 2
+DISTVERSION= 1.0.5.1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/
diff --git a/audio/soundtracker/distinfo b/audio/soundtracker/distinfo
index b5d83a82bddc..01f2c9ea55cd 100644
--- a/audio/soundtracker/distinfo
+++ b/audio/soundtracker/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710705676
-SHA256 (soundtracker-1.0.5.tar.xz) = 0e7020ba46c0af14e95bffb0c5bcd34c729e993644207547910b3d1f2d063862
-SIZE (soundtracker-1.0.5.tar.xz) = 832820
+TIMESTAMP = 1756969808
+SHA256 (soundtracker-1.0.5.1.tar.xz) = c3593c30e3f8fb4d7cffb7bb590ffef6953f9d7dd9b2f9b7113955549263bbec
+SIZE (soundtracker-1.0.5.1.tar.xz) = 850720
diff --git a/audio/unflac/Makefile b/audio/unflac/Makefile
index 8bbb5f1df7aa..2d4c926b6fde 100644
--- a/audio/unflac/Makefile
+++ b/audio/unflac/Makefile
@@ -1,6 +1,6 @@
PORTNAME= unflac
DISTVERSION= 1.3
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= audio
MAINTAINER= bsd@abinet.ru
diff --git a/audio/visp-go/Makefile b/audio/visp-go/Makefile
index 796a66deb803..ac9d6f42a774 100644
--- a/audio/visp-go/Makefile
+++ b/audio/visp-go/Makefile
@@ -1,6 +1,6 @@
PORTNAME= visp-go
DISTVERSION= g20210723
-PORTREVISION= 29
+PORTREVISION= 30
CATEGORIES= audio
MAINTAINER= lcook@FreeBSD.org
diff --git a/audio/whisper.cpp/Makefile b/audio/whisper.cpp/Makefile
new file mode 100644
index 000000000000..757869e17f2a
--- /dev/null
+++ b/audio/whisper.cpp/Makefile
@@ -0,0 +1,43 @@
+PORTNAME= whisper.cpp
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.7.6
+CATEGORIES= audio # machine-learning
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Port of OpenAI's Whisper model in C/C++
+WWW= https://github.com/ggerganov/whisper.cpp
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libggml.so:misc/ggml
+
+USES= cmake:testing
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= ggerganov
+
+LDFLAGS+= -pthread
+
+CMAKE_ON= WHISPER_USE_SYSTEM_GGML
+CMAKE_OFF= WHISPER_BUILD_TESTS
+CMAKE_TESTING_ON= WHISPER_BUILD_TESTS \
+ WHISPER_BUILD_EXAMPLES
+
+OPTIONS_DEFINE= EXAMPLES
+OPTIONS_DEFAULT= EXAMPLES # examples contain important user level programs
+OPTIONS_SUB= yes
+
+EXAMPLES_CMAKE_BOOL= WHISPER_BUILD_EXAMPLES
+
+MAKE_JOBS_UNSAFE= yes # for tests to suceed on smaller Vulkan devices: they fail to allocate memory otherwise
+
+post-install:
+ ${INSTALL_SCRIPT} \
+ ${WRKSRC}/models/download-ggml-model.sh \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-download-ggml-model.sh
+
+# tests as of 1.7.6: 73% tests passed, 3 tests failed out of 11, see https://github.com/ggml-org/whisper.cpp/issues/3404
+
+.include <bsd.port.mk>
diff --git a/audio/whisper.cpp/distinfo b/audio/whisper.cpp/distinfo
new file mode 100644
index 000000000000..520c10ce59cb
--- /dev/null
+++ b/audio/whisper.cpp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1756961106
+SHA256 (ggerganov-whisper.cpp-v1.7.6_GH0.tar.gz) = 166140e9a6d8a36f787a2bd77f8f44dd64874f12dd8359ff7c1f4f9acb86202e
+SIZE (ggerganov-whisper.cpp-v1.7.6_GH0.tar.gz) = 7307730
diff --git a/audio/whisper.cpp/pkg-descr b/audio/whisper.cpp/pkg-descr
new file mode 100644
index 000000000000..6cf0fc25c7ef
--- /dev/null
+++ b/audio/whisper.cpp/pkg-descr
@@ -0,0 +1,19 @@
+High-performance inference of OpenAI's Whisper automatic speech recognition
+(ASR) model:
+
+Features:
+* Plain C/C++ implementation without dependencies
+* Apple Silicon first-class citizen - optimized via ARM NEON, Accelerate
+ framework, Metal and Core ML
+* AVX intrinsics support for x86 architectures
+* VSX intrinsics support for POWER architectures
+* Mixed F16 / F32 precision
+* Integer quantization support
+* Zero memory allocations at runtime
+* Vulkan support
+* Support for CPU-only inference
+* Efficient GPU support for NVIDIA
+* OpenVINO Support
+* Ascend NPU Support
+* Moore Threads GPU Support
+* C-style API
diff --git a/audio/whisper.cpp/pkg-message b/audio/whisper.cpp/pkg-message
new file mode 100644
index 000000000000..47dbc2835108
--- /dev/null
+++ b/audio/whisper.cpp/pkg-message
@@ -0,0 +1,16 @@
+[
+{ type: install
+ message: <<EOM
+You installed whisper.cpp: Port of OpenAI's Whisper model in C/C++
+
+In order to use whisper.cpp you should first download an AI model.
+
+For example:
+$ whisper.cpp-download-ggml-model.sh base.en
+
+Then you can transcribe audio files using a command:
+$ whisper-cli -m ggml-base.en.bin -f {sample}.wav
+
+EOM
+}
+]
diff --git a/audio/whisper.cpp/pkg-plist b/audio/whisper.cpp/pkg-plist
new file mode 100644
index 000000000000..ba5121cef27f
--- /dev/null
+++ b/audio/whisper.cpp/pkg-plist
@@ -0,0 +1,12 @@
+%%EXAMPLES%%bin/vad-speech-segments
+%%EXAMPLES%%bin/whisper-bench
+%%EXAMPLES%%bin/whisper-cli
+%%EXAMPLES%%bin/whisper-server
+bin/whisper.cpp-download-ggml-model.sh
+include/whisper.h
+lib/cmake/whisper/whisper-config.cmake
+lib/cmake/whisper/whisper-version.cmake
+lib/libwhisper.so
+lib/libwhisper.so.1
+lib/libwhisper.so.1.7.6
+libdata/pkgconfig/whisper.pc