summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-11-23 11:45:47 +0000
committernia <nia@pkgsrc.org>2021-11-23 11:45:47 +0000
commitc66f7843dcda0d17317a0385afbf92ac3a902efc (patch)
tree677e70f7a9227a7011b4404fda5b5b1efd83b5ae /audio
parentfd8d71129a6999820cc4339224176e9403050f3d (diff)
downloadpkgsrc-c66f7843dcda0d17317a0385afbf92ac3a902efc.tar.gz
audio: add cutoggvorbis
cutoggvorbis is a small and fast command line Ogg/Vorbis editor. It lets you select sections of an Ogg/Vorbis interactively or via a timetable and save them to separate files without quality loss. It uses ogg123 for playback and even works with files bigger than 2GB.
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile3
-rw-r--r--audio/cutoggvorbis/DESCR4
-rw-r--r--audio/cutoggvorbis/Makefile30
-rw-r--r--audio/cutoggvorbis/PLIST7
-rw-r--r--audio/cutoggvorbis/distinfo5
-rw-r--r--audio/cutoggvorbis/files/Makefile10
6 files changed, 58 insertions, 1 deletions
diff --git a/audio/Makefile b/audio/Makefile
index bda19bf3172..d8e83840198 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.646 2021/11/23 10:59:40 nia Exp $
+# $NetBSD: Makefile,v 1.647 2021/11/23 11:45:47 nia Exp $
#
COMMENT= Audio tools, players, and libraries
@@ -64,6 +64,7 @@ SUBDIR+= csound5-manual
SUBDIR+= csound6
SUBDIR+= csound6-manual
SUBDIR+= cutmp3
+SUBDIR+= cutoggvorbis
SUBDIR+= dap
SUBDIR+= darkice
SUBDIR+= deforaos-mixer
diff --git a/audio/cutoggvorbis/DESCR b/audio/cutoggvorbis/DESCR
new file mode 100644
index 00000000000..bd2d0c8a30b
--- /dev/null
+++ b/audio/cutoggvorbis/DESCR
@@ -0,0 +1,4 @@
+cutoggvorbis is a small and fast command line Ogg/Vorbis editor. It lets
+you select sections of an Ogg/Vorbis interactively or via a timetable and
+save them to separate files without quality loss. It uses ogg123 for playback
+and even works with files bigger than 2GB.
diff --git a/audio/cutoggvorbis/Makefile b/audio/cutoggvorbis/Makefile
new file mode 100644
index 00000000000..e13b91a3a53
--- /dev/null
+++ b/audio/cutoggvorbis/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2021/11/23 11:45:47 nia Exp $
+
+DISTNAME= cutoggvorbis-0.2
+CATEGORIES= audio
+MASTER_SITES= https://puchalla-online.de/cutoggvorbis/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://www.puchalla-online.de/cutoggvorbis/cutoggvorbis.html
+COMMENT= Command line editor for cutting Ogg Vorbis without quality loss
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= gzip
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+INSTALLATION_DIRS+= share/cutoggvorbis
+
+pre-build:
+ cp ${FILESDIR}/Makefile ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cutoggvorbis ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cutoggvorbis.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/Changelog ${DESTDIR}${PREFIX}/share/cutoggvorbis
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/cutoggvorbis
+ ${INSTALL_DATA} ${WRKSRC}/EXITCODES ${DESTDIR}${PREFIX}/share/cutoggvorbis
+ ${INSTALL_DATA} ${WRKSRC}/USAGE ${DESTDIR}${PREFIX}/share/cutoggvorbis
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/cutoggvorbis/PLIST b/audio/cutoggvorbis/PLIST
new file mode 100644
index 00000000000..334d909e470
--- /dev/null
+++ b/audio/cutoggvorbis/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/23 11:45:47 nia Exp $
+bin/cutoggvorbis
+man/man1/cutoggvorbis.1
+share/cutoggvorbis/COPYING
+share/cutoggvorbis/Changelog
+share/cutoggvorbis/EXITCODES
+share/cutoggvorbis/USAGE
diff --git a/audio/cutoggvorbis/distinfo b/audio/cutoggvorbis/distinfo
new file mode 100644
index 00000000000..0307d6b2deb
--- /dev/null
+++ b/audio/cutoggvorbis/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/23 11:45:47 nia Exp $
+
+BLAKE2s (cutoggvorbis-0.2.tar.bz2) = 82cbc5c152e8528088965a1ff2d6f2efc8cb28db7967c5a22929112ce3b364fa
+SHA512 (cutoggvorbis-0.2.tar.bz2) = ae01a21f8271a849a245763056c16a3b12bc7e46e115db2d91c037b3dc306f3fe4e6b02fe61c67775d1d0315e0ee549858a3556027cff9ee69aaf44cc3ff6e7c
+Size (cutoggvorbis-0.2.tar.bz2) = 22875 bytes
diff --git a/audio/cutoggvorbis/files/Makefile b/audio/cutoggvorbis/files/Makefile
new file mode 100644
index 00000000000..dc168fc1cf9
--- /dev/null
+++ b/audio/cutoggvorbis/files/Makefile
@@ -0,0 +1,10 @@
+all: cutoggvorbis cutoggvorbis.1
+
+cutoggvorbis.1: cutoggvorbis.1.gz
+ gunzip cutoggvorbis.1.gz
+
+.c.o:
+ $(CC) $(CFLAGS) -c $<
+
+cutoggvorbis: main.o
+ $(CC) $(LDFLAGS) main.o -lm -o cutoggvorbis