aboutsummaryrefslogtreecommitdiffstats
path: root/audio/vorbisgain
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-10-13 23:29:33 +0800
committernaddy <naddy@FreeBSD.org>2003-10-13 23:29:33 +0800
commit6b9e667cff2646f7d272e0df2b7e10994f6fa8ad (patch)
treef1b84f20412ae4e33830d6640abe57e370f73e90 /audio/vorbisgain
parent50cde19b9530a3dfc1a588dec3dc513494b5ae67 (diff)
downloadfreebsd-ports-gnome-6b9e667cff2646f7d272e0df2b7e10994f6fa8ad.tar.gz
freebsd-ports-gnome-6b9e667cff2646f7d272e0df2b7e10994f6fa8ad.tar.zst
freebsd-ports-gnome-6b9e667cff2646f7d272e0df2b7e10994f6fa8ad.zip
* Update to 0.34.
* Complete overhaul of the port. Obtained from: OpenBSD
Diffstat (limited to 'audio/vorbisgain')
-rw-r--r--audio/vorbisgain/Makefile22
-rw-r--r--audio/vorbisgain/distinfo2
-rw-r--r--audio/vorbisgain/files/patch-Makefile.in23
-rw-r--r--audio/vorbisgain/files/patch-configure25
-rw-r--r--audio/vorbisgain/pkg-descr36
5 files changed, 71 insertions, 37 deletions
diff --git a/audio/vorbisgain/Makefile b/audio/vorbisgain/Makefile
index 29bf8c71a669..38359d7f9ce7 100644
--- a/audio/vorbisgain/Makefile
+++ b/audio/vorbisgain/Makefile
@@ -7,30 +7,24 @@
#
PORTNAME= vorbisgain
-PORTVERSION= 0.32
+PORTVERSION= 0.34
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/v/vorbisgain
-DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
+MASTER_SITES= http://users.pandora.be/sjeng/ftp/vorbis/
MAINTAINER= ports@FreeBSD.org
-COMMENT= Calculates a percieved sound level of an Ogg Vorbis file
+COMMENT= Calculates the perceived sound level of an Ogg Vorbis file
-LIB_DEPENDS= ogg.4:${PORTSDIR}/audio/libogg \
- vorbis.2:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-USE_REINPLACE= yes
-USE_GMAKE= yes
+USE_ZIP= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lm -logg -lvorbis -lvorbisfile"
+ LDFLAGS="-L${LOCALBASE}/lib"
MAN1= vorbisgain.1
-post-patch:
- @${REINPLACE_CMD} -e "s,-ldir,," ${WRKSRC}/configure
+pre-configure:
+ @${CHMOD} +x ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/audio/vorbisgain/distinfo b/audio/vorbisgain/distinfo
index a97ac26ca7fa..bba751197403 100644
--- a/audio/vorbisgain/distinfo
+++ b/audio/vorbisgain/distinfo
@@ -1 +1 @@
-MD5 (vorbisgain_0.32.orig.tar.gz) = 2b34d9c3c7eaab033ebd70e5b70a3e12
+MD5 (vorbisgain-0.34.zip) = ee62352b74c610bb3eeddda038819fc8
diff --git a/audio/vorbisgain/files/patch-Makefile.in b/audio/vorbisgain/files/patch-Makefile.in
index a736a798d363..456ce42bcaf4 100644
--- a/audio/vorbisgain/files/patch-Makefile.in
+++ b/audio/vorbisgain/files/patch-Makefile.in
@@ -1,11 +1,18 @@
---- Makefile.in.orig Fri Jan 3 19:03:10 2003
-+++ Makefile.in Fri Jan 3 19:04:08 2003
-@@ -71,7 +71,7 @@
- am__quote = @am__quote@
- install_sh = @install_sh@
+
+$FreeBSD$
+
+--- Makefile.in.orig Mon Oct 13 16:58:56 2003
++++ Makefile.in Mon Oct 13 16:59:12 2003
+@@ -417,10 +417,10 @@
--mandir = @MANDIR@
-+mandir = @prefix@/man
- AUTOMAKE_OPTIONS = foreign dist-zip
+ debug:
+- $(MAKE) all CFLAGS="@DEBUG@"
++ $(MAKE) all CFLAGS="@DEBUG@"
+ profile:
+- $(MAKE) all CFLAGS="@PROFILE@"
++ $(MAKE) all CFLAGS="@PROFILE@"
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/audio/vorbisgain/files/patch-configure b/audio/vorbisgain/files/patch-configure
new file mode 100644
index 000000000000..a2d18cdbd30a
--- /dev/null
+++ b/audio/vorbisgain/files/patch-configure
@@ -0,0 +1,25 @@
+
+$FreeBSD$
+
+--- configure.orig Mon Oct 13 17:05:18 2003
++++ configure Mon Oct 13 17:05:36 2003
+@@ -2450,7 +2450,7 @@
+ case $host in
+ *)
+ DEBUG="-g"
+- CFLAGS="-O"
++ CFLAGS=""
+ PROFILE="-g -p"
+ ;;
+ esac
+@@ -2458,8 +2458,8 @@
+ case $host in
+ *)
+ DEBUG="-g -Wall -fsigned-char"
+- CFLAGS="-O2 -fsigned-char"
+- PROFILE="-O2 -g -pg -fsigned-char"
++ CFLAGS="-fsigned-char"
++ PROFILE="-g -pg -fsigned-char"
+ ;;
+ esac
+ fi
diff --git a/audio/vorbisgain/pkg-descr b/audio/vorbisgain/pkg-descr
index 558b47fbaf08..5173be67a25d 100644
--- a/audio/vorbisgain/pkg-descr
+++ b/audio/vorbisgain/pkg-descr
@@ -1,14 +1,22 @@
-When listening to Ogg Vorbis (or MP3) files on your computer, you may have
-noticed that some songs are louder than others. To a degree, this can be
-what the artist or producer intended, at least when comparing songs from the
-same CD. However, when (randomly) listening to songs from different CDs, the
-sound level can vary quite much, so much that you need to adjust the volume
-every now and then, to get a comfortable sound level. Wouldn't it be nice if
-that could be handled automatically?
-
-This is where VorbisGain comes in. It calculates a percieved sound level of
-an Ogg Vorbis file using the ReplayGain algorithm. VorbisGain then stores in
-the comments (tags) in the file a suggestion on how the volume should be
-changed during playback, to get a uniform sound level. However, this only
-solves half the problem; the player application needs to act on that
-suggestion for it to be any useful.
+VorbisGain is a utility that uses a psychoacoustic method to correct
+the volume of an Ogg Vorbis file to a predefined standardized
+loudness.
+
+It is meant as a replacement for the normalization that is commonly
+used before encoding. Although normalization will ensure that each
+song has the same peak volume, this unfortunately does not say
+anything about the apparent loudness of the music, with the end
+result being that many normalized files still don't sound equally
+loud. VorbisGain uses psychoacoustics to address this deficiency.
+Moreover, unlike normalization, it's a lossless procedure which
+works by adding tags to the file. Additionally, it will add hints
+that can be used to prevent clipping on playback. It is based upon
+the ReplayGain technology.
+
+The end result is that the file ends up with superior playback
+quality compared to a non-VorbisGain'ed file.
+
+It needs player support to work. Non-supporting players will play
+back the files without problems, but you'll miss out on the benefits.
+
+WWW: http://sjeng.org/vorbisgain.html