mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
Updated vorbis-tools to 1.4.0
This commit is contained in:
20
media-sound/vorbis-tools/patches/vorbis-tools-1.4.0.patch
Normal file
20
media-sound/vorbis-tools/patches/vorbis-tools-1.4.0.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff -urN vorbis-tools-1.4.0/vcut/vcut.c vorbis-tools-1.4.0-gcc2/vcut/vcut.c
|
||||
--- vorbis-tools-1.4.0/vcut/vcut.c 2010-03-26 07:07:07.022020096 +0000
|
||||
+++ vorbis-tools-1.4.0-gcc2/vcut/vcut.c 2010-06-05 23:51:34.494927872 +0000
|
||||
@@ -233,6 +233,7 @@
|
||||
* Returns 0 for success, or -1 on failure. */
|
||||
static int open_output_stream(vcut_state *s)
|
||||
{
|
||||
+ int rv;
|
||||
if(!s->out && !s->drop_output)
|
||||
{
|
||||
if(open_output_file(s, s->output_filename)!=0)
|
||||
@@ -240,7 +241,7 @@
|
||||
}
|
||||
|
||||
/* ogg_stream_init should only fail if stream_out is null */
|
||||
- int rv = ogg_stream_init(&s->stream_out, ++s->serial_out);
|
||||
+ rv = ogg_stream_init(&s->stream_out, ++s->serial_out);
|
||||
assert(rv == 0);
|
||||
|
||||
s->output_stream_open = 1;
|
||||
24
media-sound/vorbis-tools/vorbis-tools-1.4.0.bep
Normal file
24
media-sound/vorbis-tools/vorbis-tools-1.4.0.bep
Normal file
@@ -0,0 +1,24 @@
|
||||
DESCRIPTION="vorbis-tools - tools for using the Ogg Vorbis sound file format"
|
||||
HOMEPAGE="http://www.vorbis.com/"
|
||||
SRC_URI="http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz"
|
||||
CHECKSUM_MD5="567e0fb8d321b2cd7124f8208b8b90e6"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="libvorbis >= 1.3.1
|
||||
libflac
|
||||
libao >= 1.0.0
|
||||
speex"
|
||||
BUILD {
|
||||
cd vorbis-tools-1.4.0
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I m4
|
||||
automake
|
||||
autoconf
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd vorbis-tools-1.4.0
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user