svn commit: r474616 - head/graphics/zathura
Thomas Zander
riggs at FreeBSD.org
Sat Jul 14 07:29:51 UTC 2018
Author: riggs
Date: Sat Jul 14 07:29:49 2018
New Revision: 474616
URL: https://svnweb.freebsd.org/changeset/ports/474616
Log:
Update to upstream version 0.4.0
Details:
- Update to 0.4.0
- USES meson ninja
- Rework port makefile to accommodate changes in building
PR: 228525
Submitted by: mike.d.ft402 at gmail.com
Approved by: quentin.stievenart at gmail.com (maintainer)
Modified:
head/graphics/zathura/Makefile
head/graphics/zathura/distinfo
head/graphics/zathura/pkg-plist
Modified: head/graphics/zathura/Makefile
==============================================================================
--- head/graphics/zathura/Makefile Sat Jul 14 06:39:15 2018 (r474615)
+++ head/graphics/zathura/Makefile Sat Jul 14 07:29:49 2018 (r474616)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= zathura
-PORTVERSION= 0.3.8
+PORTVERSION= 0.4.0
CATEGORIES= graphics print
MASTER_SITES= https://pwmt.org/projects/zathura/download/ \
http://www.madpilot.net/~mad/pwmt.org/
@@ -16,45 +16,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcairo.so:graphics/cairo \
libgirara-gtk3.so:x11-toolkits/girara \
libsynctex.so:devel/tex-synctex
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
-BUILD_DEPENDS+= rst2html:textproc/py-docutils
-
-USES= compiler:c11 gmake pathfix pkgconfig
+USES= meson ninja compiler:c11 pkgconfig python tar:xz
USE_GNOME= glib20 gtk30 gdkpixbuf2
-PATHFIX_MAKEFILEIN= Makefile
-MAKE_ENV= SFLAGS="${STRIP}" \
- RSTTOMAN=${LOCALBASE}/bin/rst2man \
- WITH_SYNCTEX=1
-MAKE_ARGS+= APPDATAPREFIX=${LOCALBASE}/share/appdata
-CPPFLAGS+= -DWITH_SYNCTEX
-
OPTIONS_DEFINE= NLS SQLITE
OPTIONS_SUB= yes
SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-SQLITE_MAKE_ENV= WITH_SQLITE=1
-SQLITE_MAKE_ENV_OFF= WITH_SQLITE=0
+SQLITE_MESON_ARGS_OFF= -Denable-sqlite=false
NLS_USES= gettext
-
-post-patch: .SILENT
- ${REINPLACE_CMD} -e 's|man[15]|man/&|g' \
- ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's|PLUGINDIR ?= .*$$|PLUGINDIR ?= ${PREFIX}/lib/zathura|'\
- ${WRKSRC}/config.mk
- ${REINPLACE_CMD} -e '/^TPUT_AVAILABLE/d'\
- ${WRKSRC}/colors.mk
- ${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \
- -e 's/-lc//' \
- -e 's/DL_LIB /#&/' \
- ${WRKSRC}/config.mk
- ${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|g' \
- ${WRKSRC}/zathura/config.h \
- ${WRKSRC}/doc/man/zathurarc.5.rst
- (cd ${WRKSRC}; ${RM} zathura.1 zathurarc.5)
-
-post-patch-NLS-off: .SILENT
- ${REINPLACE_CMD} -e '/-C po/d'\
- ${WRKSRC}/Makefile
.include <bsd.port.mk>
Modified: head/graphics/zathura/distinfo
==============================================================================
--- head/graphics/zathura/distinfo Sat Jul 14 06:39:15 2018 (r474615)
+++ head/graphics/zathura/distinfo Sat Jul 14 07:29:49 2018 (r474616)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1514565466
-SHA256 (zathura-0.3.8.tar.gz) = 46bf8558f7ff12efe11bf5d19e6e223aac97126061677199d0c3d53dfcbce537
-SIZE (zathura-0.3.8.tar.gz) = 174962
+TIMESTAMP = 1527371284
+SHA256 (zathura-0.4.0.tar.xz) = aa629259c6ac729e90abdda1b9b51854adaa6851192f08a55e63379500541ec8
+SIZE (zathura-0.4.0.tar.xz) = 145056
Modified: head/graphics/zathura/pkg-plist
==============================================================================
--- head/graphics/zathura/pkg-plist Sat Jul 14 06:39:15 2018 (r474615)
+++ head/graphics/zathura/pkg-plist Sat Jul 14 07:29:49 2018 (r474616)
@@ -5,13 +5,13 @@ include/zathura/macros.h
include/zathura/page.h
include/zathura/plugin-api.h
include/zathura/types.h
-include/zathura/version.h
+include/zathura/zathura-version.h
libdata/pkgconfig/zathura.pc
man/man1/zathura.1.gz
man/man5/zathurarc.5.gz
-share/appdata/zathura.appdata.xml
-share/applications/zathura.desktop
+share/applications/org.pwmt.zathura.desktop
share/dbus-1/interfaces/org.pwmt.zathura.xml
+%%NLS%%share/icons/hicolor/128x128/apps/org.pwmt.zathura.png
%%NLS%%share/locale/ca/LC_MESSAGES/zathura.mo
%%NLS%%share/locale/cs/LC_MESSAGES/zathura.mo
%%NLS%%share/locale/de/LC_MESSAGES/zathura.mo
@@ -26,6 +26,7 @@ share/dbus-1/interfaces/org.pwmt.zathura.xml
%%NLS%%share/locale/id_ID/LC_MESSAGES/zathura.mo
%%NLS%%share/locale/it/LC_MESSAGES/zathura.mo
%%NLS%%share/locale/lt/LC_MESSAGES/zathura.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/zathura.mo
%%NLS%%share/locale/no/LC_MESSAGES/zathura.mo
%%NLS%%share/locale/pl/LC_MESSAGES/zathura.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/zathura.mo
@@ -33,3 +34,4 @@ share/dbus-1/interfaces/org.pwmt.zathura.xml
%%NLS%%share/locale/ta_IN/LC_MESSAGES/zathura.mo
%%NLS%%share/locale/tr/LC_MESSAGES/zathura.mo
%%NLS%%share/locale/uk_UA/LC_MESSAGES/zathura.mo
+%%NLS%%share/metainfo/org.pwmt.zathura.appdata.xml
More information about the svn-ports-head
mailing list