pkgsrc/audio/abcde/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.37 2006/02/05 23:08:05 joerg Exp $
Update abcde to version 2.3.2. Changes since 2.2.6: abcde 2.3.2 * Too fast... I forgot to make the tarball and change the version strings in several places. Fixed. -- Jesus Climent <jesus.climent@hispalinux.es> Fri, 19 Aug 2005 00:44:37 +0300 abcde 2.3.1 * The new "I knew there were going to be bugs" upstream release! * MKCUE needs to be passed some $CDROM as an option, or otherwise it will not read the CDROM, in case is not /dev/cdrom. * Also, make the CUEREADER a bit more general, since we might be using other CUE extractors. -- Jesus Climent <jesus.climent@hispalinux.es> Thu, 18 Aug 2005 23:44:20 +0300 abcde 2.3.0 * New upstream release! * Defining the tracknumber now resets the first track if given a number different than 1 (that is: abcde -T 1 2-10 creates songs 1 to 9). * Modified the FAQ to reflect the changes on Marillat's repo (Closes: #315724). * Should be "space" safe: works properly when the working directory contains a space (Closes: #147493). * Repared the CD query for the discid code. When failing to read a disc, actually report that there might be no disc in the drive. * Right now, walk over the different encoders we Depends: on in Debian and use the one available: if a user has a FLAC encoder, abcde will no install vorbis-tools, so it will fail to run out of the box (Closes: #321216) * Added CUE support. Still experimental... * Added FLAC on Ogg. Still not activated, since we cannot get comments added as a post-process action. * Applied patches from Fedora Core (Credit goes to Nils Philippsen <nphilipp@redhat.com>) * Added a post_read() function to be executed before ejecting the CD. * Typos reported by A Costa corrected (Closes: #311463) * Problem with abcde being run in a directory with files containing only numbers solved (Closes: #313628). * vorbiscomment uses now "-R" (Closes: #303566). * "-t" and "-T" use the first track as a starter for the track list. (Closes: #305749). * Added CDPARANOIACDROMBUS option to define -d in case of using IDE and SCSI in case of using ide-scsi emulation layer (Closes: #290768). * Define metaflac in abcde.conf (Closes: #303555) -- Jesus Climent <jesus.climent@hispalinux.es> Wed, 10 Aug 2005 07:00:26 +0300
2005-10-04 22:58:43 +02:00
DISTNAME= abcde_2.3.3.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
PKGREVISION= 1
CATEGORIES= audio
Update abcde to version 2.3.2. Changes since 2.2.6: abcde 2.3.2 * Too fast... I forgot to make the tarball and change the version strings in several places. Fixed. -- Jesus Climent <jesus.climent@hispalinux.es> Fri, 19 Aug 2005 00:44:37 +0300 abcde 2.3.1 * The new "I knew there were going to be bugs" upstream release! * MKCUE needs to be passed some $CDROM as an option, or otherwise it will not read the CDROM, in case is not /dev/cdrom. * Also, make the CUEREADER a bit more general, since we might be using other CUE extractors. -- Jesus Climent <jesus.climent@hispalinux.es> Thu, 18 Aug 2005 23:44:20 +0300 abcde 2.3.0 * New upstream release! * Defining the tracknumber now resets the first track if given a number different than 1 (that is: abcde -T 1 2-10 creates songs 1 to 9). * Modified the FAQ to reflect the changes on Marillat's repo (Closes: #315724). * Should be "space" safe: works properly when the working directory contains a space (Closes: #147493). * Repared the CD query for the discid code. When failing to read a disc, actually report that there might be no disc in the drive. * Right now, walk over the different encoders we Depends: on in Debian and use the one available: if a user has a FLAC encoder, abcde will no install vorbis-tools, so it will fail to run out of the box (Closes: #321216) * Added CUE support. Still experimental... * Added FLAC on Ogg. Still not activated, since we cannot get comments added as a post-process action. * Applied patches from Fedora Core (Credit goes to Nils Philippsen <nphilipp@redhat.com>) * Added a post_read() function to be executed before ejecting the CD. * Typos reported by A Costa corrected (Closes: #311463) * Problem with abcde being run in a directory with files containing only numbers solved (Closes: #313628). * vorbiscomment uses now "-R" (Closes: #303566). * "-t" and "-T" use the first track as a starter for the track list. (Closes: #305749). * Added CDPARANOIACDROMBUS option to define -d in case of using IDE and SCSI in case of using ide-scsi emulation layer (Closes: #290768). * Define metaflac in abcde.conf (Closes: #303555) -- Jesus Climent <jesus.climent@hispalinux.es> Wed, 10 Aug 2005 07:00:26 +0300
2005-10-04 22:58:43 +02:00
MASTER_SITES= http://www.hispalinux.es/~data/files/
2005-08-05 09:23:43 +02:00
MAINTAINER= sketch@NetBSD.org
2003-06-13 02:06:37 +02:00
HOMEPAGE= http://www.hispalinux.es/~data/abcde.php
COMMENT= Command-line utility to rip and encode an audio CD
DEPENDS+= cd-discid>=0.7:../../audio/cd-discid
DEPENDS+= id3-[0-9]*:../../audio/id3
DEPENDS+= id3v2-[0-9]*:../../audio/id3v2
DEPENDS+= cdparanoia>=3.0.9.7:../../audio/cdparanoia
DEPENDS+= wget>=1.7:../../net/wget
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
EGDIR= ${PREFIX}/share/examples/abcde
MESSAGE_SUBST+= EGDIR=${EGDIR}
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
INSTALLATION_DIRS= bin man/man1
pre-configure:
Update to 2.1.4, from Juan RP in PR 21671: abcde 2.1.4: * Small bug fixes: + COMMENT should work now. + Aesthetic padding on the total amount of tracks. + CDROM typo + CDROM is now checked after reading the user defined entries. * Remove trailing args from $EDITOR when checking -x: Closes #179222. abcde 2.1.3 * Makefile was missing cddb-tool.1. * Introduced dagrab as CD ripping utility. * cddb-tool seq calls converted to functions. No more distro dependencies. * WGET* variables converted to HTTPGET* variables. FreeBSD can safelly use fetch. * More FreeBSD specific bits: CDROM and EJECT changes. * Typo in abcde.conf * Added CDDBPROTO for specifying the protocol level of the cddb query. * CDDB protocol upgraded to 5. CDYEAR and CDGENRE are now used for CD tagging. * COMMENT is now used for inline tagging with oggenc (my mistake it was missing): Closes: #191475. abcde 2.1.2 * Documentation updates: Closes: #186230. * Usual set of bug fixes and corrections. * Default behaviour of VAOUTPUTFORMAT output changed to avoid multiple directories for a same album. I think the format is more logical, and you can always split the files once they are created. * Padding track wavs with 0 so if you want to burn those wavs just cdrecord *.wav will do it. Use "-p" to force it when encoding a small (<9) number of files (Closes: #111627). * Added "KEEPWAVS" as a variable to keep those wavs. Default is "no". Can use also "-k" in the command line. (Closes: #160372). This probably should be changed with an option to move the wav files to another directory instead of just keep de abcde.<cdid> directory. * Added documentation comments about OUTPUTTYPE (Closes: #184963). * abcde.conf cleanup: (Closes: #186230, #187400). abcde 2.1.0-3 * Since abcde does not depend on eject, an execution test ([-x]) was added, but that means abcde needs a test for eject in the patch if -x is passed: Closes: #184151. * Merged some more bits from Marc 'HE' Brockschmidt: Closes: #126289. * A bit of more info in abcde.conf: Closes: #184963. * cddb-tool version updated to 0.4.2 abcde 2.1.0-2 * Old version string left behind. Updated. * Few more doc update bits. * Patches from Marc 'HE' Brockschmidt: Closes: #149499. * Small patch from Norbert Preining to support multiple output in the output directory. * cddb-tool parses CDYEAR with the help of awk: Closes: #114848. * cddb-tool does not globe "*" characters anymore: Closes: #157448. abcde 2.1.0 * The infamous "Works for me(TM)" and "Time to release" release. + We preppend track number now: Closes: #128966. + Itegrate flac: Closes: #126311. + Multi-format encode: Closes: #148934. + Gapless lame encoding: Closes: #172696. + CDROM documented: Closes: #182403. * Applied OpenBSD patches to make the script more portable. Thanks to Han Boetes. * Documentation fixes: closes: #100844, #136741. * NetBSD patches applied: - EXPERIMENTAL Normalize and Batch support. - EXPERIMENTAL FLAC support. * EXPERIMENTAL multiple output support: + multiple output and error checking + multiple lists support * Default output file changed to have the $track_number in the begining. * abcde takeover.
2003-06-10 08:29:06 +02:00
@cd ${WRKSRC} && for f in abcde; do \
${SED} "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," \
$$f > $$f.tmp && \
${MV} $$f.tmp $$f; \
done
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${PREFIX}/bin
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/abcde.conf ${EGDIR}
${INSTALL_MAN} ${WRKSRC}/abcde.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"