pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Nov 23 10:59:40 UTC 2021

Modified Files:
        pkgsrc/audio: Makefile
Added Files:
        pkgsrc/audio/cutmp3: DESCR Makefile PLIST distinfo
        pkgsrc/audio/cutmp3/files: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.645 -r1.646 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/cutmp3/DESCR pkgsrc/audio/cutmp3/Makefile \
    pkgsrc/audio/cutmp3/PLIST pkgsrc/audio/cutmp3/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/cutmp3/files/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/Makefile
diff -u pkgsrc/audio/Makefile:1.645 pkgsrc/audio/Makefile:1.646
--- pkgsrc/audio/Makefile:1.645 Sun Nov 21 11:06:17 2021
+++ pkgsrc/audio/Makefile       Tue Nov 23 10:59:40 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.645 2021/11/21 11:06:17 bsiegert Exp $
+# $NetBSD: Makefile,v 1.646 2021/11/23 10:59:40 nia Exp $
 #
 
 COMMENT=       Audio tools, players, and libraries
@@ -63,6 +63,7 @@ SUBDIR+=      csound5
 SUBDIR+=       csound5-manual
 SUBDIR+=       csound6
 SUBDIR+=       csound6-manual
+SUBDIR+=       cutmp3
 SUBDIR+=       dap
 SUBDIR+=       darkice
 SUBDIR+=       deforaos-mixer

Added files:

Index: pkgsrc/audio/cutmp3/DESCR
diff -u /dev/null pkgsrc/audio/cutmp3/DESCR:1.1
--- /dev/null   Tue Nov 23 10:59:40 2021
+++ pkgsrc/audio/cutmp3/DESCR   Tue Nov 23 10:59:40 2021
@@ -0,0 +1,5 @@
+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.
Index: pkgsrc/audio/cutmp3/Makefile
diff -u /dev/null pkgsrc/audio/cutmp3/Makefile:1.1
--- /dev/null   Tue Nov 23 10:59:40 2021
+++ pkgsrc/audio/cutmp3/Makefile        Tue Nov 23 10:59:40 2021
@@ -0,0 +1,30 @@
+# $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@localhost
+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"
Index: pkgsrc/audio/cutmp3/PLIST
diff -u /dev/null pkgsrc/audio/cutmp3/PLIST:1.1
--- /dev/null   Tue Nov 23 10:59:40 2021
+++ pkgsrc/audio/cutmp3/PLIST   Tue Nov 23 10:59:40 2021
@@ -0,0 +1,7 @@
+@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
Index: pkgsrc/audio/cutmp3/distinfo
diff -u /dev/null pkgsrc/audio/cutmp3/distinfo:1.1
--- /dev/null   Tue Nov 23 10:59:40 2021
+++ pkgsrc/audio/cutmp3/distinfo        Tue Nov 23 10:59:40 2021
@@ -0,0 +1,5 @@
+$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

Index: pkgsrc/audio/cutmp3/files/Makefile
diff -u /dev/null pkgsrc/audio/cutmp3/files/Makefile:1.1
--- /dev/null   Tue Nov 23 10:59:40 2021
+++ pkgsrc/audio/cutmp3/files/Makefile  Tue Nov 23 10:59:40 2021
@@ -0,0 +1,7 @@
+all: cutmp3
+
+.c.o:
+       $(CC) $(CFLAGS) -c $<
+
+cutmp3: main.o mpglib.o
+       $(CC) $(LDFLAGS) main.o mpglib.o -lreadline -lcurses -lm -o cutmp3



Home | Main Index | Thread Index | Old Index