Simple update teaqt-63.3.1. Tested on amd64. OK?

teaqt-63 now only requires poppler-cpp and no longer requires
poppler-qt. I have also re-enabled the old functions.

Cheers Rafael

diff --git a/editors/teaqt/Makefile b/editors/teaqt/Makefile
index 7e70bcb4aa0..fa2d0a3714d 100644
--- a/editors/teaqt/Makefile
+++ b/editors/teaqt/Makefile
@@ -2,9 +2,8 @@ COMMENT =       powerful and simple Qt editor
 
 GH_ACCOUNT =   psemiletov
 GH_PROJECT =   tea-qt
-GH_TAGNAME =   50.0.4
+GH_TAGNAME =   63.3.1
 PKGNAME =      teaqt-${GH_TAGNAME}
-REVISION =     1
 
 CATEGORIES =   editors x11
 
@@ -13,27 +12,26 @@ HOMEPAGE =  http://semiletov.org/tea/
 # GPLv3
 PERMIT_PACKAGE =       Yes
 
-WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5PrintSupport Qt5Widgets
-WANTLIB += aspell c djvulibre hunspell-1.7 m poppler-qt5 z
+WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6Gui Qt6Widgets aspell
+WANTLIB += c djvulibre glib-2.0 hunspell-1.7 intl m poppler-cpp
 
 MODULES =      devel/cmake \
-               x11/qt5
+               x11/qt6
 
 LIB_DEPENDS =  graphics/djvulibre \
-               print/poppler,-qt5 \
+               print/poppler \
                textproc/aspell/core \
                textproc/hunspell
 
 RUN_DEPENDS =  devel/desktop-file-utils \
                x11/gtk+4,-guic
 
-
-CFLAGS +=      -I${LOCALBASE}/include
-CXXFLAGS +=    -I${LOCALBASE}/include
 MODCMAKE_LDFLAGS =     -L${LOCALBASE}/lib
 
-NO_TEST =      Yes
+CONFIGURE_ARGS =       -DUSE_DJVU=ON \
+                       -DUSE_ASPELL=ON \
+                       -DUSE_PDF=ON
 
-MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
+NO_TEST =      Yes
 
 .include <bsd.port.mk>
diff --git a/editors/teaqt/distinfo b/editors/teaqt/distinfo
index 264c4652ab3..85b008bef7f 100644
--- a/editors/teaqt/distinfo
+++ b/editors/teaqt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tea-qt-50.0.4.tar.gz) = INH/whj203ijOvrExOtlIDYwWnI8O0Ce4q+8Tum9Hs4=
-SIZE (tea-qt-50.0.4.tar.gz) = 504276
+SHA256 (tea-qt-63.3.1.tar.gz) = EFpNAhZCedYfho2OB7OC9Zj6NJGKWIs1AQ3N0fon5UA=
+SIZE (tea-qt-63.3.1.tar.gz) = 718500
diff --git a/editors/teaqt/patches/patch-CMakeLists_txt 
b/editors/teaqt/patches/patch-CMakeLists_txt
index c5e3380dc2f..d6e4942405c 100644
--- a/editors/teaqt/patches/patch-CMakeLists_txt
+++ b/editors/teaqt/patches/patch-CMakeLists_txt
@@ -1,23 +1,19 @@
-Fix install path
-
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -181,11 +181,11 @@ endif()
+@@ -50,7 +50,7 @@ option(USE_MAC "Build for Mac" OFF)
+ option(USE_SPEECH "Use Speech Dispatcher" OFF)
  
  
- install (TARGETS tea DESTINATION bin)
--install (FILES ${tea_ICONSVG} DESTINATION share/icons/hicolor/scalable/apps)
--install (FILES ${tea_ICONPNG32} DESTINATION share/icons/hicolor/32x32/apps)
--install (FILES ${tea_ICONPNG48} DESTINATION share/icons/hicolor/48x48/apps)
--install (FILES ${tea_ICONPNG64} DESTINATION share/icons/hicolor/64x64/apps)
--install (FILES ${tea_ICONPNG128} DESTINATION share/icons/hicolor/128x128/apps)
-+install (FILES ${tea_ICONSVG} DESTINATION 
${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
-+install (FILES ${tea_ICONPNG32} DESTINATION 
${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/32x32/apps)
-+install (FILES ${tea_ICONPNG48} DESTINATION 
${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/apps)
-+install (FILES ${tea_ICONPNG64} DESTINATION 
${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/64x64/apps)
-+install (FILES ${tea_ICONPNG128} DESTINATION 
${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/128x128/apps)
+-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
++if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES 
"BSD")
+    add_definitions(-DQ_OS_LINUX)
+    add_definitions(-DQ_OS_UNIX)
+ endif()
+@@ -255,4 +255,4 @@ install (FILES ${tea_ICONPNG48} DESTINATION share/icon
+ install (FILES ${tea_ICONPNG64} DESTINATION share/icons/hicolor/64x64/apps)
+ install (FILES ${tea_ICONPNG128} DESTINATION share/icons/hicolor/128x128/apps)
  
 -install (FILES ${tea_DESKTOP} DESTINATION share/applications)
-+install (FILES ${tea_DESKTOP} DESTINATION 
${CMAKE_INSTALL_PREFIX}/share/applications)
- 
+\ No newline at end of file
++install (FILES ${tea_DESKTOP} DESTINATION share/applications)

Reply via email to