Browse Source

libs: add xz-embedded lzma decoding library

Using a mirror, because CI had problems cloning from the
original source:
gnutls_handshake() failed: Handshake failed
QGC4.4
Beat Küng 4 years ago committed by Lorenz Meier
parent
commit
050961bf43
  1. 3
      .gitmodules
  2. 18
      QGCExternalLibs.pri
  3. 1
      libs/xz-embedded

3
.gitmodules vendored

@ -10,3 +10,6 @@
[submodule "libs/qmlglsink/gst-plugins-good"] [submodule "libs/qmlglsink/gst-plugins-good"]
path = libs/qmlglsink/gst-plugins-good path = libs/qmlglsink/gst-plugins-good
url = https://github.com/mavlink/gst-plugins-good.git url = https://github.com/mavlink/gst-plugins-good.git
[submodule "libs/xz-embedded"]
path = libs/xz-embedded
url = https://github.com/Auterion/xz-embedded.git

18
QGCExternalLibs.pri

@ -119,6 +119,24 @@ WindowsBuild {
} }
# #
# [REQUIRED] LZMA decompression library
HEADERS+= \
libs/xz-embedded/linux/include/linux/xz.h \
libs/xz-embedded/linux/lib/xz/xz_lzma2.h \
libs/xz-embedded/linux/lib/xz/xz_private.h \
libs/xz-embedded/linux/lib/xz/xz_stream.h \
libs/xz-embedded/userspace/xz_config.h
SOURCES += \
libs/xz-embedded/linux/lib/xz/xz_crc32.c \
libs/xz-embedded/linux/lib/xz/xz_crc64.c \
libs/xz-embedded/linux/lib/xz/xz_dec_lzma2.c \
libs/xz-embedded/linux/lib/xz/xz_dec_stream.c
INCLUDEPATH += \
libs/xz-embedded/userspace \
libs/xz-embedded/linux/include/linux
DEFINES += XZ_DEC_ANY_CHECK XZ_USE_CRC64
#
# [REQUIRED] SDL dependency. Provides joystick/gamepad support. # [REQUIRED] SDL dependency. Provides joystick/gamepad support.
# The SDL is packaged with QGC for the Mac and Windows. Linux support requires installing the SDL # The SDL is packaged with QGC for the Mac and Windows. Linux support requires installing the SDL
# library (development libraries and static binaries). # library (development libraries and static binaries).

1
libs/xz-embedded

@ -0,0 +1 @@
Subproject commit 090e6a054d6283b144d20f5783852b95eade90ee
Loading…
Cancel
Save