diff --git a/devel/appstream/Makefile b/devel/appstream/Makefile index 6b9c037abca7..bc6d48fae5a4 100644 --- a/devel/appstream/Makefile +++ b/devel/appstream/Makefile @@ -1,50 +1,52 @@ # Some knobs are defined with ?= and += to allow them # being overriden by devel/appstream-qt slave port PORTNAME?= AppStream DISTVERSION= 1.0.3 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= devel MASTER_SITES= https://www.freedesktop.org/software/${PORTNAME:tl}/releases/ +PATCH_SITES= https://github.com/ximion/appstream/commit/ +PATCHFILES= da31a9318e53cf0310637773ca26eaa910782a7d.patch:-p1 + MAINTAINER= desktop@FreeBSD.org COMMENT?= Machine-readable software metadata for desktop environments WWW= https://www.freedesktop.org/wiki/Distributions/AppStream/ LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \ gperf>0:devel/gperf \ itstool:textproc/itstool \ lmdb>0:databases/lmdb LIB_DEPENDS?= libcurl.so:ftp/curl \ libstemmer.so:textproc/snowballstemmer \ libxmlb.so:textproc/libxmlb \ libyaml.so:textproc/libyaml \ libzstd.so:archivers/zstd USES+= gettext gnome localbase:ldflags meson pkgconfig \ python:build tar:xz vala:build USE_GNOME+= glib20 introspection:build libxml2 libxslt:build USE_LDCONFIG= yes -#CFLAGS+= -D__BSD_VISIBLE=1 MESON_ARGS+= -Dstemming=true \ -Dvapi=true \ -Dapidocs=false \ -Dinstall-docs=false \ -Dsystemd=false post-patch: ${REINPLACE_CMD} \ -e 's|APPLICATIONS_DIR = "/usr/share/applications"|APPLICATIONS_DIR = "${LOCALBASE}/share/applications"|' \ -e 's|METAINFO_DIR = "/usr/share/metainfo"|METAINFO_DIR = "${LOCALBASE}/share/metainfo"|' \ -e 's|"/usr/share",|"${LOCALBASE}/share",|' \ ${WRKSRC}/src/as-pool.c ${REINPLACE_CMD} \ -e 's|"/usr/share";|"${LOCALBASE}/share";|' \ ${WRKSRC}/src/as-utils.c .include diff --git a/devel/appstream/distinfo b/devel/appstream/distinfo index ccb95802a518..2fac193a3bf6 100644 --- a/devel/appstream/distinfo +++ b/devel/appstream/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1729852129 +TIMESTAMP = 1730140549 SHA256 (AppStream-1.0.3.tar.xz) = 5ab6f6cf644e7875a9508593962e56bb430f4e59ae0bf03be6be7029deb6baa4 SIZE (AppStream-1.0.3.tar.xz) = 2644220 +SHA256 (da31a9318e53cf0310637773ca26eaa910782a7d.patch) = f7d0b6c5688a0437901ab0ad534478084e7852c26a30a863c93d256878607a10 +SIZE (da31a9318e53cf0310637773ca26eaa910782a7d.patch) = 1017