app-editors/texworks: Sync with Gentoo PR
This commit is contained in:
parent
0276e800c4
commit
d982fd2bed
2 changed files with 9 additions and 6 deletions
|
@ -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
|
index 9682c39..43ddca5 100644
|
||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt.patched
|
+++ b/CMakeLists.txt
|
||||||
@@ -321,7 +321,7 @@ SET(TeXworks_LIBS
|
@@ -321,7 +321,7 @@ SET(TeXworks_LIBS
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ HOMEPAGE="https://tug.org/texworks/"
|
||||||
SRC_URI="https://github.com/TeXworks/texworks/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/TeXworks/texworks/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
S="${WORKDIR}/${PN}-release-${PV}"
|
S="${WORKDIR}/${PN}-release-${PV}"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2+ MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 ~riscv x86"
|
KEYWORDS="amd64 ~riscv x86"
|
||||||
IUSE="lua python test"
|
IUSE="lua python test"
|
||||||
|
@ -27,12 +27,15 @@ REQUIRED_USE="
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
app-text/hunspell:=
|
app-text/hunspell:=
|
||||||
app-text/poppler[qt6]
|
app-text/poppler[qt6]
|
||||||
dev-qt/qt5compat
|
dev-qt/qt5compat:6
|
||||||
dev-qt/qtbase[concurrent,gui,widgets]
|
dev-qt/qtbase:6[concurrent,gui,widgets]
|
||||||
sys-libs/zlib
|
sys-libs/zlib
|
||||||
lua? ( ${LUA_DEPS} )
|
lua? ( ${LUA_DEPS} )
|
||||||
python? ( ${PYTHON_DEPS} )
|
python? ( ${PYTHON_DEPS} )
|
||||||
"
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
dev-qt/qttools[linguist]
|
dev-qt/qttools[linguist]
|
||||||
virtual/pkgconfig
|
virtual/pkgconfig
|
||||||
|
@ -60,7 +63,7 @@ src_configure() {
|
||||||
-DQTPDF_VIEWER=ON
|
-DQTPDF_VIEWER=ON
|
||||||
-DBUILD_SHARED_PLUGINS=ON
|
-DBUILD_SHARED_PLUGINS=ON
|
||||||
-DQT_DEFAULT_MAJOR_VERSION=6
|
-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)" )
|
use lua && mycmakeargs+=( -DLUA_VERSION="$(lua_get_version)" )
|
Loading…
Add table
Reference in a new issue