pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio audio: add cutmp3
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad837a1d4944
branches: trunk
changeset: 769926:ad837a1d4944
user: nia <nia%pkgsrc.org@localhost>
date: Tue Nov 23 10:59:40 2021 +0000
description:
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.
diffstat:
audio/Makefile | 3 ++-
audio/cutmp3/DESCR | 5 +++++
audio/cutmp3/Makefile | 30 ++++++++++++++++++++++++++++++
audio/cutmp3/PLIST | 7 +++++++
audio/cutmp3/distinfo | 5 +++++
audio/cutmp3/files/Makefile | 7 +++++++
6 files changed, 56 insertions(+), 1 deletions(-)
diffs (91 lines):
diff -r 1915c947cadc -r ad837a1d4944 audio/Makefile
--- a/audio/Makefile Tue Nov 23 10:45:44 2021 +0000
+++ b/audio/Makefile Tue Nov 23 10:59:40 2021 +0000
@@ -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-manual
SUBDIR+= csound6
SUBDIR+= csound6-manual
+SUBDIR+= cutmp3
SUBDIR+= dap
SUBDIR+= darkice
SUBDIR+= deforaos-mixer
diff -r 1915c947cadc -r ad837a1d4944 audio/cutmp3/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cutmp3/DESCR Tue Nov 23 10:59:40 2021 +0000
@@ -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.
diff -r 1915c947cadc -r ad837a1d4944 audio/cutmp3/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cutmp3/Makefile Tue Nov 23 10:59:40 2021 +0000
@@ -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"
diff -r 1915c947cadc -r ad837a1d4944 audio/cutmp3/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cutmp3/PLIST Tue Nov 23 10:59:40 2021 +0000
@@ -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
diff -r 1915c947cadc -r ad837a1d4944 audio/cutmp3/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cutmp3/distinfo Tue Nov 23 10:59:40 2021 +0000
@@ -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
diff -r 1915c947cadc -r ad837a1d4944 audio/cutmp3/files/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cutmp3/files/Makefile Tue Nov 23 10:59:40 2021 +0000
@@ -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