texworks: update to 0.6.10.

This commit is contained in:
Đoàn Trần Công Danh
2025-12-20 12:44:50 +07:00
parent 4c349b67bd
commit 03bbf8436d
2 changed files with 21 additions and 8 deletions
+12 -1
View File
@@ -1,6 +1,6 @@
--- a/modules/QtPDF/CMake/Modules/FindPoppler.cmake
+++ b/modules/QtPDF/CMake/Modules/FindPoppler.cmake
@@ -79,15 +79,7 @@
@@ -79,15 +79,7 @@ if (Poppler_PRIVATE_INCLUDE_DIR)
endif ()
@@ -17,3 +17,14 @@
# -----------------------
# Find Poppler components
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -212,7 +212,7 @@ set (CMAKE_CXX_STANDARD 11)
if (QT_DEFAULT_MAJOR_VERSION EQUAL 6)
# Check for Qt6
- find_package(Qt6 REQUIRED COMPONENTS Core Core5Compat Widgets Gui UiTools Concurrent Xml LinguistTools Qml)
+ find_package(Qt6 REQUIRED COMPONENTS Core Core5Compat Widgets Gui UiTools Concurrent Xml Linguist Qml)
set(QT_LIBRARIES Qt6::Core Qt6::Core5Compat Qt6::Widgets Qt6::Gui Qt6::UiTools Qt6::Concurrent Qt6::Xml Qt6::Qml)
if (UNIX AND NOT APPLE)
+9 -7
View File
@@ -1,19 +1,21 @@
# Template file for 'texworks'
pkgname=texworks
version=0.6.6
revision=5
version=0.6.10
revision=1
build_style=cmake
configure_args="-DTW_BUILD_ID=Void -DWITH_LUA=ON -DWITH_PYTHON=ON
-DDESIRED_QT_VERSION:STRING=5"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
makedepends="lua53-devel python3-devel qt5-tools-devel qt5-script-devel
qt5-declarative-devel poppler-qt5-devel hunspell-devel"
-DQT_DEFAULT_MAJOR_VERSION=6"
hostmakedepends="pkg-config qt6-base qt6-tools"
makedepends="lua53-devel python3-devel qt6-tools-devel qt6-base-devel
qt6-qt5compat-devel qt6-declarative-devel poppler-qt6-devel
hunspell-devel"
depends="hunspell dejavu-fonts-ttf"
short_desc="TeX editor"
maintainer="Bosco <jboscogg@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.tug.org/texworks"
distfiles="https://github.com/texworks/texworks/archive/release-${version}.tar.gz"
checksum=c0742fd76de0cacdd52bbf406788a4fe30ee281df2cf085531d98ee4b7f9b72f
checksum=bbc29d5aba451355222b29dd02ef318fd7fec55a721a61fc6d9cd933a0abd270
# Tests require xserver
make_check=no
lib32disabled=yes