]> git.99rst.org Git - openwrt-packages.git/commitdiff
libjcat: remove package
authorLukas Voegl <redacted>
Mon, 6 Jul 2026 15:20:38 +0000 (17:20 +0200)
committerFlorian Eckert <redacted>
Mon, 13 Jul 2026 06:40:23 +0000 (08:40 +0200)
libjcat is now part of fwupd.
https://github.com/fwupd/fwupd/commit/ce55a6b616b7af8937cd97faa84752eb33e26203

Signed-off-by: Lukas Voegl <redacted>
libs/libjcat/Config.in [deleted file]
libs/libjcat/Makefile [deleted file]

diff --git a/libs/libjcat/Config.in b/libs/libjcat/Config.in
deleted file mode 100644 (file)
index fe7bc1c..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-menu "Select libjcat options"
-       depends on PACKAGE_libjcat
-
-config LIBJCAT_CLI
-       bool "Command-line tool"
-       default n
-       help
-         Compile and install the libjcat cli tool
-
-config LIBJCAT_GPG
-       bool "GPG"
-       default y
-       help
-         Compile libjcat with GPG support
-
-config LIBJCAT_PKCS7
-       bool "PKCS #7"
-       default y
-       help
-         Compile libjcat with PKCS #7 support
-
-config LIBJCAT_ED25519
-       bool "ed25519"
-       default y
-       help
-         Compile libjcat with ed25519 support
-
-endmenu
diff --git a/libs/libjcat/Makefile b/libs/libjcat/Makefile
deleted file mode 100644 (file)
index 4103450..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# Copyright (C) 2024 TDT AG <development@tdt.de>
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See https://www.gnu.org/licenses/gpl-2.0.txt for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=libjcat
-PKG_VERSION:=0.2.3
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=https://github.com/hughsie/libjcat/releases/download/$(PKG_VERSION)
-PKG_HASH:=f2f115aad8a8f16b8dde1ed55de7abacb91d0878539aa29b2b60854b499db639
-
-PKG_MAINTAINER:=Lukas Voegl <lvoegl@tdt.de>
-PKG_LICENSE:=LGPL-2.1-or-later
-PKG_LICENSE_FILES:=LICENSE
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/nls.mk
-include $(INCLUDE_DIR)/meson.mk
-
-define Package/libjcat
-  SECTION:=libs
-  CATEGORY:=Libraries
-  TITLE:=libjcat
-  URL:=https://github.com/hughsie/libjcat
-  DEPENDS:= \
-       +glib2 \
-       +json-glib \
-       +LIBJCAT_GPG:libgpgme \
-       +LIBJCAT_GPG:libgpg-error \
-       +LIBJCAT_PKCS7:libgnutls \
-       +LIBJCAT_ED25519:libgnutls
-endef
-
-define Package/libjcat/description
-  libjcat allows reading and writing gzip-compressed JSON catalog files,
-  which can be used to store GPG, PKCS-7 and SHA-256 checksums for each file.
-endef
-
-define Package/libjcat/config
-       source "$(SOURCE)/Config.in"
-endef
-
-MESON_ARGS += \
-       -Dgtkdoc=false \
-       -Dintrospection=false \
-       -Dvapi=false \
-       -Dtests=false \
-       -Dman=false \
-       -Dcli=$(if $(CONFIG_LIBJCAT_CLI),true,false) \
-       -Dgpg=$(if $(CONFIG_LIBJCAT_GPG),true,false) \
-       -Dpkcs7=$(if $(CONFIG_LIBJCAT_PKCS7),true,false) \
-       -Ded25519=$(if $(CONFIG_LIBJCAT_ED25519),true,false)
-
-define Build/InstallDev
-       $(INSTALL_DIR) $(1)/usr/include/libjcat-1
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/libjcat-1/jcat.h $(1)/usr/include/libjcat-1/jcat.h
-
-       $(INSTALL_DIR) $(1)/usr/include/libjcat-1/libjcat
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/libjcat-1/libjcat/*.h $(1)/usr/include/libjcat-1/libjcat
-
-       $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjcat.so* $(1)/usr/lib
-
-       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/jcat.pc $(1)/usr/lib/pkgconfig
-endef
-
-define Package/libjcat/install
-       $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjcat.so* $(1)/usr/lib
-
-       $(if $(CONFIG_LIBJCAT_CLI), \
-               $(INSTALL_DIR) $(1)/usr/bin; \
-               $(CP) $(PKG_INSTALL_DIR)/usr/bin/jcat-tool $(1)/usr/bin)
-endef
-
-$(eval $(call BuildPackage,libjcat))
git clone https://git.99rst.org/PROJECT