telegram-desktop: add missing libatomic on armv[67]l.

[ci skip]
This commit is contained in:
maxice8 2018-07-12 04:07:24 -03:00
parent 4872d10b5e
commit 272f040738

View file

@ -10,7 +10,7 @@ _Catch_commit=5ca44b68721833ae3731802ed99af67c6f38a53a
build_style=cmake build_style=cmake
create_wrksrc=yes create_wrksrc=yes
build_wrksrc="tdesktop-${version}/Telegram" build_wrksrc="tdesktop-${version}/Telegram"
cmake_builddir="build-telegram" cmake_builddir=build-telegram
configure_args="-DENABLE_CRASH_REPORTS=OFF -DENABLE_GTK_INTEGRATION=ON configure_args="-DENABLE_CRASH_REPORTS=OFF -DENABLE_GTK_INTEGRATION=ON
-DENABLE_PULSEAUDIO=ON" -DENABLE_PULSEAUDIO=ON"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools python" hostmakedepends="pkg-config qt5-qmake qt5-host-tools python"
@ -38,6 +38,7 @@ checksum="fd52433dac14a6643114e8f5ff9d38c709141bfca8461cce47fa93e9ef8b45b2
case $XBPS_TARGET_MACHINE in case $XBPS_TARGET_MACHINE in
i686*) nodebug=yes;; # ENOMEM i686*) nodebug=yes;; # ENOMEM
armv[67]l) makedepends+=" libatomic-devel" LDFLAGS+=" -latomic" ;;
*-musl) makedepends+=" libexecinfo-devel";; *-musl) makedepends+=" libexecinfo-devel";;
mips*) broken="unsupported";; mips*) broken="unsupported";;
esac esac