mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
libmp4v2: enable x86_64
This commit is contained in:
@@ -5,22 +5,36 @@ A library that provides functions to read, create, and modify mp4 files.
|
||||
HOMEPAGE="https://code.google.com/p/mp4v2/"
|
||||
LICENSE="MPL v1.1"
|
||||
COPYRIGHT="Kona Blend, Copyright (C) 2008."
|
||||
SRC_URI="https://mp4v2.googlecode.com/files/mp4v2-2.0.0.tar.bz2"
|
||||
SRC_URI="https://mp4v2.googlecode.com/files/mp4v2-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="0319b9a60b667cf10ee0ec7505eb7bdc0a2e21ca7a93db96ec5bd758e3428338"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PATCHES="libmp4v2-${portVersion}.patch"
|
||||
PATCHES="libmp4v2-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libmp4v2${secondaryArchSuffix} = $portVersion
|
||||
lib:libmp4v2
|
||||
cmd:dvdcss_config
|
||||
libmp4v2$secondaryArchSuffix = $portVersion compat >= 2
|
||||
lib:libmp4v2$secondaryArchSuffix = 2.0.0 compat >= 2
|
||||
cmd:mp4art$secondaryArchSuffix
|
||||
cmd:mp4chaps$secondaryArchSuffix
|
||||
cmd:mp4extract$secondaryArchSuffix
|
||||
cmd:mp4file$secondaryArchSuffix
|
||||
cmd:mp4info$secondaryArchSuffix
|
||||
cmd:mp4subtitle$secondaryArchSuffix
|
||||
cmd:mp4tags$secondaryArchSuffix
|
||||
cmd:mp4track$secondaryArchSuffix
|
||||
cmd:mp4trackdump$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libstdc++$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -28,24 +42,21 @@ BUILD_REQUIRES="
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
cmd:ld${secondaryArchSuffix}
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:libtoolize
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
"
|
||||
|
||||
SOURCE_DIR="mp4v2-${portVersion}"
|
||||
SOURCE_DIR="mp4v2-$portVersion"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
@@ -63,9 +74,9 @@ INSTALL()
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libmp4v2${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libmp4v2${secondaryArchSuffix} = $portVersion
|
||||
libmp4v2${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
||||
devel:libmp4v2$secondaryArchSuffix = 2.0.0 compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libmp4v2${secondaryArchSuffix} == $portVersion base
|
||||
libmp4v2$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user