diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-03-07 22:43:47 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-03-07 22:43:47 +0800 |
commit | 946b5fc33824b506bc0159177265793d920e78da (patch) | |
tree | 8fec111f15928a65f8232a72326fbc793ce80f72 /audio/quelcom | |
parent | 9f97686ca66a3c6ce00c850a77a272ff6ab360ba (diff) | |
download | freebsd-ports-gnome-946b5fc33824b506bc0159177265793d920e78da.tar.gz freebsd-ports-gnome-946b5fc33824b506bc0159177265793d920e78da.tar.zst freebsd-ports-gnome-946b5fc33824b506bc0159177265793d920e78da.zip |
add quelcom, a set of command-line utilities for MP3 and wave files
PR: 23888
Submitted by: George Reid <greid@ukug.uk.freebsd.org>
Diffstat (limited to 'audio/quelcom')
-rw-r--r-- | audio/quelcom/Makefile | 21 | ||||
-rw-r--r-- | audio/quelcom/distinfo | 1 | ||||
-rw-r--r-- | audio/quelcom/files/patch-aa | 38 | ||||
-rw-r--r-- | audio/quelcom/files/patch-ab | 27 | ||||
-rw-r--r-- | audio/quelcom/files/patch-ac | 10 | ||||
-rw-r--r-- | audio/quelcom/files/patch-ad | 10 | ||||
-rw-r--r-- | audio/quelcom/files/patch-ae | 10 | ||||
-rw-r--r-- | audio/quelcom/files/patch-af | 10 | ||||
-rw-r--r-- | audio/quelcom/pkg-comment | 1 | ||||
-rw-r--r-- | audio/quelcom/pkg-descr | 9 | ||||
-rw-r--r-- | audio/quelcom/pkg-plist | 8 |
11 files changed, 145 insertions, 0 deletions
diff --git a/audio/quelcom/Makefile b/audio/quelcom/Makefile new file mode 100644 index 000000000000..feb6834d5b4d --- /dev/null +++ b/audio/quelcom/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: quelcom +# Date created: 27 December 2000 +# Whom: George Reid <greid@ukug.uk.freebsd.org> +# +# $FreeBSD$ +# + +PORTNAME= quelcom +PORTVERSION= 0.2.0 +CATEGORIES= audio +MASTER_SITES= http://www.etse.urv.es/~dmanye/quelcom/src/ + +MAINTAINER= greid@ukug.uk.freebsd.org + +USE_GMAKE= yes +MAKEFILE= makefile + +MAN1= qmp3check.1 qmp3cut.1 qmp3info.1 qmp3join.1 \ + qwavcut.1 qwavinfo.1 qwavjoin.1 qwavsilence.1 + +.include <bsd.port.mk> diff --git a/audio/quelcom/distinfo b/audio/quelcom/distinfo new file mode 100644 index 000000000000..761cee533257 --- /dev/null +++ b/audio/quelcom/distinfo @@ -0,0 +1 @@ +MD5 (quelcom-0.2.0.tar.gz) = 83966517869837a509a6fd883803c49e diff --git a/audio/quelcom/files/patch-aa b/audio/quelcom/files/patch-aa new file mode 100644 index 000000000000..b7201eeb8a37 --- /dev/null +++ b/audio/quelcom/files/patch-aa @@ -0,0 +1,38 @@ +--- makefile.orig Tue Dec 26 18:55:29 2000 ++++ makefile Wed Dec 27 13:55:29 2000 +@@ -3,17 +3,18 @@ + # + + # change these variables to fit your needs +-MANDIR=/usr/local/man ++MANDIR=${PREFIX}/man + #BINDIR=/usr/local/bin + # you should change BINDIR in src/makefile + + VERSION=0.2.0 ++INSTALL_P=/usr/bin/install + + all: +- cd src; make ++ cd src; ${MAKE} + + clean: +- cd src; make clean ++ cd src; ${MAKE} clean + + html: man/* + mkdir -p ./html +@@ -24,11 +25,10 @@ + done + + install: all +- cd src; make install ++ cd src; ${MAKE} install + for i in man/*; \ + do \ +- mkdir -p $(MANDIR)/man1; \ +- cp $$i $(MANDIR)/man1; \ ++ $(INSTALL_P) -c -o root -g wheel -m 444 $$i ${PREFIX}/man/man1; \ + done + + package: html diff --git a/audio/quelcom/files/patch-ab b/audio/quelcom/files/patch-ab new file mode 100644 index 000000000000..3784ace199c5 --- /dev/null +++ b/audio/quelcom/files/patch-ab @@ -0,0 +1,27 @@ +--- src/makefile.orig Tue Dec 26 18:55:30 2000 ++++ src/makefile Wed Dec 27 13:54:07 2000 +@@ -1,9 +1,11 @@ + TARGETS=qmp3check qwavsilence qwavinfo qwavjoin qwavcut qmp3info qmp3join qmp3cut + ++INSTALL_P=/usr/bin/install ++ + all: $(TARGETS) + strip $(TARGETS) + +-BINDIR=/usr/local/bin ++BINDIR=${PREFIX}/bin + VERSION=\"0.2.0\" + CXX=g++ + CXXFLAGS=-Wall -DQVERSION=$(VERSION) #-DQVERBOSE# -g -pg -fprofile-ar=cs -ftest-coverage +@@ -21,7 +23,10 @@ + $(CXX) $(CXXFLAGS) -c $< -o $*.o + + install: +- cp $(TARGETS) $(BINDIR) ++ for i in $(TARGETS); \ ++ do \ ++ $(INSTALL_P) -c -o root -g wheel -m 555 $$i $(BINDIR); \ ++ done + + qwavinfo: qwavinfo.o $(OBJECTS) + $(CXX) -o qwavinfo qwavinfo.o $(OBJECTS) $(LDFLAGS) diff --git a/audio/quelcom/files/patch-ac b/audio/quelcom/files/patch-ac new file mode 100644 index 000000000000..52ee6a9d4c36 --- /dev/null +++ b/audio/quelcom/files/patch-ac @@ -0,0 +1,10 @@ +--- src/qmisc.cc.orig Tue Dec 26 18:55:29 2000 ++++ src/qmisc.cc Wed Dec 27 13:21:23 2000 +@@ -1,6 +1,6 @@ + # include <string> + # include <stdio.h> +- ++# include "qmisc.hh" + + string uint2string (uint ui) { + diff --git a/audio/quelcom/files/patch-ad b/audio/quelcom/files/patch-ad new file mode 100644 index 000000000000..e95b0f1a8095 --- /dev/null +++ b/audio/quelcom/files/patch-ad @@ -0,0 +1,10 @@ +--- src/qmp3.cc.orig Tue Dec 26 18:55:29 2000 ++++ src/qmp3.cc Wed Dec 27 13:24:32 2000 +@@ -346,6 +346,7 @@ + + qfile::cut(offset_first,offset_last+length_last-1); + // remapejar ++ return 0; + } + + // provar donant l'@ de mem=F2ria... diff --git a/audio/quelcom/files/patch-ae b/audio/quelcom/files/patch-ae new file mode 100644 index 000000000000..6e1f49d011b3 --- /dev/null +++ b/audio/quelcom/files/patch-ae @@ -0,0 +1,10 @@ +--- src/qmp3info.cc.orig Tue Dec 26 18:55:29 2000 ++++ src/qmp3info.cc Wed Dec 27 13:23:36 2000 +@@ -2,6 +2,7 @@ + # include "qmp3.hh" + # include "qexception.hh" + ++typedef unsigned long ulong; + + void usage () { + diff --git a/audio/quelcom/files/patch-af b/audio/quelcom/files/patch-af new file mode 100644 index 000000000000..7428612561df --- /dev/null +++ b/audio/quelcom/files/patch-af @@ -0,0 +1,10 @@ +--- src/qwavinfo.cc.orig Tue Dec 26 18:55:30 2000 ++++ src/qwavinfo.cc Wed Dec 27 13:22:42 2000 +@@ -2,6 +2,7 @@ + # include "qwav.hh" + # include "qexception.hh" + ++typedef unsigned long ulong; + + void usage () { + diff --git a/audio/quelcom/pkg-comment b/audio/quelcom/pkg-comment new file mode 100644 index 000000000000..3693dea33c7d --- /dev/null +++ b/audio/quelcom/pkg-comment @@ -0,0 +1 @@ +A set of command-line utilities for MP3 and wave files diff --git a/audio/quelcom/pkg-descr b/audio/quelcom/pkg-descr new file mode 100644 index 000000000000..4665d4db9833 --- /dev/null +++ b/audio/quelcom/pkg-descr @@ -0,0 +1,9 @@ +quelcom is a set of command-line .wav and .mp3 tools including +utilities to show information about a file, to join multiple files +into one, to extract and/or delete fragments of a file, to detect +silence sequences in wav files, and to check and clean mp3 streams. + +WWW: http://www.etse.urv.es/~dmanye/quelcom/quelcom.html + +- George Reid +greid@ukug.uk.freebsd.org diff --git a/audio/quelcom/pkg-plist b/audio/quelcom/pkg-plist new file mode 100644 index 000000000000..80ba8bdfeecf --- /dev/null +++ b/audio/quelcom/pkg-plist @@ -0,0 +1,8 @@ +bin/qmp3check +bin/qwavsilence +bin/qwavinfo +bin/qwavjoin +bin/qwavcut +bin/qmp3info +bin/qmp3join +bin/qmp3cut |