git: 4171ee0f7d82 - main - audio/vgmplay: Update to 0.52.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Feb 2026 03:00:19 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4171ee0f7d824a59cb34f0ee894d755130f49aec
commit 4171ee0f7d824a59cb34f0ee894d755130f49aec
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-02-09 02:58:17 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-02-09 03:00:09 +0000
audio/vgmplay: Update to 0.52.0
While here:
- add DOCS option
- sort variable order to make portclippy happy
Changelog: https://github.com/ValleyBell/vgmplay-libvgm/blob/0.52.0/Updates.txt
Reported by: portscout
---
audio/vgmplay/Makefile | 18 +++++++++++-------
audio/vgmplay/distinfo | 6 +++---
audio/vgmplay/files/patch-main.cpp | 11 -----------
3 files changed, 14 insertions(+), 21 deletions(-)
diff --git a/audio/vgmplay/Makefile b/audio/vgmplay/Makefile
index 6ab5f260f5ff..d4303b6474d9 100644
--- a/audio/vgmplay/Makefile
+++ b/audio/vgmplay/Makefile
@@ -1,6 +1,5 @@
PORTNAME= vgmplay
-PORTVERSION= 0.51.1
-PORTREVISION= 2
+PORTVERSION= 0.52.0
CATEGORIES= audio
MAINTAINER= tagattie@FreeBSD.org
@@ -18,21 +17,26 @@ GH_PROJECT= ${PORTNAME}-libvgm
PLIST_FILES= bin/vgmplay \
${EXAMPLESDIR}/vgmplay.ini
+PORTDOCS= Updates.txt VGMPlay.txt
-OPTIONS_DEFINE= MEDIACONTROLS
+OPTIONS_DEFINE= DOCS MEDIACONTROLS
OPTIONS_DEFAULT= # none
MEDIACONTROLS_DESC= Media Controls via D-Bus
+MEDIACONTROLS_LIB_DEPENDS= libdbus-1.so:devel/dbus
MEDIACONTROLS_CMAKE_ON= -DMEDIA_CONTROLS:STRING="DBUS"
MEDIACONTROLS_CMAKE_OFF=-DMEDIA_CONTROLS:STRING="OFF"
-MEDIACONTROLS_LIB_DEPENDS= libdbus-1.so:devel/dbus
-
-post-patch:
- ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/main.cpp
post-install:
+.for f in updates.txt vgmplay.ini vgmplay.txt
+ @${RM} ${STAGEDIR}${PREFIX}/bin/${f}
+.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/VGMPlay.ini ${STAGEDIR}${EXAMPLESDIR}/vgmplay.ini
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
diff --git a/audio/vgmplay/distinfo b/audio/vgmplay/distinfo
index a57bca6ccae1..7812da908890 100644
--- a/audio/vgmplay/distinfo
+++ b/audio/vgmplay/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706530727
-SHA256 (ValleyBell-vgmplay-libvgm-0.51.1_GH0.tar.gz) = 6f9d4817dfb057193d9704e1c5b4aec6dc1226d97aea1bf66546a086e8f61aee
-SIZE (ValleyBell-vgmplay-libvgm-0.51.1_GH0.tar.gz) = 57618
+TIMESTAMP = 1770603948
+SHA256 (ValleyBell-vgmplay-libvgm-0.52.0_GH0.tar.gz) = dd48e2d971ff8e03c749abbc693a41167a3541169f45689632ca4152d33da820
+SIZE (ValleyBell-vgmplay-libvgm-0.52.0_GH0.tar.gz) = 60212
diff --git a/audio/vgmplay/files/patch-main.cpp b/audio/vgmplay/files/patch-main.cpp
deleted file mode 100644
index 36ec642778f1..000000000000
--- a/audio/vgmplay/files/patch-main.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- main.cpp.orig 2024-01-29 12:48:26 UTC
-+++ main.cpp
-@@ -44,7 +44,7 @@
- #include "version.h"
-
- #ifndef SHARE_PREFIX
--#define SHARE_PREFIX "/usr"
-+#define SHARE_PREFIX "%%PREFIX%%"
- #endif
-
-