git: 7822ccbdbeca - main - audio/libvgm: add port: More modular rewrite of most components from VGMPlay
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jan 2024 08:39:03 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=7822ccbdbeca4f5c861d610cd2d1f235d727c7e7 commit 7822ccbdbeca4f5c861d610cd2d1f235d727c7e7 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2024-01-30 08:33:48 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2024-01-30 08:38:50 +0000 audio/libvgm: add port: More modular rewrite of most components from VGMPlay A more modular rewrite of most components from VGMPlay. will include sub-libraries for audio output, sound emulation and VGM playback. WWW: https://github.com/ValleyBell/libvgm --- audio/Makefile | 1 + audio/libvgm/Makefile | 30 ++++++++++++++++++ audio/libvgm/distinfo | 3 ++ audio/libvgm/pkg-descr | 2 ++ audio/libvgm/pkg-plist | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 118 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index a12622229790..3e2609b35107 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -398,6 +398,7 @@ SUBDIR += libsonic SUBDIR += libsoxr SUBDIR += libspecbleach + SUBDIR += libvgm SUBDIR += libvorbis SUBDIR += libxmp SUBDIR += lilv diff --git a/audio/libvgm/Makefile b/audio/libvgm/Makefile new file mode 100644 index 000000000000..c45d7bf8f02b --- /dev/null +++ b/audio/libvgm/Makefile @@ -0,0 +1,30 @@ +PORTNAME= libvgm +DISTVERSION= g20240103 +CATEGORIES= audio + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= More modular rewrite of most components from VGMPlay +WWW= https://github.com/ValleyBell/libvgm + +USES= cmake iconv pathfix + +USE_GITHUB= yes +GH_ACCOUNT= ValleyBell +GH_TAGNAME= 223b6f9d629feda1982dc4bbeebd19fa63b987fb + +CMAKE_ON= AUDIODRV_OSS + +OPTIONS_DEFINE= ALSA AO PULSEAUDIO +OPTIONS_DEFAULT= # none + +ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +ALSA_CMAKE_BOOL= AUDIODRV_ALSA + +AO_LIB_DEPENDS= libao.so:audio/libao +AO_CMAKE_BOOL= AUDIODRV_LIBAO + +PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +PULSEAUDIO_USES= localbase:ldflags +PULSEAUDIO_CMAKE_BOOL= AUDIODRV_PULSE + +.include <bsd.port.mk> diff --git a/audio/libvgm/distinfo b/audio/libvgm/distinfo new file mode 100644 index 000000000000..d5ec4993a131 --- /dev/null +++ b/audio/libvgm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1706527092 +SHA256 (ValleyBell-libvgm-g20240103-223b6f9d629feda1982dc4bbeebd19fa63b987fb_GH0.tar.gz) = fb1eebb0d75ac3203c5b7639e847dbcb0c306a852c874ff9ba64519b67fdae92 +SIZE (ValleyBell-libvgm-g20240103-223b6f9d629feda1982dc4bbeebd19fa63b987fb_GH0.tar.gz) = 1442014 diff --git a/audio/libvgm/pkg-descr b/audio/libvgm/pkg-descr new file mode 100644 index 000000000000..496ed797bc05 --- /dev/null +++ b/audio/libvgm/pkg-descr @@ -0,0 +1,2 @@ +A more modular rewrite of most components from VGMPlay. will include +sub-libraries for audio output, sound emulation and VGM playback. diff --git a/audio/libvgm/pkg-plist b/audio/libvgm/pkg-plist new file mode 100644 index 000000000000..d0abf1811573 --- /dev/null +++ b/audio/libvgm/pkg-plist @@ -0,0 +1,82 @@ +bin/player +bin/vgm2wav +include/vgm/audio/AudioStream.h +include/vgm/audio/AudioStream_SpcDrvFuns.h +include/vgm/audio/AudioStructs.h +include/vgm/common_def.h +include/vgm/emu/EmuCores.h +include/vgm/emu/EmuStructs.h +include/vgm/emu/Resampler.h +include/vgm/emu/SoundDevs.h +include/vgm/emu/SoundEmu.h +include/vgm/emu/cores/2151intf.h +include/vgm/emu/cores/2413intf.h +include/vgm/emu/cores/2612intf.h +include/vgm/emu/cores/262intf.h +include/vgm/emu/cores/ayintf.h +include/vgm/emu/cores/c140.h +include/vgm/emu/cores/c219.h +include/vgm/emu/cores/c352.h +include/vgm/emu/cores/c6280intf.h +include/vgm/emu/cores/es5503.h +include/vgm/emu/cores/es5506.h +include/vgm/emu/cores/gb.h +include/vgm/emu/cores/iremga20.h +include/vgm/emu/cores/k051649.h +include/vgm/emu/cores/k053260.h +include/vgm/emu/cores/k054539.h +include/vgm/emu/cores/mikey.h +include/vgm/emu/cores/multipcm.h +include/vgm/emu/cores/nesintf.h +include/vgm/emu/cores/okim6258.h +include/vgm/emu/cores/okim6295.h +include/vgm/emu/cores/oplintf.h +include/vgm/emu/cores/opnintf.h +include/vgm/emu/cores/pokey.h +include/vgm/emu/cores/pwm.h +include/vgm/emu/cores/qsoundintf.h +include/vgm/emu/cores/rf5cintf.h +include/vgm/emu/cores/saaintf.h +include/vgm/emu/cores/scsp.h +include/vgm/emu/cores/segapcm.h +include/vgm/emu/cores/sn764intf.h +include/vgm/emu/cores/upd7759.h +include/vgm/emu/cores/vsu.h +include/vgm/emu/cores/ws_audio.h +include/vgm/emu/cores/x1_010.h +include/vgm/emu/cores/ym2151.h +include/vgm/emu/cores/ymf271.h +include/vgm/emu/cores/ymf278b.h +include/vgm/emu/cores/ymz280b.h +include/vgm/emu/dac_control.h +include/vgm/emu/logging.h +include/vgm/emu/snddef.h +include/vgm/player/dblk_compr.h +include/vgm/player/droplayer.hpp +include/vgm/player/gymplayer.hpp +include/vgm/player/helper.h +include/vgm/player/playera.hpp +include/vgm/player/playerbase.hpp +include/vgm/player/s98player.hpp +include/vgm/player/vgmplayer.hpp +include/vgm/stdbool.h +include/vgm/stdtype.h +include/vgm/utils/DataLoader.h +include/vgm/utils/FileLoader.h +include/vgm/utils/MemoryLoader.h +include/vgm/utils/OSMutex.h +include/vgm/utils/OSSignal.h +include/vgm/utils/OSThread.h +include/vgm/utils/StrUtils.h +lib/cmake/libvgm/libvgmConfig.cmake +lib/cmake/libvgm/libvgmConfigVersion.cmake +lib/cmake/libvgm/libvgmTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/libvgm/libvgmTargets.cmake +lib/libvgm-audio.a +lib/libvgm-emu.a +lib/libvgm-player.a +lib/libvgm-utils.a +libdata/pkgconfig/vgm-audio.pc +libdata/pkgconfig/vgm-emu.pc +libdata/pkgconfig/vgm-player.pc +libdata/pkgconfig/vgm-utils.pc