1################################################################################ 2# 3# libtorrent-rasterbar 4# 5################################################################################ 6 7LIBTORRENT_RASTERBAR_VERSION = 1.2.12 8LIBTORRENT_RASTERBAR_SITE = \ 9 https://github.com/arvidn/libtorrent/releases/download/v$(LIBTORRENT_RASTERBAR_VERSION) 10LIBTORRENT_RASTERBAR_LICENSE = BSD-3-Clause 11LIBTORRENT_RASTERBAR_LICENSE_FILES = COPYING 12LIBTORRENT_RASTERBAR_CPE_ID_VENDOR = libtorrent 13LIBTORRENT_RASTERBAR_CPE_ID_PRODUCT = libtorrent 14LIBTORRENT_RASTERBAR_DEPENDENCIES = host-pkgconf boost openssl 15LIBTORRENT_RASTERBAR_INSTALL_STAGING = YES 16LIBTORRENT_RASTERBAR_CONF_OPTS = \ 17 --with-boost-libdir=$(STAGING_DIR)/usr/lib \ 18 --disable-invariant-checks 19LIBTORRENT_RASTERBAR_CXXFLAGS = $(TARGET_CXXFLAGS) -std=c++11 20 21# Internal error, aborting at dwarf2cfi.c:2802 in connect_traces 22# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58864 23ifeq ($(BR2_m68k_cf),y) 24LIBTORRENT_RASTERBAR_CXXFLAGS += -fno-defer-pop 25endif 26 27ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) 28LIBTORRENT_RASTERBAR_CXXFLAGS += -O0 29endif 30 31LIBTORRENT_RASTERBAR_CONF_OPTS += CXXFLAGS="$(LIBTORRENT_RASTERBAR_CXXFLAGS)" 32 33ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y) 34LIBTORRENT_RASTERBAR_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) 35LIBTORRENT_RASTERBAR_CONF_OPTS += --with-libiconv 36else 37LIBTORRENT_RASTERBAR_CONF_OPTS += --without-libiconv 38endif 39 40$(eval $(autotools-package)) 41