app-editors/texworks: Sync with Gentoo PR

This commit is contained in:
Enno Tensing 2025-03-23 17:52:52 +01:00
parent 0276e800c4
commit d982fd2bed
Signed by: tenno
GPG key ID: 95265603BD36E66C
2 changed files with 9 additions and 6 deletions

View file

@ -1,7 +1,7 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt.patched
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9682c39..43ddca5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt.patched
+++ b/CMakeLists.txt
@@ -321,7 +321,7 @@ SET(TeXworks_LIBS
# -------------------------------

View file

@ -13,7 +13,7 @@ HOMEPAGE="https://tug.org/texworks/"
SRC_URI="https://github.com/TeXworks/texworks/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-release-${PV}"
LICENSE="GPL-2"
LICENSE="GPL-2+ MIT"
SLOT="0"
KEYWORDS="amd64 ~riscv x86"
IUSE="lua python test"
@ -27,12 +27,15 @@ REQUIRED_USE="
RDEPEND="
app-text/hunspell:=
app-text/poppler[qt6]
dev-qt/qt5compat
dev-qt/qtbase[concurrent,gui,widgets]
dev-qt/qt5compat:6
dev-qt/qtbase:6[concurrent,gui,widgets]
sys-libs/zlib
lua? ( ${LUA_DEPS} )
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-qt/qttools[linguist]
virtual/pkgconfig
@ -60,7 +63,7 @@ src_configure() {
-DQTPDF_VIEWER=ON
-DBUILD_SHARED_PLUGINS=ON
-DQT_DEFAULT_MAJOR_VERSION=6
-DTW_BUILD_ID=suijin-overlay package
-DTW_BUILD_ID="suijin-overlay package"
)
use lua && mycmakeargs+=( -DLUA_VERSION="$(lua_get_version)" )