1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

add quelcom, a set of command-line utilities for MP3 and wave files

PR:		23888
Submitted by:	George Reid <greid@ukug.uk.freebsd.org>
This commit is contained in:
Ying-Chieh Liao 2001-03-07 14:43:47 +00:00
parent a340fa5755
commit aa937fa1fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39188
12 changed files with 146 additions and 0 deletions

View File

@ -127,6 +127,7 @@
SUBDIR += play
SUBDIR += playmidi
SUBDIR += pysol-sound-server
SUBDIR += quelcom
SUBDIR += radio
SUBDIR += raproxy
SUBDIR += replay

21
audio/quelcom/Makefile Normal file
View File

@ -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>

1
audio/quelcom/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (quelcom-0.2.0.tar.gz) = 83966517869837a509a6fd883803c49e

View File

@ -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

View File

@ -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)

View File

@ -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) {

View File

@ -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...

View File

@ -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 () {

View File

@ -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 () {

View File

@ -0,0 +1 @@
A set of command-line utilities for MP3 and wave files

9
audio/quelcom/pkg-descr Normal file
View File

@ -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

8
audio/quelcom/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
bin/qmp3check
bin/qwavsilence
bin/qwavinfo
bin/qwavjoin
bin/qwavcut
bin/qmp3info
bin/qmp3join
bin/qmp3cut