Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haikuports/haikuports
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 666dc853f4cd
Choose a base ref
...
head repository: haikuports/haikuports
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0b37494731b7
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 18, 2021

  1. Copy the full SHA
    0b37494 View commit details
Showing with 14 additions and 5 deletions.
  1. +14 −5 media-libs/faad2/faad2-2.10.0.recipe
19 changes: 14 additions & 5 deletions media-libs/faad2/faad2-2.10.0.recipe
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ library (libfaad) that may be used by other programs."
HOMEPAGE="https://www.audiocoding.com/"
COPYRIGHT="2003-2005 M. Bakker, Nero AG."
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/knik0/faad2/archive/${portVersion//./_}.tar.gz"
CHECKSUM_SHA256="0c6d9636c96f95c7d736f097d418829ced8ec6dbd899cc6cc82b728480a84bfb"
SOURCE_DIR="faad2-${portVersion//./_}"
@@ -16,20 +16,23 @@ PATCHES="faad2-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"

libVersion="2.0.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"

PROVIDES="
faad2$secondaryArchSuffix = $portVersion compat >= 2
cmd:faad$secondaryArchSuffix = $portVersion
lib:libfaad$secondaryArchSuffix = 2.0.0 compat >= 2
lib:libfaad_drm$secondaryArchSuffix = 2.0.0 compat >= 2
lib:libfaad$secondaryArchSuffix = $libVersionCompat
lib:libfaad_drm$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku${secondaryArchSuffix}
"

PROVIDES_devel="
faad2${secondaryArchSuffix}_devel = $portVersion compat >= 2
devel:libfaad$secondaryArchSuffix = 2.0.0 compat >= 2
devel:libfaad_drm$secondaryArchSuffix = 2.0.0 compat >= 2
devel:libfaad$secondaryArchSuffix = $libVersionCompat
devel:libfaad_drm$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
faad2$secondaryArchSuffix == $portVersion base
@@ -48,6 +51,10 @@ BUILD_PREREQUIRES="
cmd:make
"

defineDebugInfoPackage faad2$secondaryArchSuffix \
$libDir/libfaad.so.$libVersion \
$libDir/libfaad_drm.so.$libVersion

BUILD()
{
autoreconf -fi
@@ -63,6 +70,8 @@ INSTALL()

prepareInstalledDevelLibs libfaad libfaad_drm

fixPkgconfig

# devel package
packageEntries devel \
$developDir