[Midnightbsd-cvs] mports: audio/vorbis-tools: Added vorbis-tools-1.2.0

ctriv at midnightbsd.org ctriv at midnightbsd.org
Sun Jan 4 14:35:46 EST 2009


Log Message:
-----------
Added vorbis-tools-1.2.0

Added Files:
-----------
    mports/audio/vorbis-tools:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/audio/vorbis-tools/files:
        patch-configure (r1.1)
        patch-ogg123_Makefile.in (r1.1)
        patch-ogg123_speex_format.c (r1.1)

-------------- next part --------------
--- /dev/null
+++ audio/vorbis-tools/pkg-descr
@@ -0,0 +1,13 @@
+Vorbis is a general-purpose audio and music encoding format
+contemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
+MPEG audio layer 3.  Unlike the MPEG sponsored formats (and other
+proprietary formats such as RealAudio G2 and Windows' flavor of the
+month), the Vorbis CODEC specification belongs to the public domain.
+All the technical details are published and documented, and any
+software entity may make full use of the format without royalty or
+patent concerns.
+
+This package contains utilities to encode, decode, and cut vorbis
+streams, and to add comments to them.
+
+WWW: http://www.vorbis.com/
--- /dev/null
+++ audio/vorbis-tools/pkg-plist
@@ -0,0 +1,21 @@
+ at comment $FreeBSD: ports/audio/vorbis-tools/pkg-plist,v 1.8 2005/07/05 13:38:19 naddy Exp $
+bin/ogg123
+bin/oggdec
+bin/oggenc
+bin/ogginfo
+bin/vcut
+bin/vorbiscomment
+share/examples/vorbis-tools/ogg123rc
+share/locale/be/LC_MESSAGES/vorbis-tools.mo
+share/locale/cs/LC_MESSAGES/vorbis-tools.mo
+share/locale/da/LC_MESSAGES/vorbis-tools.mo
+share/locale/es/LC_MESSAGES/vorbis-tools.mo
+share/locale/fr/LC_MESSAGES/vorbis-tools.mo
+share/locale/hr/LC_MESSAGES/vorbis-tools.mo
+share/locale/hu/LC_MESSAGES/vorbis-tools.mo
+share/locale/nl/LC_MESSAGES/vorbis-tools.mo
+share/locale/ro/LC_MESSAGES/vorbis-tools.mo
+share/locale/ru/LC_MESSAGES/vorbis-tools.mo
+share/locale/sv/LC_MESSAGES/vorbis-tools.mo
+share/locale/uk/LC_MESSAGES/vorbis-tools.mo
+ at dirrm share/examples/vorbis-tools
--- /dev/null
+++ audio/vorbis-tools/Makefile
@@ -0,0 +1,37 @@
+#
+# $MidnightBSD: mports/audio/vorbis-tools/Makefile,v 1.1 2009/01/04 19:35:44 ctriv Exp $
+#
+
+PORTNAME=	vorbis-tools
+PORTVERSION=	1.2.0
+CATEGORIES=	audio
+MASTER_SITES=	http://downloads.xiph.org/releases/vorbis/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Play, encode, and manage Ogg Vorbis files
+LICENSE=	gpl2
+
+LIB_DEPENDS=	ao.3:${PORTSDIR}/audio/libao \
+		curl.4:${PORTSDIR}/ftp/curl \
+		FLAC.10:${PORTSDIR}/audio/flac \
+		speex.1:${PORTSDIR}/audio/speex \
+		vorbis.4:${PORTSDIR}/audio/libvorbis
+
+USE_GETTEXT=	yes
+
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd6.0
+CONFIGURE_ARGS=	--enable-vcut
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib" \
+		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+		PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+MAN1=		ogg123.1 oggdec.1 oggenc.1 ogginfo.1 vcut.1 vorbiscomment.1
+
+post-install:
+	${MKDIR} ${PREFIX}/share/examples/vorbis-tools
+	${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \
+		${PREFIX}/share/examples/vorbis-tools/ogg123rc
+
+.include <bsd.port.mk>
--- /dev/null
+++ audio/vorbis-tools/distinfo
@@ -0,0 +1,3 @@
+MD5 (vorbis-tools-1.2.0.tar.gz) = df976d24e51ef3d87cd462edf747bf9a
+SHA256 (vorbis-tools-1.2.0.tar.gz) = dbe753ce0ae0797f25117720bb2ba0d848388d3f47af8db31ebc35552c3de07b
+SIZE (vorbis-tools-1.2.0.tar.gz) = 1076814
--- /dev/null
+++ audio/vorbis-tools/files/patch-configure
@@ -0,0 +1,22 @@
+--- configure.orig	2008-03-03 06:48:08.000000000 +0100
++++ configure	2008-03-12 19:43:37.000000000 +0100
+@@ -27301,7 +27301,7 @@
+                 ;;
+         *)
+                 DEBUG="-g"
+-                CFLAGS="-O"
++                CFLAGS=""
+                 PROFILE="-g -p"
+                 ;;
+         esac
+@@ -27324,8 +27324,8 @@
+                 ;;
+         *)
+                 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
--- /dev/null
+++ audio/vorbis-tools/files/patch-ogg123_Makefile.in
@@ -0,0 +1,11 @@
+--- ogg123/Makefile.in.orig	2008-03-03 06:47:58.000000000 +0100
++++ ogg123/Makefile.in	2008-03-12 19:43:37.000000000 +0100
+@@ -605,7 +605,7 @@
+ 
+ info-am:
+ 
+-install-data-am: install-docDATA install-man
++install-data-am: install-man
+ 
+ install-dvi: install-dvi-am
+ 
--- /dev/null
+++ audio/vorbis-tools/files/patch-ogg123_speex_format.c
@@ -0,0 +1,11 @@
+--- ogg123/speex_format.c.orig	2008-05-11 17:57:48.000000000 +0200
++++ ogg123/speex_format.c	2008-05-11 17:58:19.000000000 +0200
+@@ -475,7 +475,7 @@ void *process_header(ogg_packet *op, int
+            cb->printf_error(callback_arg, ERROR, _("Cannot read header"));
+      return NULL;
+    }
+-   if ((*header)->mode >= SPEEX_NB_MODES) {
++   if ((*header)->mode >= SPEEX_NB_MODES || (*header)->mode < 0) {
+      cb->printf_error(callback_arg, ERROR, 
+ 		      _("Mode number %d does not (any longer) exist in this version"),
+ 	      (*header)->mode);


More information about the Midnightbsd-cvs mailing list