Don't bother to build jbigi for this package anymore.

This commit is contained in:
eyedeekay
2024-01-10 12:31:04 -05:00
parent 5c0e9ebbad
commit 767ff8e031

View File

@ -115,26 +115,6 @@ cd build
jar -cf launcher.jar net mac-update.sh
cd ..
echo "compiling native lib"
cc -v -Wl,-lobjc -mmacosx-version-min=10.9 -I"$JAVA_HOME/include" -I"$JAVA_HOME/include/darwin" -Ic -o build/libMacLauncher.jnilib -shared c/net_i2p_router_MacLauncher.c
if [ -z "$I2P_SIGNER" ]; then
echo "I2P_SIGNER is unset, not proceeding to sign jbigi libs"
cp "$I2P_JARS"/jbigi.jar build
else
echo "signing jbigi libs"
mkdir jbigi
cp "$I2P_JARS"/jbigi.jar jbigi
cd jbigi
unzip jbigi.jar
for lib in *.jnilib; do
codesign --force -s "$I2P_SIGNER" -v "$lib"
jar uf jbigi.jar "$lib"
done
cp jbigi.jar ../build
cd ..
fi
echo "preparing to invoke jpackage for I2P version $I2P_RELEASE_VERSION build $I2P_BUILD_NUMBER"
cp "$I2P_PKG/Start I2P Router.app/Contents/Resources/i2p.icns" build/I2P.icns