git: 67797e2ae633 - main - misc/tellico: update to 4.0.1, latest upstream

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Tue, 08 Oct 2024 13:45:24 UTC
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=67797e2ae6336692ced7b374f172216a96bf82d1

commit 67797e2ae6336692ced7b374f172216a96bf82d1
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2024-10-08 13:38:33 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2024-10-08 13:45:22 +0000

    misc/tellico: update to 4.0.1, latest upstream
    
    There are release notes at
            https://tellico-project.org/tellico-4-0-released/
            https://tellico-project.org/tellico-4-0-1-released/
    
    One data source (Allocine) has gone away. The new major version
    supports Qt6 builds, but this build sticks to Qt5.
---
 misc/tellico/Makefile                   |  7 +++----
 misc/tellico/distinfo                   |  6 +++---
 misc/tellico/files/patch-CMakeLists.txt | 10 ++++++++++
 misc/tellico/pkg-plist                  |  6 +-----
 4 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/misc/tellico/Makefile b/misc/tellico/Makefile
index 18b0cf449a0c..675986ecdfc8 100644
--- a/misc/tellico/Makefile
+++ b/misc/tellico/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	tellico
-DISTVERSION=	3.5.5
-PORTREVISION=	1
+DISTVERSION=	4.0.1
 CATEGORIES=	misc kde
 MASTER_SITES=	http://tellico-project.org/files/
 
@@ -35,7 +34,7 @@ USE_QT=		charts concurrent core dbus declarative gui location network \
 		buildtools:build qmake:build testlib:build
 USE_XORG=	x11
 
-SHEBANG_FILES=	src/fetch/scripts/dark_horse_comics.py \
-		src/fetch/scripts/fr.allocine.py
+SHEBANG_FILES=	src/fetch/scripts/dark_horse_comics.py
+CMAKE_OFF=	BUILD_WITH_QT6
 
 .include <bsd.port.mk>
diff --git a/misc/tellico/distinfo b/misc/tellico/distinfo
index f3c09dedbd2a..fd20c7b5f7e7 100644
--- a/misc/tellico/distinfo
+++ b/misc/tellico/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1719767157
-SHA256 (tellico-3.5.5.tar.xz) = 001794c52e99b20feab8373440850549ccd6da0a1fe2345c6192f9385472d06c
-SIZE (tellico-3.5.5.tar.xz) = 6796536
+TIMESTAMP = 1728392931
+SHA256 (tellico-4.0.1.tar.xz) = c8945b9425ec09e8ee4e5eeab0f2618769e186026823677fe2cb4cf41a68cd24
+SIZE (tellico-4.0.1.tar.xz) = 6779796
diff --git a/misc/tellico/files/patch-CMakeLists.txt b/misc/tellico/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..b2f70a42acee
--- /dev/null
+++ b/misc/tellico/files/patch-CMakeLists.txt
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig	2024-10-08 13:37:44 UTC
++++ CMakeLists.txt
+@@ -214,6 +214,7 @@ set_package_properties(CDIO PROPERTIES
+     TYPE OPTIONAL)
+ if(CDIO_FOUND)
+     include_directories(${CDIO_INCLUDE_DIRS})
++    link_directories(${CDIO_LIBRARY_DIRS})
+ endif(CDIO_FOUND)
+ 
+ find_package(Csv 3.0)
diff --git a/misc/tellico/pkg-plist b/misc/tellico/pkg-plist
index 2aa820d78896..1287e9cd2fa1 100644
--- a/misc/tellico/pkg-plist
+++ b/misc/tellico/pkg-plist
@@ -225,7 +225,6 @@ share/kconf_update/tellico-3-4-update.pl
 share/kconf_update/tellico-rename.upd
 share/kconf_update/tellico.upd
 share/knsrcfiles/tellico-template.knsrc
-share/kxmlgui5/tellico/tellicoui.rc
 share/locale/bg/LC_MESSAGES/tellico.mo
 share/locale/bs/LC_MESSAGES/tellico.mo
 share/locale/ca/LC_MESSAGES/tellico.mo
@@ -243,6 +242,7 @@ share/locale/fi/LC_MESSAGES/tellico.mo
 share/locale/fr/LC_MESSAGES/tellico.mo
 share/locale/ga/LC_MESSAGES/tellico.mo
 share/locale/gl/LC_MESSAGES/tellico.mo
+share/locale/he/LC_MESSAGES/tellico.mo
 share/locale/hu/LC_MESSAGES/tellico.mo
 share/locale/ia/LC_MESSAGES/tellico.mo
 share/locale/it/LC_MESSAGES/tellico.mo
@@ -289,8 +289,6 @@ share/mime/packages/tellico.xml
 %%DATADIR%%/crossref2tellico.xsl
 %%DATADIR%%/data-sources/dark_horse_comics.py
 %%DATADIR%%/data-sources/dark_horse_comics.py.spec
-%%DATADIR%%/data-sources/fr.allocine.py
-%%DATADIR%%/data-sources/fr.allocine.py.spec
 %%DATADIR%%/datacrow2tellico.xsl
 %%DATADIR%%/dbc2tellico.xsl
 %%DATADIR%%/dblp2tellico.xsl
@@ -384,8 +382,6 @@ share/mime/packages/tellico.xml
 %%DATADIR%%/tellico-by-title.xsl
 %%DATADIR%%/tellico-common.xsl
 %%DATADIR%%/tellico-printing.xsl
-%%DATADIR%%/tellico.dtd
-%%DATADIR%%/tellico.tips
 %%DATADIR%%/tellico2gcstar.xsl
 %%DATADIR%%/tellico2html.js
 %%DATADIR%%/tellico2html.xsl