libdca, disable static library, remove broken link libdts.a (#9584)

This commit is contained in:
Schrijvers Luc
2023-10-06 08:35:33 +00:00
committed by GitHub
parent 0707a0645f
commit 89b893375b

View File

@@ -7,7 +7,7 @@ COPYRIGHT="2004 Gildas Bazin
2000-2003 Michel Lespinasse
1999-2000 Aaron Holtzman"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.videolan.org/pub/videolan/libdca/$portVersion/libdca-$portVersion.tar.bz2"
CHECKSUM_SHA256="3a0b13815f582c661d2388ffcabc2f1ea82f471783c400f765f2ec6c81065f6a"
@@ -33,7 +33,6 @@ REQUIRES="
PROVIDES_devel="
libdca_devel = $portVersion
devel:libdca$secondaryArchSuffix
devel:libdts$secondaryArchSuffix
"
REQUIRES_devel="
libdca$secondaryArchSuffix == $portVersion base
@@ -53,7 +52,7 @@ BUILD_PREREQUIRES="
BUILD()
{
./bootstrap
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}
@@ -61,13 +60,13 @@ INSTALL()
{
make install
rm -f $libDir/libdca.a $libDir/libdca.la
rm -f $libDir/libdts.a $libDir/libdca.la
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $binDir $documentationDir
fi
prepareInstalledDevelLibs libdca libdts
prepareInstalledDevelLibs libdca
fixPkgconfig
packageEntries devel $developDir