Lines 21-36
Link Here
|
21 |
CONFLICTS_INSTALL+= xpdf3-* xpdf4-* |
21 |
CONFLICTS_INSTALL+= xpdf3-* xpdf4-* |
22 |
.endif |
22 |
.endif |
23 |
|
23 |
|
24 |
USES= compiler:c++11-lang cmake localbase:ldflags \ |
24 |
USES= compiler:c++11-lang cmake localbase:ldflags |
25 |
desktop-file-utils qt:5 |
|
|
26 |
LIB_DEPENDS= libfreetype.so:print/freetype2 \ |
25 |
LIB_DEPENDS= libfreetype.so:print/freetype2 \ |
27 |
libpng.so:graphics/png |
26 |
libpng.so:graphics/png |
28 |
BUILD_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/d050000l.pfb:print/gsfonts |
27 |
BUILD_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/d050000l.pfb:print/gsfonts |
29 |
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/d050000l.pfb:print/gsfonts |
28 |
RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/d050000l.pfb:print/gsfonts |
30 |
MANPREFIX= ${PREFIX}/share/xpdf |
29 |
MANPREFIX= ${PREFIX}/share/xpdf |
31 |
SUB_FILES= xpdf-man.conf |
30 |
SUB_FILES= xpdf-man.conf |
32 |
USE_QT= buildtools_build concurrent core gui network printsupport \ |
|
|
33 |
qmake_build svg widgets |
34 |
CMAKE_ARGS+= -DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4:BOOL=ON \ |
31 |
CMAKE_ARGS+= -DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4:BOOL=ON \ |
35 |
-DUSE_LCMS:BOOL=OFF -DSYSTEM_XPDFRC=${PREFIX}/etc/xpdfrc \ |
32 |
-DUSE_LCMS:BOOL=OFF -DSYSTEM_XPDFRC=${PREFIX}/etc/xpdfrc \ |
36 |
-DCMAKE_INSTALL_PREFIX=${PREFIX} \ |
33 |
-DCMAKE_INSTALL_PREFIX=${PREFIX} \ |
Lines 41-48
Link Here
|
41 |
|
38 |
|
42 |
PLIST_SUB= DESKTOPDIR="${DESKTOPDIR}" |
39 |
PLIST_SUB= DESKTOPDIR="${DESKTOPDIR}" |
43 |
|
40 |
|
44 |
OPTIONS_DEFINE= TYPE1 LIBPAPER PRINT |
41 |
OPTIONS_DEFINE= TYPE1 LIBPAPER PRINT GUI |
45 |
OPTIONS_DEFAULT= TYPE1 PRINT |
42 |
OPTIONS_DEFAULT= TYPE1 PRINT GUI |
46 |
OPTIONS_SUB= yes |
43 |
OPTIONS_SUB= yes |
47 |
|
44 |
|
48 |
TYPE1_CMAKE_BOOL= TYPE1 |
45 |
TYPE1_CMAKE_BOOL= TYPE1 |
Lines 58-63
Link Here
|
58 |
PRINT_LDFLAGS= -L${LOCALBASE}/lib |
55 |
PRINT_LDFLAGS= -L${LOCALBASE}/lib |
59 |
PRINT_LIB_DEPENDS= libcups.so:print/cups |
56 |
PRINT_LIB_DEPENDS= libcups.so:print/cups |
60 |
|
57 |
|
|
|
58 |
GUI_DESC= QT5 interface |
59 |
GUI_USE= QT=buildtools_build concurrent core gui network printsupport \ |
60 |
qmake_build svg widgets |
61 |
GUI_USES= desktop-file-utils qt:5 |
62 |
|
61 |
post-install: |
63 |
post-install: |
62 |
@cd ${STAGEDIR}${PREFIX}; \ |
64 |
@cd ${STAGEDIR}${PREFIX}; \ |
63 |
${LN} -sf ../libexec/xpdf/xpdf bin/xpdf |
65 |
${LN} -sf ../libexec/xpdf/xpdf bin/xpdf |