misc/gimp-help-en: Update to 3.0.0
Instead of building with deprecated interfaces such as textproc/py-libxml2 fetch Fedora's package instead. This also significantly reduces download size and building times. Unfortunately upstream only provides pre-packaged versions for Windows and a non Linux/Unix-friendly installer.
This commit is contained in:
parent
23c010b348
commit
47f2b5488a
@ -1,50 +1,29 @@
|
|||||||
PORTNAME= gimp-help
|
PORTNAME= gimp-help
|
||||||
DISTVERSION= 2.10.34
|
DISTVERSION= 3.0.0
|
||||||
PORTREVISION?= 0
|
CATEGORIES= misc graphics
|
||||||
CATEGORIES?= misc graphics
|
MASTER_SITES= https://kojipkgs.fedoraproject.org/packages/gimp-help/${DISTVERSION}/1.fc43/noarch/
|
||||||
MASTER_SITES= https://download.gimp.org/pub/%SUBDIR%/ \
|
PKGNAMESUFFIX= -en
|
||||||
https://ftp.gwdg.de/pub/misc/grafik/%SUBDIR%/ \
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-1.fc43.noarch
|
||||||
https://www.mirrorservice.org/sites/ftp.gimp.org/pub/%SUBDIR%/
|
EXTRACT_SUFX= .rpm
|
||||||
MASTER_SITE_SUBDIR= gimp/help
|
|
||||||
PKGNAMEPREFIX?= ${DOCLANG}-
|
|
||||||
PKGNAMESUFFIX= -html
|
|
||||||
|
|
||||||
MAINTAINER?= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT?= GIMP User Manual in English
|
COMMENT= GIMP User Manual in English
|
||||||
WWW= https://docs.gimp.org/
|
WWW= https://docs.gimp.org/
|
||||||
|
|
||||||
LICENSE= GFDL
|
LICENSE= GFDL
|
||||||
|
|
||||||
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR} \
|
EXTRACT_AFTER_ARGS= --strip-components 7 \
|
||||||
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl
|
--no-same-owner --no-same-permissions
|
||||||
|
|
||||||
USES= gettext-tools gmake gnome perl5 pkgconfig python:3.9+,build shebangfix \
|
NO_ARCH= yes
|
||||||
tar:bzip2
|
NO_BUILD= yes
|
||||||
USE_GNOME= intltool:build libxslt:build
|
NO_WRKSUBDIR= yes
|
||||||
USE_PERL5= build
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_ARGS= --without-gimp
|
|
||||||
CONFIGURE_ENV= ALL_LINGUAS="${DOCLANG}" QUICKREFERENCE_ALL_LINGUAS="${DOCLANG}"
|
|
||||||
|
|
||||||
DOCLANG?= en
|
|
||||||
|
|
||||||
|
DATADIR= ${DOCSDIR}
|
||||||
PORTDATA= *
|
PORTDATA= *
|
||||||
DATADIR= ${PREFIX}/share/gimp
|
|
||||||
|
|
||||||
MAKE_JOBS_UNSAFE= yes
|
do-install:
|
||||||
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/en
|
||||||
SHEBANG_FILES= tools/xml2po.py
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/en)
|
||||||
|
|
||||||
OPTIONS_DEFINE= QUICKREFERENCE
|
|
||||||
OPTIONS_DEFAULT= QUICKREFERENCE
|
|
||||||
|
|
||||||
QUICKREFERENCE_DESC= Generate GIMP Quickreference PDF (keys bindings)
|
|
||||||
QUICKREFERENCE_USE= gnome=librsvg2:build
|
|
||||||
QUICKREFERENCE_CONFIGURE_OFF= ac_cv_path_SVG2PDF=
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
# Install to the same directory as when configuring --with-gimp
|
|
||||||
${REINPLACE_CMD} '/gimpdatadir=.*\/2.0/s,/2\.0,,' \
|
|
||||||
${WRKSRC}/configure
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1714953538
|
TIMESTAMP = 1748684993
|
||||||
SHA256 (gimp-help-2.10.34.tar.bz2) = cae0adea6ffe47776f42dfc3a38f35d28e31893004e01812117af6f7fc897dc8
|
SHA256 (gimp-help-3.0.0-1.fc43.noarch.rpm) = 8881b2f3115e2ed06e81c44701ec7bcf69855de406bcfd88cb5347ddbba054ba
|
||||||
SIZE (gimp-help-2.10.34.tar.bz2) = 165540436
|
SIZE (gimp-help-3.0.0-1.fc43.noarch.rpm) = 50657359
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user