libspice-server: Link against compiler-rt builtins

This commit is contained in:
Tee KOBAYASHI 2022-03-23 08:23:28 +09:00 committed by xtkoba
parent e0d2cc67c5
commit 5e4874f449

View File

@ -3,15 +3,20 @@ TERMUX_PKG_DESCRIPTION="Implements the server side of the SPICE protocol"
TERMUX_PKG_LICENSE="LGPL-2.1" TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.15.0 TERMUX_PKG_VERSION=0.15.0
TERMUX_PKG_REVISION=4 TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://www.spice-space.org/download/releases/spice-server/spice-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SRCURL=https://www.spice-space.org/download/releases/spice-server/spice-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=b320cf8f4bd2852750acb703c15b72856027e5a8554f8217dfbb3cc09deba0f5 TERMUX_PKG_SHA256=b320cf8f4bd2852750acb703c15b72856027e5a8554f8217dfbb3cc09deba0f5
TERMUX_PKG_DEPENDS="glib, libjpeg-turbo, gstreamer, gst-plugins-base, libsasl, libspice-protocol, liborc, openssl, libopus, libpixman, liblz4, zlib, libiconv" TERMUX_PKG_DEPENDS="glib, gst-plugins-base, gstreamer, libc++, libiconv, libjpeg-turbo, liblz4, libopus, liborc, libpixman, libsasl, libspice-protocol, openssl, zlib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-manual=no --enable-manual=no
--disable-tests --disable-tests
" "
termux_step_pre_configure() {
LDFLAGS+=" $($CC -print-libgcc-file-name)"
}
termux_step_post_make_install() { termux_step_post_make_install() {
ln -sf libspice-server.so "${TERMUX_PREFIX}"/lib/libspice-server.so.1 ln -sf libspice-server.so "${TERMUX_PREFIX}"/lib/libspice-server.so.1
} }