diff options
Diffstat (limited to 'deskutils/foliate/Makefile')
-rw-r--r-- | deskutils/foliate/Makefile | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/deskutils/foliate/Makefile b/deskutils/foliate/Makefile index 72a30d338dbf..accfd85a62ab 100644 --- a/deskutils/foliate/Makefile +++ b/deskutils/foliate/Makefile @@ -1,6 +1,5 @@ PORTNAME= foliate -PORTVERSION= 2.6.4 -PORTREVISION= 3 +PORTVERSION= 3.3.0 CATEGORIES= deskutils MAINTAINER= fox@FreeBSD.org @@ -12,16 +11,14 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= appstream-util:devel/appstream-glib \ gjs-console:lang/gjs -LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk@40 +LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita \ + libwebkitgtk-6.0.so:www/webkit2-gtk@60 RUN_DEPENDS= gjs-console:lang/gjs -USES= desktop-file-utils gnome localbase meson python shebangfix -USE_GNOME= cairo gtk30 introspection +USES= desktop-file-utils gnome localbase meson pkgconfig python shebangfix +USE_GNOME= cairo gtk40 introspection GLIB_SCHEMAS= com.github.johnfactotum.Foliate.gschema.xml -SHEBANG_FILES= ${WRKSRC}/build-aux/meson/postinstall.py \ - ${WRKSRC}/src/assets/KindleUnpack/*.py - OPTIONS_DEFINE= NLS OPTIONS_SUB= yes @@ -29,18 +26,8 @@ NLS_USES= gettext USE_GITHUB= yes GH_ACCOUNT= johnfactotum - -post-patch: - @${REINPLACE_CMD} -e 's/@PYTHON_VERSION@/${PYTHON_VERSION}/g' \ - ${WRKSRC}/src/epubView.js - -post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/foliate - @${MV} ${STAGEDIR}${PREFIX}/bin/com.github.johnfactotum.Foliate \ - ${STAGEDIR}${PREFIX}/libexec/foliate/com.github.johnfactotum.Foliate - @${RLN} ${STAGEDIR}${PREFIX}/libexec/foliate/com.github.johnfactotum.Foliate \ - ${STAGEDIR}${PREFIX}/bin/foliate - @${REINPLACE_CMD} -e 's/Exec=com.github.johnfactotum.Foliate %U/Exec=foliate %U/g' \ - ${STAGEDIR}${PREFIX}/share/applications/com.github.johnfactotum.Foliate.desktop +GH_PROJECT= foliate-js:js +GH_TAGNAME= 052123b:js +GH_SUBDIR= src/foliate-js:js .include <bsd.port.mk> |