diff options
| -rw-r--r-- | MOVED | 2 | ||||
| -rw-r--r-- | print/qpdfview/Makefile | 47 | ||||
| -rw-r--r-- | print/qpdfview/pkg-plist | 2 |
3 files changed, 16 insertions, 35 deletions
@@ -5491,3 +5491,5 @@ java/jd-gui|java/jd-gui-duo|2026-07-03|Switch to active fork and rename lang/perl5.38||2026-07-03|Has expired: Support ends three years after .0 release. Please upgrade to a more recent version of Perl graphics/gimp-jxl-plugin||2026-07-03|Integrated into graphics/gimp-app textproc/pecl-pspell|textproc/php-pspell|2026-07-05|Converted to standard extension from pecl extension +print/qpdfview@qt5||2026-07-10|Unflavorize, remove Qt5 flavor +print/qpdfview@qt6|print/qpdfview|2026-07-10|Unflavorize diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile index f417e37f22fa..a3416c579c9a 100644 --- a/print/qpdfview/Makefile +++ b/print/qpdfview/Makefile @@ -12,27 +12,12 @@ WWW= https://launchpad.net/qpdfview LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libpoppler-${FLAVOR}.so:graphics/poppler-${FLAVOR} +LIB_DEPENDS= libpoppler-qt6.so:graphics/poppler-qt6 -FLAVORS= qt6 qt5 -FLAVOR?= qt6 - -USES= desktop-file-utils gl pkgconfig qmake +USES= compiler:c++11-lang desktop-file-utils gl pkgconfig qmake qt:6 +USE_GL= opengl USE_LDCONFIG= yes - -.if ${FLAVOR} == "qt5" -PKGNAMESUFFIX= -qt5 -USES+= compiler:c++17-lang qt:5 -USE_GL= gl -USE_QT= concurrent core dbus gui linguisttools printsupport \ - sql svg widgets xml buildtools:build -CONFLICTS_INSTALL= ${PORTNAME} -.else -USES+= compiler:c++11-lang qt:6 -USE_GL= opengl -USE_QT= base svg tools:build -CONFLICTS_INSTALL= ${PORTNAME}-qt5 -.endif +USE_QT= base svg tools:build QMAKE_SOURCE_PATH= ${PORTNAME}.pro @@ -40,26 +25,20 @@ OPTIONS_DEFINE= CUPS DJVU PS SYNCTEX OPTIONS_DEFAULT= CUPS DJVU PS OPTIONS_SUB= yes -CUPS_LIB_DEPENDS= libcups.so:print/cups -CUPS_QMAKE_OFF= "CONFIG+=without_cups" +SYNCTEX_DESC= SyncTeX support +CUPS_LIB_DEPENDS= libcups.so:print/cups +CUPS_QMAKE_OFF= CONFIG+=without_cups DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre -DJVU_QMAKE_OFF= "CONFIG+=without_djvu" - +DJVU_QMAKE_OFF= CONFIG+=without_djvu PS_LIB_DEPENDS= libspectre.so:print/libspectre -PS_QMAKE_OFF= "CONFIG+=without_ps" - -SYNCTEX_DESC= SyncTeX support -SYNCTEX_LIB_DEPENDS= libsynctex.so:devel/tex-synctex -SYNCTEX_QMAKE_OFF= "CONFIG+=without_synctex" +PS_QMAKE_OFF= CONFIG+=without_ps +SYNCTEX_USES= tex +SYNCTEX_USE= TEX=synctex +SYNCTEX_QMAKE_OFF= CONFIG+=without_synctex post-patch: -.if ${FLAVOR} == "qt5" - ${REINPLACE_CMD} -e '/CONFIG/s/c\+\+11/c++17/' \ - ${WRKSRC}/${PORTNAME}.pri -.endif - ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ - ${WRKSRC}/${PORTNAME}.pri + ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' ${WRKSRC}/${PORTNAME}.pri pre-configure: cd ${WRKSRC} && ${LRELEASE} ${PORTNAME}.pro diff --git a/print/qpdfview/pkg-plist b/print/qpdfview/pkg-plist index c80937f97e33..b1e7aabde61e 100644 --- a/print/qpdfview/pkg-plist +++ b/print/qpdfview/pkg-plist @@ -3,9 +3,9 @@ bin/qpdfview lib/qpdfview/libqpdfview_image.so lib/qpdfview/libqpdfview_pdf.so %%PS%%lib/qpdfview/libqpdfview_ps.so -share/man/man1/qpdfview.1.gz share/applications/qpdfview.desktop share/icons/hicolor/scalable/apps/qpdfview.svg +share/man/man1/qpdfview.1.gz share/metainfo/qpdfview.appdata.xml %%DATADIR%%/help.html %%DATADIR%%/help_af.html |
