mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libvorbis: added recipe for version 1.3.4
This commit is contained in:
86
media-libs/libvorbis/libvorbis-1.3.4.recipe
Normal file
86
media-libs/libvorbis/libvorbis-1.3.4.recipe
Normal file
@@ -0,0 +1,86 @@
|
||||
SUMMARY="Ogg Vorbis audio compression format library"
|
||||
DESCRIPTION="
|
||||
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, \
|
||||
general-purpose compressed audio format for mid to high quality (8kHz-48.0kHz, \
|
||||
16+ bit, polyphonic) audio and music at fixed and variable bitrates from 16 to \
|
||||
128 kbps/channel. This places Vorbis in the same competitive class as audio \
|
||||
representations such as MPEG-4 (AAC), and similar to, but higher performance \
|
||||
than MPEG-1/2 audio layer 3, MPEG-4 audio (TwinVQ), WMA and PAC.
|
||||
The bitstream format for Vorbis I was frozen Monday, May 8th 2000. All \
|
||||
bitstreams encoded since will remain compatible with all future releases of \
|
||||
Vorbis.
|
||||
"
|
||||
HOMEPAGE="http://www.xiph.org/vorbis/"
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="1994-2010 Xiph.Org Foundation"
|
||||
SRC_URI="http://downloads.xiph.org/releases/vorbis/libvorbis-$portVersion.tar.gz"
|
||||
CHECKSUM_SIZE="1632091"
|
||||
CHECKSUM_RMD160="3dd9530cff06bcb31adab220906f9c47644b0919"
|
||||
CHECKSUM_SHA512="5d380cdd2f36b1fe74d7ede0747d3176f951a23bf462a237f2910a2dd9af11a48dc88d8927d0d54831ee6e0c2f5dbbdd606bf3da54d61c26187c7e728decc660"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="libvorbis-1.3.4.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libvorbis$secondaryArchSuffix = $portVersion
|
||||
lib:libvorbis$secondaryArchSuffix = 0.4.7 compat >= 0
|
||||
lib:libvorbisenc$secondaryArchSuffix = 2.0.10 compat >= 2
|
||||
lib:libvorbisfile$secondaryArchSuffix = 3.3.6 compat >= 3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libogg$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libogg$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize -fci
|
||||
mkdir -p m4
|
||||
aclocal --install -I m4
|
||||
autoconf
|
||||
automake
|
||||
runConfigure ./configure \
|
||||
--docdir $developDocDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libvorbis libvorbisenc libvorbisfile
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$dataDir \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libvorbis${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libvorbis$secondaryArchSuffix = 0.4.7 compat >= 0
|
||||
devel:libvorbisenc$secondaryArchSuffix = 2.0.10 compat >= 2
|
||||
devel:libvorbisfile$secondaryArchSuffix = 3.3.6 compat >= 3
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libvorbis$secondaryArchSuffix == $portVersion
|
||||
"
|
||||
83
media-libs/libvorbis/patches/libvorbis-1.3.4.patchset
Normal file
83
media-libs/libvorbis/patches/libvorbis-1.3.4.patchset
Normal file
@@ -0,0 +1,83 @@
|
||||
From 70dcb91819b2acac447344c2ad6b0c5c89dfa630 Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Tue, 11 Jun 2013 17:54:49 +0200
|
||||
Subject: applying patch libvorbis-1.3.2.patch
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 98b78ac..4b881b6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -206,6 +206,10 @@ else
|
||||
DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
|
||||
CFLAGS="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
|
||||
PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
|
||||
+ *-*-haiku*)
|
||||
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
|
||||
+ CFLAGS="-O20 -Wall -D__NO_MATH_INLINES -fsigned-char"
|
||||
+ PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
|
||||
*)
|
||||
DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
|
||||
CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
|
||||
--
|
||||
1.7.5
|
||||
|
||||
|
||||
From ef7dac90d78c39bb3990d66ff932d50bc1ea98d3 Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Tue, 11 Jun 2013 18:06:31 +0200
|
||||
Subject: doc/*/Makefile.am: remove hard-coded docdir
|
||||
|
||||
|
||||
diff --git a/doc/Makefile.am b/doc/Makefile.am
|
||||
index 2870528..6d7851b 100644
|
||||
--- a/doc/Makefile.am
|
||||
+++ b/doc/Makefile.am
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
SUBDIRS = libvorbis vorbisfile vorbisenc
|
||||
|
||||
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
|
||||
-
|
||||
### all of the static docs, commited to SVN and included as is
|
||||
static_docs = \
|
||||
rfc5215.xml \
|
||||
diff --git a/doc/libvorbis/Makefile.am b/doc/libvorbis/Makefile.am
|
||||
index 0bcc135..aea57e9 100644
|
||||
--- a/doc/libvorbis/Makefile.am
|
||||
+++ b/doc/libvorbis/Makefile.am
|
||||
@@ -1,7 +1,5 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/libvorbis
|
||||
-
|
||||
doc_DATA = index.html reference.html style.css vorbis_comment.html\
|
||||
vorbis_info.html vorbis_analysis_blockout.html vorbis_analysis_buffer.html\
|
||||
vorbis_analysis_headerout.html vorbis_analysis_init.html \
|
||||
diff --git a/doc/vorbisenc/Makefile.am b/doc/vorbisenc/Makefile.am
|
||||
index bbab3c5..008586e 100644
|
||||
--- a/doc/vorbisenc/Makefile.am
|
||||
+++ b/doc/vorbisenc/Makefile.am
|
||||
@@ -1,7 +1,5 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisenc
|
||||
-
|
||||
doc_DATA = changes.html examples.html index.html ovectl_ratemanage2_arg.html \
|
||||
ovectl_ratemanage_arg.html overview.html reference.html style.css\
|
||||
vorbis_encode_ctl.html vorbis_encode_init.html vorbis_encode_setup_init.html \
|
||||
diff --git a/doc/vorbisfile/Makefile.am b/doc/vorbisfile/Makefile.am
|
||||
index fb27d44..faa6352 100644
|
||||
--- a/doc/vorbisfile/Makefile.am
|
||||
+++ b/doc/vorbisfile/Makefile.am
|
||||
@@ -1,7 +1,5 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisfile
|
||||
-
|
||||
doc_DATA = OggVorbis_File.html callbacks.html chaining_example_c.html\
|
||||
chainingexample.html crosslap.html datastructures.html decoding.html\
|
||||
example.html exampleindex.html fileinfo.html index.html\
|
||||
--
|
||||
1.7.5
|
||||
|
||||
Reference in New Issue
Block a user