diff --git a/app-editors/texworks/files/texworks-0.6.10-cmake_lua_version.patch b/app-editors/texworks/files/texworks-0.6.10-cmake_lua_version.patch index 4404b9b..8fbfae4 100644 --- a/app-editors/texworks/files/texworks-0.6.10-cmake_lua_version.patch +++ b/app-editors/texworks/files/texworks-0.6.10-cmake_lua_version.patch @@ -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 # ------------------------------- diff --git a/app-editors/texworks/texworks-0.6.10-r2.ebuild b/app-editors/texworks/texworks-0.6.10-r3.ebuild similarity index 91% rename from app-editors/texworks/texworks-0.6.10-r2.ebuild rename to app-editors/texworks/texworks-0.6.10-r3.ebuild index 46d88fe..9062a8d 100644 --- a/app-editors/texworks/texworks-0.6.10-r2.ebuild +++ b/app-editors/texworks/texworks-0.6.10-r3.ebuild @@ -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)" )