Magellan Linux

Contents of /trunk/todo/okular/okular-4.14.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27911 - (show annotations) (download)
Wed Apr 6 11:08:53 2016 UTC (8 years, 1 month ago) by niro
File size: 1017 byte(s)
-moved to 'todo'
1 # $Id$
2
3 PNAME="okular"
4 PVER="4.14.3"
5 PBUILD="r2"
6
7 DESCRIPTION="KDE4 dokument viewer."
8
9 DEPEND="== kde-base/kdelibs-${PVER}
10 == kde-base/kdebase-runtime-${PVER}
11 == kde-base/kdegraphics-mobipocket-${PVER}
12 >= app-arch/bzip2-1
13 >= app-crypt/qca-2
14 >= app-text/ebook-tools-0.2
15 >= app-text/libspectre-0.2
16 >= app-text/poppler-qt4-0.33
17 >= kde-base/qimageblitz-0.0.6
18 >= media-libs/freetype-2.6
19 >= media-libs/lcms-1.19
20 >= media-libs/libjpeg-8
21 >= media-libs/libtiff-4
22 >= sys-libs/zlib-1.2"
23
24 sminclude kde4
25
26 kde4_add_nepomuk_depend "DEPEND" ">= dev-libs/soprano-2.9"
27
28 # todo:
29 # chm support
30 # djvu support
31 src_compile()
32 {
33 cd ${SRCDIR}
34
35 kde4_configure \
36 $(cmake_opt GWENVIEW_SEMANTICINFO_BACKEND Nepomuk) \
37 $(cmake_with EPub) \
38 $(cmake_with Freetype) \
39 $(cmake_with JPEG) \
40 $(cmake_with LibSpectre) \
41 $(cmake_with Poppler) \
42 $(cmake_with QCA2) \
43 $(cmake_with QImageBlitz) \
44 $(cmake_with TIFF) \
45 $(cmake_with ZLIB) \
46 $(cmake_without CHM) \
47 $(cmake_without DjVuLibre) \
48 || die
49
50 mmake || die
51 }