696f37e18a
- 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
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
PORTNAME= yacreader
|
|
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
|
|
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 <bsd.port.mk>
|