schroedinger, disable static library (#8452)

This commit is contained in:
Schrijvers Luc
2023-04-19 15:13:08 +02:00
committed by GitHub
parent 1a6f76891e
commit 69ac3b9a8a

View File

@@ -15,7 +15,7 @@ plugins."
HOMEPAGE="http://www.diracvideo.org"
COPYRIGHT="2006 BBC and Fluendo"
LICENSE="MIT"
REVISION="6"
REVISION="7"
SOURCE_URI="https://launchpad.net/schroedinger/trunk/$portVersion/+download/schroedinger-$portVersion.tar.gz"
CHECKSUM_SHA256="1e572a0735b92aca5746c4528f9bebd35aa0ccf8619b22fa2756137a8cc9f912"
PATCHES="schroedinger-$portVersion.patchset"
@@ -23,9 +23,12 @@ PATCHES="schroedinger-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
libVersion="0.11.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
schroedinger$secondaryArchSuffix = $portVersion compat >= 1.0
lib:libschroedinger_1.0$secondaryArchSuffix = 0.11.0 compat >= 0
lib:libschroedinger_1.0$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -34,7 +37,7 @@ REQUIRES="
PROVIDES_devel="
schroedinger${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
devel:libschroedinger_1.0$secondaryArchSuffix = 0.11.0 compat >= 0
devel:libschroedinger_1.0$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
schroedinger$secondaryArchSuffix == $portVersion base
@@ -50,6 +53,7 @@ BUILD_PREREQUIRES="
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:gtkdocize
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
@@ -59,7 +63,7 @@ BUILD_PREREQUIRES="
BUILD()
{
autoreconf -f -i -I m4
runConfigure ./configure
runConfigure ./configure --disable-static
make $jobArgs
}
@@ -67,12 +71,17 @@ INSTALL()
{
make install
# remove libtool file
rm -f $libDir/libschroedinger-1.0.la
mv $includeDir/schroedinger-1.0/schroedinger $includeDir/schroedinger
rm -rf $includeDir/schroedinger-1.0
prepareInstalledDevelLibs libschroedinger-1.0
prepareInstalledDevelLib libschroedinger-1.0
fixPkgconfig
# devel package
packageEntries devel \
$developDir
$developDir \
$dataDir
}