Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2025 15:02:02 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 696f37e18a8a - main - graphics/yacreader: Update to 9.15.0
Message-ID:  <202501021502.502F22n2086943@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=696f37e18a8a44e2c42135ef74f81632795f774d

commit 696f37e18a8a44e2c42135ef74f81632795f774d
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2025-01-02 13:58:24 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-01-02 15:01:49 +0000

    graphics/yacreader: Update to 9.15.0
    
    - Switch to GH MASTER_SITES and use release tarball
    - Pet Q/A check and use GL=opengl
    - Strip binaries
    - Remove flavorization:
    
      Drop local Qt 5.x support for ease of maintainership and its eventual
      removal from the FreeBSD ports tree. Qt 5.x has been long deprecated
      upstream [1] and the FreeBSD kde@ team recommends using Qt 6.x for
      end-user applications whenever possible.
    
      [1] https://www.qt.io/blog/qt-5.15-support-ends
    
    ChangeLog: https://github.com/YACReader/yacreader/releases/tag/9.15.0
---
 MOVED                       |  2 ++
 graphics/yacreader/Makefile | 30 +++++++++++-------------------
 graphics/yacreader/distinfo |  6 +++---
 3 files changed, 16 insertions(+), 22 deletions(-)

diff --git a/MOVED b/MOVED
index b9f2a8fa2c16..e93d2301e3b1 100644
--- a/MOVED
+++ b/MOVED
@@ -3855,3 +3855,5 @@ japanese/onew||2025-01-01|Has expired: Unfetchabled and listed BROKEN for over y
 lang/twelf||2025-01-01|Has expired: Dead upstream and fails to build
 devel/py-codecov||2025-01-01|Has expired: Deprecated by upstream. On February 1, 2022 this uploader will be completely deprecated and will no longer be able to upload coverage to Codecov
 editors/imhex-current||2025-01-02||Replaced with editors/imhex
+graphics/yacreader@qt5|graphics/yacreader|2025-01-02|Flavorization has been removed. Qt 5.x has been long deprecated upstream. Please use the unflavored graphics/yacreader port based on Qt 6.x instead
+graphics/yacreader@qt6|graphics/yacreader|2025-01-02|Flavorization has been removed. Continue to enjoy graphics/yacreader based on Qt 6.x as usual
diff --git a/graphics/yacreader/Makefile b/graphics/yacreader/Makefile
index ca48089251b4..8340b9951a6a 100644
--- a/graphics/yacreader/Makefile
+++ b/graphics/yacreader/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	yacreader
-DISTVERSION=	9.14.2
-PORTREVISION=	2
+DISTVERSION=	9.15.0
 CATEGORIES=	graphics
+MASTER_SITES=	https://github.com/YACReader/${PORTNAME}/releases/download/${DISTVERSION}/
+EXTRACT_SUFX=	-src.tar.xz
 
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Yet another comic reader
@@ -10,23 +11,9 @@ WWW=		https://www.yacreader.com/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
-FLAVORS=	qt6 qt5
-
-USES=		compiler:c++11-lib desktop-file-utils pkgconfig qmake qt:6
-USE_GITHUB=	yes
+USES=		compiler:c++17-lang desktop-file-utils pkgconfig qmake qt:6 tar:xz
 USE_QT=		5compat base declarative multimedia svg tools:build
 
-.if ${FLAVOR:U} == qt5
-PKGNAMESUFFIX=	-${FLAVOR}
-USES:=		${USES:S/qt:6/qt:5/}
-USE_QT=		qmake:build buildtools:build core concurrent:build declarative \
-		gui linguisttools:build multimedia network quickcontrols2 \
-		sql sql-sqlite3:run svg testlib:build widgets
-CONFLICTS_INSTALL=	${PORTNAME}
-.else
-CONFLICTS_INSTALL=	${PORTNAME}-qt5
-.endif
-
 OPTIONS_DEFINE=	ARCHIVE OPENGL POPPLER
 OPTIONS_DEFAULT=OPENGL POPPLER
 
@@ -36,10 +23,15 @@ ARCHIVE_QMAKE_ON=	CONFIG+=libarchive
 ARCHIVE_LIB_DEPENDS_OFF=libunarr.so:archivers/unarr
 
 OPENGL_USES=		gl
-OPENGL_USE=		GL=gl
+OPENGL_USE=		GL=opengl
 OPENGL_QMAKE_OFF=	CONFIG+=no_opengl
 
-POPPLER_LIB_DEPENDS=	libpoppler-${FLAVOR}.so:graphics/poppler-${FLAVOR}
+POPPLER_LIB_DEPENDS=	libpoppler-qt6.so:graphics/poppler-qt6
 POPPLER_QMAKE_OFF=	CONFIG+=no_pdf
 
+post-install:
+.for l in YACReader YACReaderLibrary YACReaderLibraryServer
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${l}
+.endfor
+
 .include <bsd.port.mk>
diff --git a/graphics/yacreader/distinfo b/graphics/yacreader/distinfo
index 583baea23e2a..3426ba6e49a5 100644
--- a/graphics/yacreader/distinfo
+++ b/graphics/yacreader/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707931927
-SHA256 (yacreader-yacreader-9.14.2_GH0.tar.gz) = f8d7643d9676504d7b52cafaca1bec3bc262bd13f9d272a79ad83662eaaeb01c
-SIZE (yacreader-yacreader-9.14.2_GH0.tar.gz) = 1759841
+TIMESTAMP = 1735819532
+SHA256 (yacreader-9.15.0-src.tar.xz) = d0f69b7446dd36fdd29ce1a69787a8b563db8b52d2d2444dab678a2d9ae7e6ea
+SIZE (yacreader-9.15.0-src.tar.xz) = 1380428



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501021502.502F22n2086943>