libimobiledevice: fix dependency on libtatsu
authorGeorgi Valkov <redacted>
Wed, 28 Jan 2026 18:21:28 +0000 (20:21 +0200)
committerRobert Marko <redacted>
Thu, 29 Jan 2026 10:31:13 +0000 (11:31 +0100)
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>
libs/libimobiledevice/Makefile

index 65454123c3b5b46a3ef9dcf4832a4ae58658d8f5..6295e4677d4ae34d1b488d257067a1a3ceb4014f 100644 (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
git clone https://git.99rst.org/PROJECT