Skip to content

Commit

Permalink
libxml2: Update libxml2 from 2.9.14 to 2.12.9 using cmake & github
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Nov 23, 2024
1 parent 565ac7f commit ab83b1a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions cross/libxml2/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
PKG_NAME = libxml2
PKG_VERS = 2.9.14
PKG_EXT = tar.xz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://download.gnome.org/sources/libxml2/$(word 1,$(subst ., ,$(PKG_VERS))).$(word 2,$(subst ., ,$(PKG_VERS)))
PKG_VERS = 2.12.9
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/GNOME/libxml2/archive/refs/tags
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/zlib
Expand All @@ -11,14 +12,13 @@ HOMEPAGE = https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home
COMMENT = Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform).
LICENSE = MIT

GNU_CONFIGURE = 1
CONFIGURE_ARGS = --disable-static
CONFIGURE_ARGS += --without-python
CMAKE_ARGS = -DLIBXML2_WITH_PYTHON=OFF
CMAKE_ARGS += -DLIBXML2_WITH_LZMA=OFF
ADDITIONAL_CFLAGS = -O3

POST_INSTALL_TARGET = libxml2_post_install

include ../../mk/spksrc.cross-cc.mk
include ../../mk/spksrc.cross-cmake.mk

.PHONY: libxml2_post_install
libxml2_post_install:
Expand Down
2 changes: 1 addition & 1 deletion cross/libxml2/PLIST
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ bin:bin/xmlcatalog
bin:bin/xmllint
lnk:lib/libxml2.so
lnk:lib/libxml2.so.2
lib:lib/libxml2.so.2.9.14
lib:lib/libxml2.so.2.12.9
6 changes: 3 additions & 3 deletions cross/libxml2/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libxml2-2.9.14.tar.xz SHA1 4a46f37be1aaa33daac49b4dfb51eebe85d805a8
libxml2-2.9.14.tar.xz SHA256 60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee
libxml2-2.9.14.tar.xz MD5 b7b3029ac6beb32a7925225515f83ca3
libxml2-2.12.9.tar.gz SHA1 97fad5313ec92e8d4fadf742fe60506858d2e8e7
libxml2-2.12.9.tar.gz SHA256 7e0a3853033b6e4c9cbf74e8994b6c07c76b1f5c1ca7886785e9f2b722d30d0e
libxml2-2.12.9.tar.gz MD5 44291248bb0737c823f619fe21a3eebb

0 comments on commit ab83b1a

Please sign in to comment.