abcde 2.8 * Make fdkaac the default for m4a encoding. Faac can still be selected for m4a encding via ~/.abcde.conf file but best not to :). * Split user-definable mungefilename function into mungetrackname, mungeartistname, and mungealbumname, each of which default to mungefilename Thanks to Gerald Turner for the patch and enhancement request. This closes Issue 39: https://abcde.einval.com/bugzilla/show_bug.cgi?id=39 * FAQs: Clarify the exit from multi-result CDDB search. * Fix to allow multiple output formats when aac fallback is triggered. Thanks to Birk Bremer for the bug report. This closes Issue 35: https://abcde.einval.com/bugzilla/show_bug.cgi?id=35 * Fix for some erroneous error and status logging. Thanks to Christian Wasem for the bug report and fix. This closes Issue 32: https://abcde.einval.com/bugzilla/show_bug.cgi?id=32 * Add support for trying multiple CD lookup services in order. Thanks to Gabriel Rosenkoetter for the patch. Closes Issue 42: https://abcde.einval.com/bugzilla/show_bug.cgi?id=42 * Add Recommends on glyrc and imagemagick in Debian packaging. Closes Debian Bug #827626 * Fix up handling of the first few sectors when reading from a whole-CD flac file or using cdparanoia in one-track mode. Thanks to Matthias König for the patch. Closes Issue 44: https://abcde.einval.com/bugzilla/show_bug.cgi?id=44 * Tweak the fix in musicbrainz for handling sketchy returned data some more. Hopefully closes Issue 30: https://abcde.einval.com/bugzilla/show_bug.cgi?id=30 * Re-enable some commented out cdparanoia/debug code in do_discid. Closes Issue 14: https://abcde.einval.com/bugzilla/show_bug.cgi?id=14 * Add "-a" to lots of grep calls in case of "binary" looking data, e.g. non-ascii text in track titles! Closes Issue 24: https://abcde.einval.com/bugzilla/show_bug.cgi?id=24 * Add "-L" to default curl options, to follow redirects if needed Closes Issue 40: https://abcde.einval.com/bugzilla/show_bug.cgi?id=40 Thanks to Gabriel Rosenkoetter for the patch. * Switch default from "cddb" to "musicbrainz" for track lookup Closes Debian Bug #842178
61 lines
1.9 KiB
Makefile
61 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.61 2017/01/16 12:27:18 wiz Exp $
|
|
|
|
DISTNAME= abcde-2.8
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://abcde.einval.com/download/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://abcde.einval.com/
|
|
COMMENT= Command-line utility to rip and encode an audio CD
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= cd-discid>=0.7:../../audio/cd-discid
|
|
DEPENDS+= eyeD3-[0-9]*:../../audio/eyeD3
|
|
DEPENDS+= id3-[0-9]*:../../audio/id3
|
|
DEPENDS+= cdparanoia>=3.0.9.7:../../audio/cdparanoia
|
|
# depend on cdrkit for icedax?
|
|
DEPENDS+= mkcue>=2.1:../../misc/mkcue
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
USE_TOOLS+= bash:run ftp:run gsed:run
|
|
REPLACE_BASH= abcde cddb-tool
|
|
REPLACE_PERL+= abcde-musicbrainz-tool
|
|
|
|
# even with all these installed, abcde-musicbrainz-tool does not work
|
|
#USE_TOOLS= perl:run
|
|
#DEPENDS+= p5-MusicBrainz-DiscID-[0-9]*:../../audio/p5-MusicBrainz-DiscID
|
|
#DEPENDS+= p5-WebService-MusicBrainz-[0-9]*:../../net/p5-WebService-MusicBrainz
|
|
|
|
EGDIR= ${PREFIX}/share/examples/abcde
|
|
|
|
MESSAGE_SUBST+= EGDIR=${EGDIR}
|
|
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
SUBST_CLASSES+= abcde
|
|
SUBST_STAGE.abcde= pre-configure
|
|
SUBST_MESSAGE.abcde= Adjusting the directory for configuration files
|
|
SUBST_FILES.abcde= abcde abcde.1
|
|
SUBST_SED.abcde= -e "s,/etc/,${PKG_SYSCONFDIR}/,g"
|
|
|
|
SUBST_CLASSES+= gsed
|
|
SUBST_STAGE.gsed= pre-configure
|
|
SUBST_MESSAGE.gsed= Adjusting gsed path
|
|
SUBST_FILES.gsed= abcde
|
|
SUBST_SED.gsed= -e "s, sed , ${TOOLS_PATH.gsed} ,g"
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/abcde ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${DESTDIR}${PREFIX}/bin
|
|
# ${INSTALL_SCRIPT} ${WRKSRC}/abcde-musicbrainz-tool ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/abcde.conf ${DESTDIR}${EGDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/abcde.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|