libimobiledevice: fix dependency on libtatsu

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 <gvalkov@gmail.com>
This commit is contained in:
Georgi Valkov
2026-01-28 20:21:28 +02:00
committed by Robert Marko
parent 1199a40351
commit d5ec989a42

View File

@@ -8,7 +8,7 @@
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
@@ -41,7 +41,7 @@ define Package/libimobiledevice
$(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
@@ -54,7 +54,7 @@ define Package/libimobiledevice-utils
$(call Package/libimobiledevice/Default)
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libimobiledevice
DEPENDS:=+libimobiledevice +libtatsu
LICENSE:=GPL-2.0-or-later
ICENSE_FILES:=COPYING
endef