diff --git a/graphics/yacreader/Makefile b/graphics/yacreader/Makefile index f3df98a020aa..757f90b66d63 100644 --- a/graphics/yacreader/Makefile +++ b/graphics/yacreader/Makefile @@ -1,38 +1,42 @@ PORTNAME= yacreader DISTVERSION= 9.15.0 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/YACReader/${PORTNAME}/releases/download/${DISTVERSION}/ EXTRACT_SUFX= -src.tar.xz +PATCH_SITES= https://github.com/YACReader/${PORTNAME}/commit/ +PATCHFILES+= 254652f03ec648423c9488929dc62fb3f4b817c7.patch:-p1 # Fix build with Qt >= 6.9.0 +PATCHFILES+= 6e0e6f3bc39ddc4d7241f4f946088291410feb50.patch:-p1 # Fix build with Qt >= 6.9.0 + MAINTAINER= eduardo@FreeBSD.org COMMENT= Yet another comic reader WWW= https://www.yacreader.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.txt USES= compiler:c++17-lang desktop-file-utils pkgconfig qmake qt:6 tar:xz USE_QT= 5compat base declarative multimedia svg tools:build OPTIONS_DEFINE= ARCHIVE OPENGL POPPLER OPTIONS_DEFAULT=OPENGL POPPLER ARCHIVE_DESC= libarchive instead of unarr for reading compressed formats ARCHIVE_USES= libarchive ARCHIVE_QMAKE_ON= CONFIG+=libarchive ARCHIVE_LIB_DEPENDS_OFF=libunarr.so:archivers/unarr OPENGL_USES= gl OPENGL_USE= GL=opengl OPENGL_QMAKE_OFF= CONFIG+=no_opengl 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 diff --git a/graphics/yacreader/distinfo b/graphics/yacreader/distinfo index 3426ba6e49a5..b8e8b7a25622 100644 --- a/graphics/yacreader/distinfo +++ b/graphics/yacreader/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1735819532 +TIMESTAMP = 1745216597 SHA256 (yacreader-9.15.0-src.tar.xz) = d0f69b7446dd36fdd29ce1a69787a8b563db8b52d2d2444dab678a2d9ae7e6ea SIZE (yacreader-9.15.0-src.tar.xz) = 1380428 +SHA256 (254652f03ec648423c9488929dc62fb3f4b817c7.patch) = e9263046475f3fe09e35e9f4a8e1ce71220908e6939858abae434996a5239585 +SIZE (254652f03ec648423c9488929dc62fb3f4b817c7.patch) = 858 +SHA256 (6e0e6f3bc39ddc4d7241f4f946088291410feb50.patch) = 825d8f5fa8dbea88b9b5db5278a08815e0438fd99c6184af4b9727e1363e717a +SIZE (6e0e6f3bc39ddc4d7241f4f946088291410feb50.patch) = 1095