From nobody Tue Jan 30 08:39:03 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TPJVb5pdpz58Ngg; Tue, 30 Jan 2024 08:39:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPJVb2vqWz3wdx; Tue, 30 Jan 2024 08:39:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706603943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k8Iz2GqSz6AtU02knMqU3X/5gGDnFxiIvmV2FGTb7Fw=; b=RJYsGq8vjSBYngSwkeYLvM+V5ANN2FP5Z86ZX8966eycHkS4uTLCWBMi/xbYR3k8oiSOQg mNqhK56g/JqA8bBZgeOdA+dErCzffqReWyUYAfpd9wdVl5AqiOaysN9R9MSjXMiC6wvA8y 4HlK4Qyj0KLPsSfgO+VMTPlTJhg6ovAiOd9wtc5KSsCLR4LH/n8a2CYhip8vrhrs4yBtUU xaFm6JjTQLgq/Q2CkjvzkuaMiJlJ8dUjLzZJnjwUbNsmLZZNoxcf8RNWEeulOIgu1PDvv5 9vxKPrYGWpoFFfA9gwd9qjPYzCPpc730gGPVVk5/CyoEPG+lStlrj3tq5x+RXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706603943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k8Iz2GqSz6AtU02knMqU3X/5gGDnFxiIvmV2FGTb7Fw=; b=XvrxSfML3LZxgNFix/0ri8vY9yJglN8CFww0GyYnpuLSYQsMMcqytfNt2zvNdXiOslr/G+ iaQHOFrzmuLthEttBUclK+6apTMdfuK+VTH9yNbGzdsXekzPyZ63JtckaqHKqvv1nqTk3O o6pYneorHEFMfM3AYZqGfJvJitLJoBAKPMe1upu28CfXx/sagK7uRhHswooy7uMMq8jpxp ibimTcOt9icZtoV2faVybJDSjV+wLS14mjxU3Tu4rav8dc0X1JF5jlYjZMamxZ6O/i8rXK jDSS1CL6dT0w7LbABlEljU0okYvbd7O+4G77fONqfrerVBXJ/vPwGv/SiyKjwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706603943; a=rsa-sha256; cv=none; b=hKGS7dlVx8q8PlaVnvVTAtteDX56dsyimGJXos5G50JdTDRN0mN8nbJDBb1irbD/tTvzgq xxs0I9Vb4LCt1Ff0aOfkw6xLyfE0pdY8DRfez66T6Eck4dDWxY1E+fb9a+szKyc2c4kLno FxwO4/dmuyitW+HVPEJ+986/TUh6jtZIZT4mRLGwxbcaneJ4qE0uhYQcx6cGXV6uktZl1q /v3fja0u0EuczUpbbmG97CSibboWHfiH0uz6lwbXUce2fBIl9lbXuCo3BOze1XZIlFDvHA mmTfPtyrkf0StYbYlijhC4oEOs0K6PL3vVhWWKgb7XyeQ8xzEaJ8rmRDItOuLw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TPJVb1lSCzT0F; Tue, 30 Jan 2024 08:39:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40U8d3kX023019; Tue, 30 Jan 2024 08:39:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40U8d3oD023016; Tue, 30 Jan 2024 08:39:03 GMT (envelope-from git) Date: Tue, 30 Jan 2024 08:39:03 GMT Message-Id: <202401300839.40U8d3oD023016@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 7822ccbdbeca - main - audio/libvgm: add port: More modular rewrite of most components from VGMPlay List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7822ccbdbeca4f5c861d610cd2d1f235d727c7e7 Auto-Submitted: auto-generated The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=7822ccbdbeca4f5c861d610cd2d1f235d727c7e7 commit 7822ccbdbeca4f5c861d610cd2d1f235d727c7e7 Author: Hiroki Tagato AuthorDate: 2024-01-30 08:33:48 +0000 Commit: Hiroki Tagato 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 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