From d5ec989a42fd4defd194bee416bb172ccaa66b4d Mon Sep 17 00:00:00 2001 From: Georgi Valkov Date: Wed, 28 Jan 2026 20:21:28 +0200 Subject: [PATCH] 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 --- libs/libimobiledevice/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/libimobiledevice/Makefile b/libs/libimobiledevice/Makefile index 65454123c3..6295e4677d 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 -- 2.30.2