textproc/libxml++: Update to 5.2.0

* Add USES= compiler:c++17-lang
* Remove USES= python:build
* Add LICENSE_FILE
* Fix install path of .pc file
* Make some minor changes to port Makefile

Changelog:
https://github.com/libxmlplusplus/libxmlplusplus/releases/tag/5.2.0

PR:		279757
Approved by:	portmgr (maintainer timeout, 2+ weeks)
This commit is contained in:
Daniel Engberg 2024-07-04 19:03:32 +02:00
parent defe5b7640
commit 79716dec61
3 changed files with 26 additions and 11 deletions

View file

@ -1,20 +1,26 @@
PORTNAME= libxml++
PORTVERSION= 5.0.3
DISTVERSION= 5.2.0
CATEGORIES= textproc
MASTER_SITES= GNOME
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
MASTER_SITES= GNOME \
https://github.com/libxmlplusplus/libxmlplusplus/releases/download/${DISTVERSION}/
PKGNAMESUFFIX= 50
MAINTAINER= jcfyecrayz@liamekaens.com
COMMENT= XML API for C++
WWW= https://github.com/libxmlplusplus/libxmlplusplus
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gnome libtool meson pkgconfig python:build tar:xz
USES= compiler:c++17-lang gnome meson pkgconfig tar:xz
USE_GNOME= libxml2
USE_LDCONFIG= yes
MESON_ARGS= -Ddefault_library=both
PLIST_SUB= VERSION=${PORTVERSION:R} API_VERSION=${PORTVERSION:R}
PLIST_SUB= VERSION=5.0 \
API_VERSION=5.0
MESON_ARGS= -Ddefault_library=both \
-Dbuild-examples=false \
-Dbuild-manual=false
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1694693083
SHA256 (libxml++-5.0.3.tar.xz) = 13074f59e3288a378cafe9e6847df17f764c23fa29bc94f3305b8bf81efb2cf7
SIZE (libxml++-5.0.3.tar.xz) = 843720
TIMESTAMP = 1718435884
SHA256 (libxml++-5.2.0.tar.xz) = e41b8eae55210511585ae638615f00db7f982c0edea94699865f582daf03b44f
SIZE (libxml++-5.2.0.tar.xz) = 899356

View file

@ -1,6 +1,15 @@
--- meson.build.orig 2023-03-22 12:19:05 UTC
--- meson.build.orig 2024-01-11 13:10:47 UTC
+++ meson.build
@@ -385,7 +385,7 @@ configure_file(
@@ -98,7 +98,7 @@ install_datadir = get_option('datadir')
install_includedir = get_option('includedir')
install_libdir = get_option('libdir')
install_datadir = get_option('datadir')
-install_pkgconfigdir = install_libdir / 'pkgconfig'
+install_pkgconfigdir = join_paths('libdata', 'pkgconfig')
# Dependencies.
# xmlxx_build_dep: Dependencies when building the libxml++ library.
@@ -370,7 +370,7 @@ xmlxxconfig_h_meson = files('libxml++config.h.meson')
)
xmlxxconfig_h_meson = files('libxml++config.h.meson')