summaryrefslogtreecommitdiff
path: root/textproc/sigil/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/sigil/Makefile')
-rw-r--r--textproc/sigil/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/textproc/sigil/Makefile b/textproc/sigil/Makefile
index e5d8f7cb65e1..535834268f4f 100644
--- a/textproc/sigil/Makefile
+++ b/textproc/sigil/Makefile
@@ -1,5 +1,5 @@
PORTNAME= sigil
-DISTVERSION= 2.4.2
+DISTVERSION= 2.5.0
CATEGORIES= textproc
MAINTAINER= jonc@chen.org.nz
@@ -10,21 +10,18 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
LIB_DEPENDS= libpcre2-16.so:devel/pcre2 \
- libhunspell-1.7.so:textproc/hunspell \
- libGLX.so:graphics/libglvnd
+ libhunspell-1.7.so:textproc/hunspell
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dulwich>=0.15.0:devel/py-dulwich@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
-USES= cmake cpe desktop-file-utils \
+USES= cmake cpe desktop-file-utils gl localbase:ldflags \
minizip pkgconfig python qt:6 shebangfix
CPE_VENDOR= ${PORTNAME}-ebook
-
USE_GITHUB= yes
GH_ACCOUNT= Sigil-Ebook
GH_PROJECT= Sigil
-
+USE_GL= opengl
USE_LDCONFIG= ${PREFIX}/lib/sigil
-
USE_QT= base declarative positioning svg webchannel webengine \
tools:build imageformats:run
@@ -33,11 +30,6 @@ SHEBANG_FILES= src/Resource_Files/plugin_launchers/python/*.py \
CMAKE_ARGS= -DUSE_SYSTEM_LIBS:BOOL=1
-# Upstream uses pkg-config output to pass libhunspell-1.7.so and
-# libpcre16.so to the linker. pkg-config output does not include full
-# paths, so add a workaround to keep the port linking for now.
-LDFLAGS+= -L${LOCALBASE}/lib
-
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/sigil/*.so