From nobody Thu Sep 12 11:45:25 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 4X4FxK4B0Vz5WJSm; Thu, 12 Sep 2024 11:45:25 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X4FxK3SPSz52dZ; Thu, 12 Sep 2024 11:45:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726141525; 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=ZsKEVqcazXnIvKh71gZPHwoJF+QiK603Tt8r8Ddt/w8=; b=los8KZZIoJJnh3BEHf1kAlq8cZ+F7h/jXR7oTNyBIK5bBc0ieakPeU7Z3+qUvNvhcFxElY pWs/xOSRQl2Cwb8100kV2UWbAfJ78Yp1ow1u+Hezo0KBr2iTV42RgsvAMEsrYvwnNSoEaH /un6yiWdJANkuhIeuV4tTsgZ/VqduoN2W1mmn+2Hndsh2TFaqAvYh+3o9SrRTbTeysTLYx B8t28AegTTTM4LSq5+j8/9ULGINTErBorOQAUEW9QkPtKAs1AbP7W5l8mZH3jI2fLQ3wV3 4AOSZ9GHx8goCV9cHNlJRBVgUV7ahKJoRgtOa+ie/veorRz2jNUK9/1jwVprKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726141525; a=rsa-sha256; cv=none; b=MkfRRMLOJmdtlgR4JvXlTHsoTl2xBryVmbwUFIJbfYZUfD9qvaIG2+KUFgKRHSE9t6lMkB fj/qFyF/sICNi41dZy7c0BD6Na70liHCtwNgAhykq5ZHhW92OwlKSkEHDErYmPUacykp0k Uo1bUH0wA0v8p4oArLk0JbmMz9TU5sGfqLRH80Wd4gtEOzjeRoDUPF0Vcg4egxbVYMuvWb VZQT4SQ5vjbyVtxFIz/2e10lh+vcWQyush+t0fZlta9EWCf00hMLAcNNcZiz36PgzCpEfM ZD0Bsmof4UdeBOL2qMOOGXri/L6UF5X3rBC2yHOGPEuxpGQAa1TmYRsJETwORw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726141525; 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=ZsKEVqcazXnIvKh71gZPHwoJF+QiK603Tt8r8Ddt/w8=; b=jnNflqAWJWLAsqQi6qjdygUc9xO7X4u/6VTuLuBwcJlt6rGHL4WP6HulM6Ng7bb1LTINye DfVuIisfDjD4tVq6XNnV6wD+dQQDDW85/hYq0h3kZdAfoIoQ4nuHKHXCqfbHtkY8dKeoLF LIUlSxAjK1ydc+96tYK95lXkN71XirQki80PUhoQE5x4vdQGTCpbX/lgnQV6q84DKEnrQD 0VW/qWCXvaTjIl3j2/FTpY87+BQZ1I1ez/zQQ2tYotELCEIQSytAGrm/QwlCBBuZb8EMH/ Wf/oNGopBYELJGYopSsOr/WFS1IGlj+MUshqoUKIXYjNyt9wtCeiysenWBeWeA== 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 4X4FxK32BWz1CBD; Thu, 12 Sep 2024 11:45:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48CBjPS9063392; Thu, 12 Sep 2024 11:45:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48CBjPTA063389; Thu, 12 Sep 2024 11:45:25 GMT (envelope-from git) Date: Thu, 12 Sep 2024 11:45:25 GMT Message-Id: <202409121145.48CBjPTA063389@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: 36f408ce8fb5 - main - audio/libvgm: update to latest GitHub commit and improve port 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 36f408ce8fb5f6eb47c1eb3438620817a33076ea Auto-Submitted: auto-generated The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=36f408ce8fb5f6eb47c1eb3438620817a33076ea commit 36f408ce8fb5f6eb47c1eb3438620817a33076ea Author: Hiroki Tagato AuthorDate: 2024-09-12 11:40:35 +0000 Commit: Hiroki Tagato CommitDate: 2024-09-12 11:45:18 +0000 audio/libvgm: update to latest GitHub commit and improve port Improvements include: - switch to build shared libraries so that they are usable for other apps - optionize bundled commands (ON by default) - rename "player" command to "libvgm-player" (player is too generic name and can cause filename clashes) Co-authored-by: Daniel Engberg PR: 281363 Reported by: diizzy --- audio/libvgm/Makefile | 28 +++++++++++++++++++++++----- audio/libvgm/distinfo | 6 +++--- audio/libvgm/pkg-plist | 12 ++++++------ 3 files changed, 32 insertions(+), 14 deletions(-) diff --git a/audio/libvgm/Makefile b/audio/libvgm/Makefile index c45d7bf8f02b..1efe4f37b73f 100644 --- a/audio/libvgm/Makefile +++ b/audio/libvgm/Makefile @@ -1,21 +1,35 @@ PORTNAME= libvgm -DISTVERSION= g20240103 +DISTVERSION= g20240608 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 +USES= cmake compiler:c++14-lang iconv pathfix +USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ValleyBell -GH_TAGNAME= 223b6f9d629feda1982dc4bbeebd19fa63b987fb +GH_TAGNAME= 34c368c CMAKE_ON= AUDIODRV_OSS +CMAKE_OFF= CMAKE_CXX_EXTENSIONS +CMAKE_ARGS= -DLIBRARY_TYPE=SHARED -OPTIONS_DEFINE= ALSA AO PULSEAUDIO -OPTIONS_DEFAULT= # none +OPTIONS_DEFINE= PLAYER VGM2WAV +OPTIONS_DEFAULT= PLAYER VGM2WAV +OPTIONS_GROUP= AUDIO +OPTIONS_GROUP_AUDIO= ALSA AO PULSEAUDIO +OPTIONS_SUB= yes + +PLAYER_DESC= Build and install libvgm-player command +VGM2WAV_DESC= Build and install vgm2wav command +AUDIO_DESC= Additional audio backends support + +PLAYER_CMAKE_BOOL= BUILD_PLAYER + +VGM2WAV_CMAKE_BOOL= BUILD_VGM2WAV ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= AUDIODRV_ALSA @@ -27,4 +41,8 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_USES= localbase:ldflags PULSEAUDIO_CMAKE_BOOL= AUDIODRV_PULSE +post-install-PLAYER-on: + ${MV} ${STAGEDIR}${PREFIX}/bin/player \ + ${STAGEDIR}${PREFIX}/bin/libvgm-player + .include diff --git a/audio/libvgm/distinfo b/audio/libvgm/distinfo index d5ec4993a131..afe86758fd47 100644 --- a/audio/libvgm/distinfo +++ b/audio/libvgm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1706527092 -SHA256 (ValleyBell-libvgm-g20240103-223b6f9d629feda1982dc4bbeebd19fa63b987fb_GH0.tar.gz) = fb1eebb0d75ac3203c5b7639e847dbcb0c306a852c874ff9ba64519b67fdae92 -SIZE (ValleyBell-libvgm-g20240103-223b6f9d629feda1982dc4bbeebd19fa63b987fb_GH0.tar.gz) = 1442014 +TIMESTAMP = 1725787643 +SHA256 (ValleyBell-libvgm-g20240608-34c368c_GH0.tar.gz) = 2673c7a1f3a6a5289929404dbfafa17f90710af7a637c2052b13371007bebc9c +SIZE (ValleyBell-libvgm-g20240608-34c368c_GH0.tar.gz) = 1441492 diff --git a/audio/libvgm/pkg-plist b/audio/libvgm/pkg-plist index d0abf1811573..c4acce313159 100644 --- a/audio/libvgm/pkg-plist +++ b/audio/libvgm/pkg-plist @@ -1,5 +1,5 @@ -bin/player -bin/vgm2wav +%%PLAYER%%bin/libvgm-player +%%VGM2WAV%%bin/vgm2wav include/vgm/audio/AudioStream.h include/vgm/audio/AudioStream_SpcDrvFuns.h include/vgm/audio/AudioStructs.h @@ -72,10 +72,10 @@ 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 +lib/libvgm-audio.so +lib/libvgm-emu.so +lib/libvgm-player.so +lib/libvgm-utils.so libdata/pkgconfig/vgm-audio.pc libdata/pkgconfig/vgm-emu.pc libdata/pkgconfig/vgm-player.pc