Disable Neon on arm

This commit is contained in:
kn 2022-03-18 19:59:16 +00:00
parent 618616a414
commit 19f172459d
2 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,7 @@ NOT_FOR_ARCHS = ${BE_ARCHS} i386
COMMENT = Telegram Desktop messenger
PORTROACH = limit:-full$$
V = 3.6.1
REVISION = 0
DISTNAME = tdesktop-${V}-full
PKGNAME = ${DISTNAME:-full=}
CATEGORIES = net
@ -53,7 +54,7 @@ LIB_DEPENDS = archivers/lz4 \
devel/libsigc++-2 \
graphics/ffmpeg \
graphics/qr-code-generator>=1.7.0p1 \
net/tg_owt>=0.0.0.20220216p0 \
net/tg_owt>=0.0.0.20220316p0 \
sysutils/xxhash \
textproc/hunspell \
x11/qt5/qtsvg

View File

@ -17,7 +17,7 @@ CATEGORIES = net
DEBUG_PACKAGES = ${BUILD_PACKAGES}
SHARED_LIBS = tg_owt 1.1 # 0.0.0
SHARED_LIBS = tg_owt 2.0 # 0.0.0
# Fetch bundles/submodules missing from the tarball, see ${WRKSRC}/.gitmodules
#
@ -104,6 +104,10 @@ CONFIGURE_ARGS += -DTG_OWT_USE_PIPEWIRE=OFF
# match standard version with abseil
CONFIGURE_ARGS += -DCMAKE_CXX_STANDARD=17
.if ${MACHINE_ARCH} == arm
CONFIGURE_ARGS += -DTG_OWT_ARCH_ARMV7_USE_NEON=OFF
.endif
NO_TEST = Yes
# audio/rnnoise but tg_owt ships Google's C++ rewrite (part of libwebrtc)