mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
fluidlite, re-enable and rename static library used by Haiku builds (#7699)
This commit is contained in:
@@ -37,6 +37,7 @@ REQUIRES="
|
||||
PROVIDES_devel="
|
||||
fluidlite${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libfluidlite$secondaryArchSuffix = $portVersion compat >= 1
|
||||
devel:libfluidlite_static$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_devel="
|
||||
fluidlite$secondaryArchSuffix == $portVersion base
|
||||
@@ -64,7 +65,6 @@ BUILD()
|
||||
cmake -Bbuild -S. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DFLUIDLITE_BUILD_STATIC:BOOL=OFF \
|
||||
-DENABLE_SF3=YES \
|
||||
-DSTB_VORBIS=NO
|
||||
make -C build $jobArgs
|
||||
@@ -74,7 +74,11 @@ INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib libfluidlite
|
||||
# fluidlite static library is used by the Haiku build
|
||||
# rename so it doesn't produce an error for the same static/shared library
|
||||
mv $libDir/libfluidlite.a $libDir/libfluidlite-static.a
|
||||
|
||||
prepareInstalledDevelLibs libfluidlite libfluidlite-static
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
|
||||
Reference in New Issue
Block a user