[openwrt/openwrt] adb: fix version for APK
LEDE Commits
lede-commits at lists.infradead.org
Mon Oct 28 16:08:36 PDT 2024
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/cd2e5fbefc2548bb9b59275abd2d9db54f38f50b
commit cd2e5fbefc2548bb9b59275abd2d9db54f38f50b
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sat Oct 26 11:50:21 2024 +0200
adb: fix version for APK
Refactor version of adb for APK.
Use HASH instead of rc tag.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
package/utils/adb/Makefile | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/package/utils/adb/Makefile b/package/utils/adb/Makefile
index c207c333b2..f0f137c781 100644
--- a/package/utils/adb/Makefile
+++ b/package/utils/adb/Makefile
@@ -2,16 +2,14 @@ include $(TOPDIR)/rules.mk
#Based on adb package from AUR https://aur.archlinux.org/packages/adb/ , reused Makefile
PKG_NAME:=adb
-PKG_VERSION:=android.5.0.2_r1
+PKG_SOURCE_VERSION:=6fe92d1a3fb17545d82d020a3c995f32e6b71f9d
+PKG_VERSION:=5.0.2~$(call version_abbrev,$(PKG_SOURCE_VERSION))
PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://android.googlesource.com/platform/system/core
-PKG_SOURCE_VERSION:=6fe92d1a3fb17545d82d020a3c995f32e6b71f9d
-PKG_MIRROR_HASH:=a9b4b86602dfc0d4fc9e1d0f78dc83e648a931fb04f5a4be9b1f0054a8cebf7e
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
-PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.xz
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
+PKG_MIRROR_HASH:=2ff96b4342cd05f475083207a4927635548c6693771c12a24cfa99f175fdb10a
+
PKG_MAINTAINER:=Henryk Heisig <hyniu at o2.pl>
PKG_CPE_ID:=cpe:/a:google:android_debug_bridge
More information about the lede-commits
mailing list