- update to 1.6.2

- unbuldle mpg123
This commit is contained in:
Dirk Meyer 2019-01-01 19:53:32 +00:00
parent e3e90c60f5
commit c7070b91f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488929
4 changed files with 11 additions and 31 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mp3gain
PORTVERSION= 1.5.2
PORTVERSION= 1.6.2
CATEGORIES= audio
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\./_/g}-src
@ -12,13 +12,16 @@ COMMENT= Tool to normalize the gain of MP3 files
LICENSE= LGPL21
USES= zip dos2unix uidfix
LIB_DEPENDS= libmpg123.so:audio/mpg123
USES= zip gmake uidfix
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_WRKSUBDIR= yes
PLIST_FILES= bin/mp3gain
post-patch:
@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/mpglibDBL/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mp3gain ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (mp3gain-1_5_2-src.zip) = dbadc7a41a8a3b87d3a21a1989701cfe72d2090c3ead02b0b396a19a8acf6fca
SIZE (mp3gain-1_5_2-src.zip) = 129435
TIMESTAMP = 1546371755
SHA256 (mp3gain-1_6_2-src.zip) = 5cc04732ef32850d5878b28fbd8b85798d979a025990654aceeaa379bcc9596d
SIZE (mp3gain-1_6_2-src.zip) = 71246

View File

@ -1,7 +0,0 @@
CFLAGS+= -DNOANALYSIS
SRCS= common.c dct64_i386.c decode_i386.c interface.c layer3.c tabinit.c
LIB= mpglibDBL
.include <bsd.lib.mk>

View File

@ -1,17 +0,0 @@
SRCS= gain_analysis.c mp3gain.c rg_error.c apetag.c id3tag.c
PROG= mp3gain
LDFLAGS+= -LmpglibDBL
LDADD= -lm -lmpglibDBL
DPADD= mpglibDBL/libmpglibDBL.a
BINDIR= ${PREFIX}/bin
NO_MAN= yes
mpglibDBL/libmpglibDBL.a:
cd mpglibDBL && ${MAKE}
.include <bsd.prog.mk>
${PROG}: ${DPADD}