mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
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 <diizzy@FreeBSD.org> PR: 281363 Reported by: diizzy
This commit is contained in:
parent
ef6c6a9d5c
commit
36f408ce8f
@ -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 <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user