uci: update to Git HEAD (2025-01-20)

047b2efc1348 CMakeLists.txt: bump minimum cmake version
16ff0badbde7 CMakeLists: add support for including ABIVERSION in the library version number

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit e046f8c318)
This commit is contained in:
Felix Fietkau 2025-01-20 22:16:37 +01:00
parent 3f4c175851
commit f9df8a90c8

View File

@ -13,9 +13,10 @@ PKG_RELEASE:=1
PKG_SOURCE_URL=$(PROJECT_GIT)/project/uci.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2025-01-17
PKG_SOURCE_VERSION:=fb3c2343b17b759b175f11aec5b3fbb1cf48bbc3
PKG_MIRROR_HASH:=c9302f4a1cb400134cb9fc0622fb6a04bbe8c55bcc83ec454caadb1e62f3257e
PKG_SOURCE_DATE:=2025-01-20
PKG_SOURCE_VERSION:=16ff0badbde7e17ec3bd1f827ffe45922956cf86
PKG_MIRROR_HASH:=e91ee4a2c0baaafe1d8ccd5321de70a8412a50323b0b27bbc7ad145e77018a22
PKG_ABI_VERSION:=20250120
PKG_LICENSE:=LGPL-2.1
PKG_LICENSE_FILES:=
@ -33,7 +34,7 @@ define Package/libuci
CATEGORY:=Libraries
TITLE:=C library for the Unified Configuration Interface (UCI)
DEPENDS:=+libubox
ABI_VERSION:=20250117
ABI_VERSION:=$(PKG_ABI_VERSION)
endef
define Package/uci
@ -55,11 +56,12 @@ TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib
CMAKE_OPTIONS += \
-DLUAPATH=/usr/lib/lua \
-DABIVERSION=$(PKG_ABI_VERSION) \
$(if $(DEBUG),-DUCI_DEBUG=ON)
define Package/libuci/install
$(INSTALL_DIR) $(1)/lib
$(CP) $(PKG_BUILD_DIR)/libuci.so* $(1)/lib/
$(CP) $(PKG_BUILD_DIR)/libuci.so.* $(1)/lib/
endef
define Package/libuci-lua/install