pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/xpdf4
Module Name: pkgsrc
Committed By: pin
Date: Wed Feb 25 11:46:19 UTC 2026
Modified Files:
pkgsrc/print/xpdf4: Makefile
Log Message:
print/xpdf4: add qt6-qtsvg dependency
Reported by Marc on a private e-mail.
While here, avoid detection of Qt5 if installed.
Bump package rev.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/print/xpdf4/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/print/xpdf4/Makefile
diff -u pkgsrc/print/xpdf4/Makefile:1.49 pkgsrc/print/xpdf4/Makefile:1.50
--- pkgsrc/print/xpdf4/Makefile:1.49 Tue Feb 24 11:56:29 2026
+++ pkgsrc/print/xpdf4/Makefile Wed Feb 25 11:46:19 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2026/02/24 11:56:29 pin Exp $
+# $NetBSD: Makefile,v 1.50 2026/02/25 11:46:19 pin Exp $
DISTNAME= xpdf-4.06
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= https://dl.xpdfreader.com/
@@ -16,6 +17,9 @@ USE_LANGUAGES= c c++
TOOL_DEPENDS+= icoutils-[0-9]*:../../graphics/icoutils
+# Avoid accidentally finding Qt5
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=TRUE
+
INSTALLATION_DIRS+= share/applications
INSTALLATION_DIRS+= share/icons/hicolor/scalable/apps
INSTALLATION_DIRS+= share/icons/hicolor/256x256/apps
@@ -36,19 +40,21 @@ post-install:
# Avoid conflicting with poppler-utils
${RM} ${DESTDIR}${PREFIX}/bin/pdf*
${RM} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pdf*
- ${INSTALL_DATA} ${FILESDIR}/xpdf.desktop ${DESTDIR}${PREFIX}/share/applications
+ ${INSTALL_DATA} ${FILESDIR}/xpdf.desktop \
+ ${DESTDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/xpdf-qt/xpdf-icon.svg \
- ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/xpdf.svg
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/xpdf.svg
${INSTALL_DATA} ${WRKSRC}/xpdf-icon.png \
- ${DESTDIR}${PREFIX}/share/icons/hicolor/256x256/apps/xpdf.png
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/256x256/apps/xpdf.png
${INSTALL_DATA} ${WRKSRC}/doc/sample-xpdfrc \
- ${DESTDIR}${EGDIR}/xpdfrc
+ ${DESTDIR}${EGDIR}/xpdfrc
.include "options.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/qt6-qtsvg/buildlink3.mk"
.include "../../print/libpaper/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/qt6-qtbase/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index