Magellan Linux

Contents of /branches/R11-stable/extras/okular/okular-4.10.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18912 - (show annotations) (download)
Wed Aug 14 13:13:02 2013 UTC (10 years, 9 months ago) by niro
File size: 1060 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="okular"
4 PVER="4.10.5"
5 PBUILD="r1"
6
7 DESCRIPTION="KDE4 dokument viewer."
8
9 DEPEND="== kde-base/kdelibs-${PVER}
10 == kde-base/kdebase-runtime-${PVER}
11 >= app-arch/bzip2-1
12 >= app-crypt/qca-2
13 >= app-text/ebook-tools-0.2
14 >= app-text/libspectre-0.2
15 >= app-text/poppler-qt4-0.22
16 >= dev-libs/soprano-2.9
17 >= kde-base/qimageblitz-0.0.6
18 >= media-libs/freetype-2.4
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 UP2DATE="updatecmd -listonly http://download.kde.org/stable/ | grep 'stable/[0-9]' | sed -n 's:.*/\([0-9].*\)/:\1:;$ p'"
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 }