libtatsu is a dependency only for libimobiledevice-utils
the library itself does not use it during build, and is a
core component for iPhone tethering, while the utils are optional
move the dependency to the utils, to reduce the build size:
libtatsu depends on libcurl, which is compiled with a TLS library,
so users of prebuilt packages are forced to install both
OpenSSL and mbed TLS. This patch removes the unnecessary dependency.
Fixes: https://github.com/openwrt/packages/issues/28427
Signed-off-by: Georgi Valkov <redacted>
include $(TOPDIR)/rules.mk
PKG_NAME:=libimobiledevice
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/libimobiledevice/libimobiledevice.git
$(call Package/libimobiledevice/Default)
SECTION:=libs
CATEGORY:=Libraries
- DEPENDS:=+libplist +libimobiledevice-glue +libtatsu +libusbmuxd +libopenssl
+ DEPENDS:=+libplist +libimobiledevice-glue +libusbmuxd +libopenssl
LICENSE:=LGPL-2.1-or-later
LICENSE_FILES:=COPYING.LESSER
endef
$(call Package/libimobiledevice/Default)
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=+libimobiledevice
+ DEPENDS:=+libimobiledevice +libtatsu
LICENSE:=GPL-2.0-or-later
ICENSE_FILES:=COPYING
endef