Tue Nov 23 10:59:40 2021 UTC ()
audio: add cutmp3
cutmp3 is a small and fast command line MP3 editor. It lets you select
sections of an MP3 interactively or via a timetable and save them to separate
files without quality loss. It uses mpg123 for playback and works with VBR
files and even with files bigger than 2GB. Other features are configurable
silence seeking and ID3 tag seeking, which are useful for concatenated mp3s.
(nia)
diff -r1.645 -r1.646 pkgsrc/audio/Makefile
diff -r0 -r1.1 pkgsrc/audio/cutmp3/DESCR
diff -r0 -r1.1 pkgsrc/audio/cutmp3/Makefile
diff -r0 -r1.1 pkgsrc/audio/cutmp3/PLIST
diff -r0 -r1.1 pkgsrc/audio/cutmp3/distinfo
diff -r0 -r1.1 pkgsrc/audio/cutmp3/files/Makefile
--- pkgsrc/audio/Makefile 2021/11/21 11:06:17 1.645
+++ pkgsrc/audio/Makefile 2021/11/23 10:59:40 1.646
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.645 2021/11/21 11:06:17 bsiegert Exp $ | | 1 | # $NetBSD: Makefile,v 1.646 2021/11/23 10:59:40 nia Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Audio tools, players, and libraries | | 4 | COMMENT= Audio tools, players, and libraries |
5 | | | 5 | |
6 | SUBDIR+= SDL2_mixer | | 6 | SUBDIR+= SDL2_mixer |
7 | SUBDIR+= SDL_mixer | | 7 | SUBDIR+= SDL_mixer |
8 | SUBDIR+= SDL_sound | | 8 | SUBDIR+= SDL_sound |
9 | SUBDIR+= abcde | | 9 | SUBDIR+= abcde |
10 | SUBDIR+= abcmidi | | 10 | SUBDIR+= abcmidi |
11 | SUBDIR+= adplay | | 11 | SUBDIR+= adplay |
12 | SUBDIR+= adplug | | 12 | SUBDIR+= adplug |
13 | SUBDIR+= aeneas | | 13 | SUBDIR+= aeneas |
14 | SUBDIR+= aften | | 14 | SUBDIR+= aften |
| @@ -53,26 +53,27 @@ SUBDIR+= cdparanoia | | | @@ -53,26 +53,27 @@ SUBDIR+= cdparanoia |
53 | SUBDIR+= cdplayer | | 53 | SUBDIR+= cdplayer |
54 | SUBDIR+= celt | | 54 | SUBDIR+= celt |
55 | SUBDIR+= chromaprint | | 55 | SUBDIR+= chromaprint |
56 | SUBDIR+= cmp3 | | 56 | SUBDIR+= cmp3 |
57 | SUBDIR+= cmus | | 57 | SUBDIR+= cmus |
58 | SUBDIR+= cmusfm | | 58 | SUBDIR+= cmusfm |
59 | SUBDIR+= cplay | | 59 | SUBDIR+= cplay |
60 | SUBDIR+= cripple | | 60 | SUBDIR+= cripple |
61 | SUBDIR+= cs4235 | | 61 | SUBDIR+= cs4235 |
62 | SUBDIR+= csound5 | | 62 | SUBDIR+= csound5 |
63 | SUBDIR+= csound5-manual | | 63 | SUBDIR+= csound5-manual |
64 | SUBDIR+= csound6 | | 64 | SUBDIR+= csound6 |
65 | SUBDIR+= csound6-manual | | 65 | SUBDIR+= csound6-manual |
| | | 66 | SUBDIR+= cutmp3 |
66 | SUBDIR+= dap | | 67 | SUBDIR+= dap |
67 | SUBDIR+= darkice | | 68 | SUBDIR+= darkice |
68 | SUBDIR+= deforaos-mixer | | 69 | SUBDIR+= deforaos-mixer |
69 | SUBDIR+= din | | 70 | SUBDIR+= din |
70 | SUBDIR+= disc-cover | | 71 | SUBDIR+= disc-cover |
71 | SUBDIR+= distmp3 | | 72 | SUBDIR+= distmp3 |
72 | SUBDIR+= dssi | | 73 | SUBDIR+= dssi |
73 | SUBDIR+= dumb | | 74 | SUBDIR+= dumb |
74 | SUBDIR+= easyh10 | | 75 | SUBDIR+= easyh10 |
75 | SUBDIR+= easytag | | 76 | SUBDIR+= easytag |
76 | SUBDIR+= eawpatches | | 77 | SUBDIR+= eawpatches |
77 | SUBDIR+= emixer | | 78 | SUBDIR+= emixer |
78 | SUBDIR+= espeak | | 79 | SUBDIR+= espeak |
cutmp3 is a small and fast command line MP3 editor. It lets you select
sections of an MP3 interactively or via a timetable and save them to separate
files without quality loss. It uses mpg123 for playback and works with VBR
files and even with files bigger than 2GB. Other features are configurable
silence seeking and ID3 tag seeking, which are useful for concatenated mp3s.
# $NetBSD: Makefile,v 1.1 2021/11/23 10:59:40 nia Exp $
DISTNAME= cutmp3-3.0.1
CATEGORIES= audio
MASTER_SITES= https://www.puchalla-online.de/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.puchalla-online.de/cutmp3.html
COMMENT= Command line editor for cutting MP3s without quality loss
LICENSE= gnu-gpl-v2
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
INSTALLATION_DIRS+= share/cutmp3
pre-build:
cp ${FILESDIR}/Makefile ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cutmp3 ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cutmp3.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/Changelog ${DESTDIR}${PREFIX}/share/cutmp3
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/cutmp3
${INSTALL_DATA} ${WRKSRC}/USAGE ${DESTDIR}${PREFIX}/share/cutmp3
${INSTALL_DATA} ${WRKSRC}/exitcodes ${DESTDIR}${PREFIX}/share/cutmp3
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2021/11/23 10:59:40 nia Exp $
bin/cutmp3
man/man1/cutmp3.1
share/cutmp3/COPYING
share/cutmp3/Changelog
share/cutmp3/USAGE
share/cutmp3/exitcodes
$NetBSD: distinfo,v 1.1 2021/11/23 10:59:40 nia Exp $
BLAKE2s (cutmp3-3.0.1.tar.bz2) = 0c88b285c64662269b519d2b6cfa986bcee09b38907b6d8483724384ec724f9e
SHA512 (cutmp3-3.0.1.tar.bz2) = 4caa812a01c5a601321ed7f225d3f73f50cf5f20ff8d1fc830c7b405f7c5b795fc847a466c263b539f7f493d47cb283a5fddd415c4352b2992675a4447943246
Size (cutmp3-3.0.1.tar.bz2) = 48167 bytes
all: cutmp3
.c.o:
$(CC) $(CFLAGS) -c $<
cutmp3: main.o mpglib.o
$(CC) $(LDFLAGS) main.o mpglib.o -lreadline -lcurses -lm -o cutmp3