mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
libtheora: support building for secondary architecture
This commit is contained in:
@@ -9,39 +9,38 @@ LICENSE="BSD (3-clause)"
|
|||||||
COPYRIGHT="2002-2009 Xiph.Org Foundation"
|
COPYRIGHT="2002-2009 Xiph.Org Foundation"
|
||||||
SRC_URI="http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2"
|
SRC_URI="http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2"
|
||||||
CHECKSUM_MD5="292ab65cedd5021d6b7ddd117e07cd8e"
|
CHECKSUM_MD5="292ab65cedd5021d6b7ddd117e07cd8e"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
ARCHITECTURES="x86_gcc2 ?x86"
|
ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
|
||||||
PATCHES="libtheora-1.1.1.patchset"
|
PATCHES="libtheora-1.1.1.patchset"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
libtheora = $portVersion
|
libtheora$secondaryArchSuffix = $portVersion
|
||||||
lib:libtheora = 0.3.10 compat >= 0
|
lib:libtheora$secondaryArchSuffix = 0.3.10 compat >= 0
|
||||||
lib:libtheoradec = 1.1.4 compat >= 1
|
lib:libtheoradec$secondaryArchSuffix = 1.1.4 compat >= 1
|
||||||
lib:libtheoraenc = 1.1.2 compat >= 1
|
lib:libtheoraenc$secondaryArchSuffix = 1.1.2 compat >= 1
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku >= $haikuVersion
|
haiku$secondaryArchSuffix >= $haikuVersion
|
||||||
lib:libogg
|
lib:libogg$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
devel:libogg
|
devel:libogg$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
# Note: The build system also looks for libvorbis and SDL, but that seems
|
# Note: The build system also looks for libvorbis and SDL, but that seems
|
||||||
# to be needed only for building the sample player, which we don't need.
|
# to be needed only for building the sample player, which we don't need.
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
haiku_devel >= $haikuVersion
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||||
cmd:aclocal
|
cmd:aclocal
|
||||||
cmd:autoconf
|
cmd:autoconf
|
||||||
cmd:gcc
|
cmd:gcc$secondaryArchSuffix
|
||||||
cmd:ld
|
cmd:ld$secondaryArchSuffix
|
||||||
cmd:libtoolize
|
cmd:libtoolize
|
||||||
cmd:make
|
cmd:make
|
||||||
cmd:pkg_config
|
cmd:pkg_config
|
||||||
"
|
"
|
||||||
|
|
||||||
SOURCE_DIR="$portVersionedName"
|
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
libtoolize --force --copy --install
|
libtoolize --force --copy --install
|
||||||
@@ -68,13 +67,12 @@ INSTALL()
|
|||||||
|
|
||||||
# ----- devel package -------------------------------------------------------
|
# ----- devel package -------------------------------------------------------
|
||||||
|
|
||||||
SUMMARY_devel="The libtheora development files"
|
|
||||||
PROVIDES_devel="
|
PROVIDES_devel="
|
||||||
libtheora_devel = $portVersion
|
libtheora${secondaryArchSuffix}_devel = $portVersion
|
||||||
devel:libtheora = 0.3.10 compat >= 0
|
devel:libtheora$secondaryArchSuffix = 0.3.10 compat >= 0
|
||||||
devel:libtheoradec = 1.1.4 compat >= 1
|
devel:libtheoradec$secondaryArchSuffix = 1.1.4 compat >= 1
|
||||||
devel:libtheoraenc = 1.1.2 compat >= 1
|
devel:libtheoraenc$secondaryArchSuffix = 1.1.2 compat >= 1
|
||||||
"
|
"
|
||||||
REQUIRES_devel="
|
REQUIRES_devel="
|
||||||
libtheora == $portVersion
|
libtheora$secondaryArchSuffix == $portVersion
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user