Bugfix, python3 called from filter CMakeList
authorDavid Marec <DavidMarec@users.noreply.github.com>
Sun, 10 May 2020 22:08:51 +0000 (00:08 +0200)
committerDavid Marec <DavidMarec@users.noreply.github.com>
Sun, 10 May 2020 22:08:51 +0000 (00:08 +0200)
sanity checks

Makefile
pkg-plist

index 2a53999c283f004c62f95f8b847cc5ed02c28300..10d4008e60667efed21551af0b6a47d674d0f448 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,12 +36,16 @@ LIB_DEPENDS=        \
        libharfbuzz.so:print/harfbuzz \
        libfontconfig.so:x11-fonts/fontconfig \
        libpng.so:graphics/png \
+       libfreetype.so:print/freetype2 \
+       libenchant-2.so:textproc/enchant 
 
 USES=  compiler:c++11-lib cmake \
                iconv:wchar_t jpeg pathfix pkgconfig python:3.5+ \
-               shebangfix tar:xz xorg
+               shebangfix tar:xz xorg \
+               desktop-file-utils 
 USE_GNOME=     gtkmm30 libxml2 libxslt cairo pango
-USE_XORG=      x11 xext ice
+USE_XORG=      x11 xext ice sm
+
 INSTALLS_ICONS=        yes
 
 SHEBANG_FILES= \
@@ -115,5 +119,7 @@ post-patch:
                ${WRKSRC}/po/*.po
        @${REINPLACE_CMD} -e 's|web-transmit-att|web_transmit_att|g' \
                ${WRKSRC}/po/*.po
+       @${REINPLACE_CMD} -e 's|COMMAND python3|COMMAND ${PYTHON_VERSION}|g' \
+               ${WRKSRC}/share/*/CMakeLists.txt
 
 .include <bsd.port.mk>
index 37609d621a01b22cda502d993927660930f2071a..d88523d1508015f54f56230fd707def808181f99 100644 (file)
--- a/pkg-plist
+++ b/pkg-plist
@@ -2389,6 +2389,7 @@ share/icons/hicolor/48x48/apps/org.inkscape.Inkscape.png
 %%DATADIR%%/templates/default.el.svg
 %%DATADIR%%/templates/default.eo.svg
 %%DATADIR%%/templates/default.es.svg
+%%DATADIR%%/templates/default.es_MX.svg
 %%DATADIR%%/templates/default.et.svg
 %%DATADIR%%/templates/default.eu.svg
 %%DATADIR%%/templates/default.fi.svg