aboutsummaryrefslogtreecommitdiff
path: root/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk
blob: 20fbc102c6cd4f5df5f1ffa0cb076121f6afebd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# kf5-modemmanager-qt
#
################################################################################

KF5_MODEMMANAGER_QT_VERSION = $(KF5_VERSION)
KF5_MODEMMANAGER_QT_SITE = $(KF5_SITE)
KF5_MODEMMANAGER_QT_SOURCE = modemmanager-qt-$(KF5_MODEMMANAGER_QT_VERSION).tar.xz
KF5_MODEMMANAGER_QT_LICENSE = LGPL-2.1+
KF5_MODEMMANAGER_QT_LICENSE_FILE = COPYING.LIB

KF5_MODEMMANAGER_QT_DEPENDENCIES = kf5-extra-cmake-modules modem-manager qt5base
KF5_MODEMMANAGER_QT_INSTALL_STAGING = YES

# Uses __atomic_fetch_add_4
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
KF5_MODEMMANAGER_QT_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic"
endif

$(eval $(cmake-package))