From: Georgi Valkov Date: Wed, 28 Jan 2026 18:21:28 +0000 (+0200) Subject: libimobiledevice: fix dependency on libtatsu X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d5ec989a42fd4defd194bee416bb172ccaa66b4d;p=openwrt-packages.git 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 --- diff --git a/libs/libimobiledevice/Makefile b/libs/libimobiledevice/Makefile index 65454123c..6295e4677 100644 --- a/libs/libimobiledevice/Makefile +++ b/libs/libimobiledevice/Makefile @@ -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