mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libavif1.0, bump version, fix hardcoded *include* path (#10163)
This commit is contained in:
@@ -10,15 +10,15 @@ bugfixes and features are added."
|
||||
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
||||
COPYRIGHT="2019 Joe Drago"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/AOMediaCodec/libavif/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="35e3cb3cd7158209dcc31d3bf222036de5b9597e368a90e18449ecc89bb86a19"
|
||||
CHECKSUM_SHA256="dc56708c83a4b934a8af2b78f67f866ba2fb568605c7cf94312acf51ee57d146"
|
||||
SOURCE_DIR="libavif-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="16.0.3"
|
||||
libVersion="16.0.4"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
@@ -78,12 +78,11 @@ defineDebugInfoPackage libavif1.0$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
$cmakeDirArgs \
|
||||
-DAVIF_BUILD_APPS=ON \
|
||||
-DAVIF_CODEC_DAV1D=ON \
|
||||
-DAVIF_CODEC_RAV1E=ON \
|
||||
$cmakeDirArgs
|
||||
-DAVIF_CODEC_RAV1E=ON
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
@@ -91,7 +90,11 @@ INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib libavif
|
||||
sed -e "s|\(\${_IMPORT_PREFIX}\)/include|\1/$relativeIncludeDir|" -i \
|
||||
"$libDir"/cmake/libavif/libavif-config.cmake
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
libavif
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
Reference in New Issue
Block a user