freebsd-ports/audio/gnormalize/Makefile
Daniel Engberg da41a5ff5e audio/gnormalize: Deprecate and set expiration date to 2024-02-29
Last release in 2008, upstream is dead, depends on deprecated library
GTK2 and uses legacy workarounds that can potentially cause lossy
conversions. Redirect users to audio/rsgain and audio/cyanrip

PR:		276185
Approved by:	portmgr (maintainer timeout, 2+ weeks)
2024-01-22 20:58:36 +01:00

57 lines
1.6 KiB
Makefile

PORTNAME= gnormalize
PORTVERSION= 0.63
PORTREVISION= 12
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= darcsis@gmail.com
COMMENT= Alternative for replaygain
WWW= https://gnormalize.sourceforge.net/
DEPRECATED= Last release in 2008, upstream is dead, depends on deprecated library GTK2 and uses legacy workarounds that can potentially cause lossy conversions. Consider using audio/rsgain and audio/cyanrip
EXPIRATION_DATE=2024-02-29
RUN_DEPENDS+= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
wavegain:audio/wavegain
USES= gnome perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= ${PORTNAME}
NO_BUILD= yes
OPTIONS_DEFINE= MP3 OGG MP4 CDPARANOIA CDDB CDPLAY FLAC MAC MUSEPACK
OPTIONS_DEFAULT= MP3 OGG MP4
MAC_DESC= Monkey's Audio Encoding and Playback
CDPLAY_DESC= CD Playback
MP3_RUN_DEPENDS= lame:audio/lame \
p5-MP3-Info>=0:audio/p5-MP3-Info
OGG_RUN_DEPENDS= oggenc:audio/vorbis-tools
MP4_RUN_DEPENDS= faac:audio/faac \
faad:audio/faad
CDDB_RUN_DEPENDS= cddb.pl:audio/p5-CDDB_get
CDPLAY_RUN_DEPENDS= p5-Audio-CD>=0:audio/p5-Audio-CD
FLAC_RUN_DEPENDS= flac:audio/flac
MAC_RUN_DEPENDS= mac:audio/mac
MUSEPACK_RUN_DEPENDS= mppenc:audio/musepack
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCDPARANOIA} || ${PORT_OPTIONS:MCDDA2WAV}
RUN_DEPENDS+= cdda2wav:sysutils/cdrtools
.else
RUN_DEPENDS+= cdparanoia:audio/cdparanoia
.endif
post-patch:
@${REINPLACE_CMD} -e 's,^PREFIX=.*,PREFIX=${PREFIX},; \
s,^MANDIR=.*,MANDIR=${PREFIX}/share/man,; \
s,^BASE=.*,BASE=${DATADIR},' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,/usr/share/gnormalize,${DATADIR},' \
${WRKSRC}/gnormalize
.include <bsd.port.mk>