Blob
Date:
Wed Feb 23 22:38:30 2022
UTC
Message:
switch from libmad to libmpg123
libmpg123 is more "loud" than libmad, at least for the mp3s that I
have around. Is also newer and maintained. I've heard is also
faster, but amused is so simple that it doesn't make any difference.
PROG= amusedSRCS= amused.c control.c log.c xmalloc.c player.c ctl.c playlist.c \player_flac.c player_123.c player_opus.c player_oggvorbis.c.include "amused-version.mk"CPPFLAGS += -I/usr/local/include -I/usr/local/include/opusLDADD = -levent -lm -lsndio -lutil \-L/usr/local/lib -lmpg123 -lvorbisfile -lopusfile -lFLACDPADD = ${LIBEVENT} ${LIBM} ${LIBSNDIO} ${LIBUTIL}.if "${AMUSED_RELEASE}" == "Yes"PREFIX ?= /usr/localBINDIR ?= ${PREFIX}/binMANDIR ?= ${PREFIX}/man/man.elseNOMAN = YesCFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variablePREFIX ?= ${HOME}BINDIR ?= ${PREFIX}/binBINOWN ?= ${USER}.if !defined(BINGRP)BINGRP != id -g -n.endifDEBUG = -O0 -g.endifrelease: cleansed -i -e 's/_RELEASE=No/_RELEASE=Yes/' amused-version.mk${MAKE} distsed -i -e 's/_RELEASE=Yes/_RELEASE=No/' amused-version.mkdist: cleanmkdir /tmp/amused-${AMUSED_VERSION}pax -rw * /tmp/amused-${AMUSED_VERSION}find /tmp/amused-${AMUSED_VERSION} -type d -name obj -deleterm /tmp/amused-${AMUSED_VERSION}/amused-dist.txttar -C /tmp -zcf amused-${AMUSED_VERSION}.tar.gz amused-${AMUSED_VERSION}rm -rf /tmp/amused-${AMUSED_VERSION}tar -ztf amused-${AMUSED_VERSION}.tar.gz | \sed -e 's/^amused-${AMUSED_VERSION}//' | \sort > amused-dist.txt.newdiff -u amused-dist.txt{,.new}rm amused-dist.txt.new.include <bsd.prog.mk>
Omar Polo