ports/117544: [NEW PORT] audio/gnormalize, a Gtk2 frontend to normalize(1) and various command line utilities.
darcsis at gmail.com
darcsis at gmail.com
Fri Oct 26 23:10:01 UTC 2007
>Number: 117544
>Category: ports
>Synopsis: [NEW PORT] audio/gnormalize, a Gtk2 frontend to normalize(1) and various command line utilities.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 26 23:10:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Denise H. G.
>Release: FreeBSD 6.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD pluton.xbsd.name 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Oct 20 01:41:47 CST 2007 dhg at pluton.xbsd.name:/opt/obj/usr/src/sys/mibsd-SMP-ULE amd64
>Description:
gnormalize: A Gtk2 frontend to normalize(1) and various command line utilities.
This port requires a threaded perl installation.
Author: Sao Paolo <claudiofsr at yahoo.com>
WWW: http://gnormalize.sourceforge.net/
>How-To-Repeat:
>Fix:
--- shar-1.sh begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# gnormalize
# gnormalize/Makefile
# gnormalize/distinfo
# gnormalize/pkg-descr
# gnormalize/pkg-plist
# gnormalize/files
# gnormalize/files/patch-Makefile
#
echo c - gnormalize
mkdir -p gnormalize > /dev/null 2>&1
echo x - gnormalize/Makefile
sed 's/^X//' >gnormalize/Makefile << 'END-of-gnormalize/Makefile'
X# New ports collection makefile for: gnormalize
X# Date created: 27 Oct 2007
X# Whom: Denise H. G. <darcsis at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gnormalize
XPORTVERSION= 0.52
XCATEGORIES= audio
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER= darcsis at gmail.com
XCOMMENT= An alternative for replaygain
X
XRUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
X ${SITE_PERL}/${PERL_ARCH}/Audio/CD.pm:${PORTSDIR}/audio/p5-Audio-CD \
X ${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info \
X ${SITE_PERL}/${PERL_ARCH}/auto/Encode/Encode.so:${PORTSDIR}/converters/p5-Encode \
X normalize:${PORTSDIR}/audio/normalize \
X cddb.pl:${PORTSDIR}/audio/p5-CDDB_get \
X lame:${PORTSDIR}/audio/lame \
X faac:${PORTSDIR}/audio/faac \
X oggenc:${PORTSDIR}/audio/vorbis-tools \
X mppenc:${PORTSDIR}/audio/musepack \
X mac:${PORTSDIR}/audio/mac \
X flac:${PORTSDIR}/audio/flac \
X faad:${PORTSDIR}/audio/faad
X
XUSE_PERL5_RUN= yes
X
XNO_BUILD= yes
X
Xpre-extract:
X @${ECHO} ""
X @${ECHO} "[N-O-T-I-C-E]"
X @${ECHO} " A threaded perl is needed to run ${PORTNAME}-${PORTVERSION}."
X @${ECHO} " If your perl is not compiled with thread support. Consider"
X @${ECHO} " recompiling your perl with thread support. For more information,"
X @${ECHO} " please read ${PORTSDIR}/lang/perl5.8/Makefile."
X @${ECHO} ""
X
X.include <bsd.port.mk>
END-of-gnormalize/Makefile
echo x - gnormalize/distinfo
sed 's/^X//' >gnormalize/distinfo << 'END-of-gnormalize/distinfo'
XMD5 (gnormalize-0.52.tar.gz) = f577b8dc57bceca9a8a02b7f00dccbe3
XSHA256 (gnormalize-0.52.tar.gz) = 61132285436f94637a5ed5db2ba1909fb75c629aaa580b5a9069f8b0b8428d4b
XSIZE (gnormalize-0.52.tar.gz) = 690984
END-of-gnormalize/distinfo
echo x - gnormalize/pkg-descr
sed 's/^X//' >gnormalize/pkg-descr << 'END-of-gnormalize/pkg-descr'
Xgnormalize decodes the MP3/MP4/MPC/OGG/APE/FLAC file to WAV,
Xthen normalizes the WAV to a targeted volume level and re-encodes
Xit. Moreover, gnormalize can extract Audio CD track and output as
Xvarious popular audio formats (MP3, MP4, MPC, OGG, APE, FLAC, WAV)
Xwith fast speed and high quality. gnormalize can also convert audio
Xformat between MP3, MP4, MPC, OGG, APE and FLAC with high fidelity,
Xwhich meets your need to play and collect audio files. It can change
Xthe encoding and Metadata (tag) properties of final normalized files.
X
XWWW: http://gnormalize.sourceforge.net/
END-of-gnormalize/pkg-descr
echo x - gnormalize/pkg-plist
sed 's/^X//' >gnormalize/pkg-plist << 'END-of-gnormalize/pkg-plist'
Xbin/gnormalize
Xman/man1/gnormalize.1
Xshare/gnormalize/animations/dancing_penguin.gif
Xshare/gnormalize/animations/penguin_cold.gif
Xshare/gnormalize/animations/penguin_ice.gif
Xshare/gnormalize/animations/super_tux.gif
Xshare/gnormalize/animations/penguin_and_camel.gif
Xshare/gnormalize/animations/penguin_computer.gif
Xshare/gnormalize/animations/penguin_typing.gif
Xshare/gnormalize/animations/tux_lunapaint.gif
Xshare/gnormalize/README
Xshare/icons/gnormalize.png
Xshare/icons/large/gnormalize.png
Xshare/icons/mini/gnormalize.png
Xshare/pixmaps/gnormalize.png
X at dirrmtry share/gnormalize/animations
X at dirrmtry share/gnormalize
X at dirrmtry share/icons/large
X at dirrmtry share/icons/mini
END-of-gnormalize/pkg-plist
echo c - gnormalize/files
mkdir -p gnormalize/files > /dev/null 2>&1
echo x - gnormalize/files/patch-Makefile
sed 's/^X//' >gnormalize/files/patch-Makefile << 'END-of-gnormalize/files/patch-Makefile'
X--- Makefile 2006-12-03 04:31:26.000000000 +0800
X+++ Makefile 2007-10-27 05:51:15.000000000 +0800
X@@ -1,15 +1,17 @@
X-PREFIX=/usr
X+PREFIX=/usr/local
X BINDIR=$(PREFIX)/bin
X-DOCDIR=$(PREFIX)/share/doc/gnormalize
X ICONDIR=$(PREFIX)/share/icons
X ICONDIR2=$(PREFIX)/share/pixmaps
X LICONDIR=$(ICONDIR)/large
X MICONDIR=$(ICONDIR)/mini
X BASE=$(PREFIX)/share/gnormalize
X ANIMDIR=$(BASE)/animations
X-MANDIR=$(PREFIX)/share/man
X+MANDIR=$(PREFIX)/man
X+INSTALL_PROG=install -m 755 -o root -g wheel
X+INSTALL_DATA=install -m 444 -o root -g wheel
X
X DOCS=README
X+MAN_PAGE=gnormalize.1
X
X all:
X clean:
X@@ -17,21 +19,22 @@
X
X
X install: all
X+ cat ${MAN_PAGE}.bz2 | bzip2 -d -- > ${MAN_PAGE}
X mkdir -p "$(BINDIR)"
X mkdir -p "$(ICONDIR)"
X mkdir -p "$(ICONDIR2)"
X+ mkdir -p "$(LICONDIR)"
X+ mkdir -p "$(MICONDIR)"
X mkdir -p "$(ANIMDIR)"
X- mkdir -p "$(DOCDIR)"
X mkdir -p "$(MANDIR)/man1/"
X- install -Dm 755 gnormalize "$(BINDIR)/gnormalize"
X- install -m 644 $(DOCS) "$(DOCDIR)/"
X- install -m 644 $(DOCS) "$(BASE)/"
X- install -m 644 gnormalize.1.bz2 "$(MANDIR)/man1/gnormalize.1.bz2"
X+ $(INSTALL_PROG) gnormalize "$(BINDIR)/gnormalize"
X+ $(INSTALL_DATA) $(DOCS) "$(BASE)/"
X+ $(INSTALL_DATA) ${MAN_PAGE} "$(MANDIR)/man1/${MAN_PAGE}"
X install -d "$(ANIMDIR)"
X- install -m 644 animations/*.gif "$(ANIMDIR)/"
X- install -Dm 644 icons/gnormalize-32.png "$(ICONDIR)/gnormalize.png"
X- install -Dm 644 icons/gnormalize-48.png "$(LICONDIR)/gnormalize.png"
X- install -Dm 644 icons/gnormalize-16.png "$(MICONDIR)/gnormalize.png"
X+ $(INSTALL_DATA) animations/*.gif "$(ANIMDIR)/"
X+ $(INSTALL_DATA) icons/gnormalize-32.png "$(ICONDIR)/gnormalize.png"
X+ $(INSTALL_DATA) icons/gnormalize-48.png "$(LICONDIR)/gnormalize.png"
X+ $(INSTALL_DATA) icons/gnormalize-16.png "$(MICONDIR)/gnormalize.png"
X ln -sf "$(ICONDIR)/gnormalize.png" "$(ICONDIR2)/gnormalize.png"
X
X postinstall:
X@@ -39,13 +42,12 @@
X
X uninstall:
X rm -f "$(BINDIR)/gnormalize"
X- rm -f "$(MANDIR)/man1/gnormalize.1.bz2"
X+ rm -f "$(MANDIR)/man1/gnormalize.1"
X rm -f "$(ICONDIR)/gnormalize.png"
X rm -f "$(LICONDIR)/gnormalize.png"
X rm -f "$(MICONDIR)/gnormalize.png"
X unlink "$(ICONDIR2)/gnormalize.png"
X rm -rf "$(BASE)"
X- rm -rf "$(PREFIX)/share/doc/gnormalize"
X
X postuninstall:
X update-menus
END-of-gnormalize/files/patch-Makefile
exit
--- shar-1.sh ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list