Lines 14-32
Link Here
|
14 |
LICENSE= GPLv2+ |
14 |
LICENSE= GPLv2+ |
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
16 |
|
16 |
|
17 |
USES= compiler:c++11-lang desktop-file-utils pkgconfig qmake |
17 |
USES= compiler:c++11-lang desktop-file-utils gl pkgconfig qmake |
|
|
18 |
USE_GL= gl |
18 |
USE_LDCONFIG= yes |
19 |
USE_LDCONFIG= yes |
|
|
20 |
|
19 |
QMAKE_SOURCE_PATH= ${PORTNAME}.pro |
21 |
QMAKE_SOURCE_PATH= ${PORTNAME}.pro |
20 |
|
22 |
|
21 |
DATADIR= ${PREFIX}/share/${PORTNAME} |
23 |
DATADIR= ${PREFIX}/share/${PORTNAME} |
22 |
|
24 |
|
23 |
OPTIONS_SINGLE= TOOLKITS |
25 |
OPTIONS_SINGLE= TOOLKITS |
24 |
OPTIONS_SINGLE_TOOLKITS= QT4 QT5 |
26 |
OPTIONS_SINGLE_TOOLKITS= QT4 QT5 |
25 |
OPTIONS_DEFINE= CUPS |
27 |
OPTIONS_DEFINE= CUPS DJVU PS |
26 |
OPTIONS_MULTI= BACKEND |
28 |
OPTIONS_DEFAULT= QT5 CUPS DJVU PS |
27 |
OPTIONS_MULTI_BACKEND= DJVU PS |
|
|
28 |
BACKEND_DESC= Additional documents support |
29 |
OPTIONS_DEFAULT= QT4 CUPS PS |
30 |
OPTIONS_SUB= yes |
29 |
OPTIONS_SUB= yes |
31 |
|
30 |
|
32 |
CUPS_QMAKE_OFF= "CONFIG+=without_cups" |
31 |
CUPS_QMAKE_OFF= "CONFIG+=without_cups" |
Lines 36-46
Link Here
|
36 |
DJVU_QMAKE_OFF= "CONFIG+=without_djvu" |
35 |
DJVU_QMAKE_OFF= "CONFIG+=without_djvu" |
37 |
|
36 |
|
38 |
QT4_USES= qt:4 |
37 |
QT4_USES= qt:4 |
39 |
QT4_USE= qt=dbus,gui,imageformats,linguisttools,moc_build,rcc_build,sql,sql-sqlite3,svg,xml |
38 |
QT4_USE= qt=corelib,dbus,gui,imageformats,linguisttools,moc_build,rcc_build,sql,sql-sqlite3,svg,xml |
40 |
QT4_LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 |
39 |
QT4_LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 |
41 |
|
40 |
|
42 |
QT5_USES= qt:5 |
41 |
QT5_USES= qt:5 |
43 |
QT5_USE= qt=buildtools_build,concurrent,imageformats,linguisttools,printsupport,sql,sql-sqlite3,svg,xml |
42 |
QT5_USE= qt=buildtools_build,concurrent,core,dbus,gui,imageformats,linguisttools,printsupport,sql,sql-sqlite3,svg,widgets,xml |
44 |
QT5_LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 |
43 |
QT5_LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 |
45 |
|
44 |
|
46 |
PS_LIB_DEPENDS= libspectre.so:print/libspectre |
45 |
PS_LIB_DEPENDS= libspectre.so:print/libspectre |