diff options
Diffstat (limited to 'ports-mgmt/appstream-generator/Makefile')
-rw-r--r-- | ports-mgmt/appstream-generator/Makefile | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/ports-mgmt/appstream-generator/Makefile b/ports-mgmt/appstream-generator/Makefile index 58763479d837..a8d0b26d435c 100644 --- a/ports-mgmt/appstream-generator/Makefile +++ b/ports-mgmt/appstream-generator/Makefile @@ -1,7 +1,6 @@ PORTNAME= appstream-generator DISTVERSIONPREFIX= v -DISTVERSION= 0.9.1 -PORTREVISION= 3 +DISTVERSION= 0.10.1 CATEGORIES= ports-mgmt MAINTAINER= arrowd@FreeBSD.org @@ -11,36 +10,38 @@ WWW= https://github.com/ximion/appstream-generator LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= girtod:lang/gir-to-d \ - ldc2:lang/ldc \ - xsltproc:textproc/libxslt \ +BUILD_DEPENDS= nlohmann-json>=3:devel/nlohmann-json \ + inja>=3:devel/inja \ + catch2>0:devel/catch2 \ + ${LOCALBASE}/include/__generator.hpp:devel/stdgenerator \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl LIB_DEPENDS= libappstream.so:devel/appstream \ libappstream-compose.so:devel/appstream-compose \ + libCatch2.so:devel/catch2 \ libcurl.so:ftp/curl \ - libglibd-2.0.so:devel/glibd \ liblmdb.so:databases/lmdb \ - libphobos2-ldc-shared.so:lang/ldc -RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme + libicuuc.so:devel/icu \ + libtbb.so:devel/onetbb \ + libfyaml.so:textproc/libfyaml -USES= gnome libarchive meson pkgconfig +USES= compiler:c++23-lang gnome libarchive meson pkgconfig -USE_GNOME= glib20 +USE_GNOME= glib20 libxml2 libxslt:build +USE_CXXSTD= c++23 USE_GITHUB= yes -GH_ACCOUNT= arrowd -GH_TAGNAME= 5e71cac08bae0aa8e812f5dc5508b3b501ee5678 +GH_ACCOUNT= ximion OPTIONS_DEFINE= MANPAGES MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt -MESON_ARGS= -Ddownload-js=false -Dlocalbase=${LOCALBASE} -Drpmmd=false +MESON_ARGS= -Ddownload-js=false -Dbackward=false + +CFLAGS+= -fexperimental-library DATADIR= ${PREFIX}/share/appstream OPTIONS_SUB= yes -PIE_UNSAFE= yes - post-install: cd ${WRKSRC}/data && \ ${COPYTREE_SHARE} templates ${STAGEDIR}${DATADIR} |