mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
telegram-desktop: fix armv[56]* builds
This commit is contained in:
parent
f21f3510b6
commit
8b620f583f
2 changed files with 7 additions and 1 deletions
|
@ -19,6 +19,7 @@ option(BUILD_TESTS "Build all available test suites" OFF)
|
||||||
option(ENABLE_CRASH_REPORTS "Enable crash reports" ON)
|
option(ENABLE_CRASH_REPORTS "Enable crash reports" ON)
|
||||||
option(ENABLE_GTK_INTEGRATION "Enable GTK integration" ON)
|
option(ENABLE_GTK_INTEGRATION "Enable GTK integration" ON)
|
||||||
option(ENABLE_64BIT "Enable 64bit build" OFF)
|
option(ENABLE_64BIT "Enable 64bit build" OFF)
|
||||||
|
option(USE_LIBATOMIC "Link Statically against libatomic.a" OFF)
|
||||||
|
|
||||||
find_package(LibLZMA REQUIRED)
|
find_package(LibLZMA REQUIRED)
|
||||||
find_package(OpenAL REQUIRED)
|
find_package(OpenAL REQUIRED)
|
||||||
|
@ -169,6 +170,10 @@ else()
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(USE_LIBATOMIC)
|
||||||
|
list(APPEND TELEGRAM_LINK_LIBRARIES libatomic.a)
|
||||||
|
endif(USE_LIBATOMIC)
|
||||||
|
|
||||||
if(ENABLE_GTK_INTEGRATION)
|
if(ENABLE_GTK_INTEGRATION)
|
||||||
pkg_check_modules(APPINDICATOR REQUIRED appindicator3-0.1)
|
pkg_check_modules(APPINDICATOR REQUIRED appindicator3-0.1)
|
||||||
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
|
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
|
||||||
|
|
|
@ -43,7 +43,8 @@ case $XBPS_TARGET_MACHINE in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv[67]l*) makedepends+=" libatomic-devel" LDFLAGS+=" -latomic" ;;
|
armv[56]l*|mips*) makedepends+=" libatomic-devel"
|
||||||
|
configure_args+=" -DUSE_LIBATOMIC=ON" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
|
|
Loading…
Add table
Reference in a new issue