mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
editors/texworks: Update to 0.6.11 and switch to qt6
Take maintainership. Switch from PLIST_FILES to pkg-plist. https://raw.githubusercontent.com/TeXworks/texworks/release-0.6.11/NEWS PR: 292987 Approved by: hrs (maintainer timeout > 3 months) Approved by: fluffy (mentor)
This commit is contained in:
+10
-23
@@ -1,10 +1,9 @@
|
||||
PORTNAME= texworks
|
||||
DISTVERSIONPREFIX= release-
|
||||
DISTVERSION= 0.6.7
|
||||
PORTREVISION= 10
|
||||
DISTVERSION= 0.6.11
|
||||
CATEGORIES= editors
|
||||
|
||||
MAINTAINER= hrs@FreeBSD.org
|
||||
MAINTAINER= mce@FreeBSD.org
|
||||
COMMENT= Simple TeX front-end program
|
||||
WWW= https://www.tug.org/texworks/
|
||||
|
||||
@@ -13,42 +12,30 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= hunspell:textproc/hunspell
|
||||
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \
|
||||
libpoppler.so:graphics/poppler \
|
||||
libpoppler-qt5.so:graphics/poppler-qt5
|
||||
libpoppler-qt6.so:graphics/poppler-qt6 \
|
||||
libpoppler.so:graphics/poppler
|
||||
|
||||
USES= compiler:c++11-lang cmake desktop-file-utils gl pkgconfig \
|
||||
qt:5 tex
|
||||
USES= cmake compiler:c++11-lang desktop-file-utils gl pkgconfig qt:6 \
|
||||
tex
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= TeXworks
|
||||
USE_QT= buildtools:build designer:build qmake:build \
|
||||
core concurrent dbus declarative gui linguisttools \
|
||||
network script scripttools testlib uitools widgets xml
|
||||
USE_GL= gl
|
||||
USE_TEX= synctex
|
||||
USE_GL= opengl
|
||||
USE_LDCONFIG= yes
|
||||
USE_QT= 5compat base declarative tools
|
||||
USE_TEX= synctex
|
||||
|
||||
CMAKE_ARGS= -DTeXworks_DIC_DIR:PATH=${LOCALBASE}/share/hunspell \
|
||||
-DTeXworks_DOCS_DIR:PATH=${DOCSDIR_REL} \
|
||||
-DTeXworks_HELP_DIR:PATH=${DOCSDIR_REL}
|
||||
|
||||
PORTDOCS= *
|
||||
PLIST_FILES= bin/texworks \
|
||||
share/applications/texworks.desktop \
|
||||
share/icons/hicolor/128x128/apps/TeXworks.png \
|
||||
share/icons/hicolor/48x48/apps/TeXworks.png \
|
||||
share/icons/hicolor/512x512/apps/TeXworks.png \
|
||||
share/icons/hicolor/64x64/apps/TeXworks.png \
|
||||
share/man/man1/texworks.1.gz \
|
||||
share/metainfo/texworks.appdata.xml
|
||||
|
||||
OPTIONS_DEFINE= DOCS LUA PYTHON
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
LUA_USES= lua
|
||||
LUA_CMAKE_BOOL= WITH_LUA
|
||||
LUA_PLIST_FILES= lib/texworks/libTWLuaPlugin.so
|
||||
|
||||
PYTHON_USES= python
|
||||
PYTHON_CMAKE_BOOL= WITH_PYTHON
|
||||
PYTHON_PLIST_FILES= lib/texworks/libTWPythonPlugin.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1672607138
|
||||
SHA256 (TeXworks-texworks-release-0.6.7_GH0.tar.gz) = dd55fc6aee5a4c93c4f2c304c234943428e3710aca7b180143f5be747e4f06cd
|
||||
SIZE (TeXworks-texworks-release-0.6.7_GH0.tar.gz) = 12394465
|
||||
TIMESTAMP = 1770775542
|
||||
SHA256 (TeXworks-texworks-release-0.6.11_GH0.tar.gz) = f4017afb359e7c91824bd32b06a96426db88498dc43edfd5fe041599b2a30f19
|
||||
SIZE (TeXworks-texworks-release-0.6.11_GH0.tar.gz) = 11509961
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
bin/texworks
|
||||
%%LUA%%lib/texworks/libTWLuaPlugin.so
|
||||
%%PYTHON%%lib/texworks/libTWPythonPlugin.so
|
||||
share/applications/org.tug.texworks.desktop
|
||||
share/icons/hicolor/128x128/apps/TeXworks.png
|
||||
share/icons/hicolor/48x48/apps/TeXworks.png
|
||||
share/icons/hicolor/512x512/apps/TeXworks.png
|
||||
share/icons/hicolor/64x64/apps/TeXworks.png
|
||||
share/man/man1/texworks.1.gz
|
||||
share/metainfo/org.tug.texworks.metainfo.xml
|
||||
Reference in New Issue
Block a user