Annotation of /trunk/extras/kdegraphics/kdegraphics-3.5.10-r3.smage2
Parent Directory | Revision Log
Revision 1801 -
(hide annotations)
(download)
Sun May 31 09:26:35 2009 UTC (15 years, 3 months ago) by niro
File size: 1360 byte(s)
Sun May 31 09:26:35 2009 UTC (15 years, 3 months ago) by niro
File size: 1360 byte(s)
fixed fribidi includes for newer versions
1 | niro | 1800 | # $Id$ |
2 | |||
3 | PNAME="kdegraphics" | ||
4 | PVER="3.5.10" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCATEGORIE="kde-base" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="KDE graphic oriented applications." | ||
11 | HOMEPAGE="http://www.kde.org/" | ||
12 | |||
13 | DEPEND=">= kde-base/kdebase-${PVER} | ||
14 | >= media-gfx/gphoto2-2.4 | ||
15 | >= media-gfx/sane-backends-1.0.20 | ||
16 | >= dev-libs/fribidi-0.19.2 | ||
17 | >= media-libs/imlib-1.9.14 | ||
18 | >= app-text/ghostscript-esp-8.15 | ||
19 | >= media-libs/libtiff-3.8 | ||
20 | >= sys-libs/libieee1284-0.2.11 | ||
21 | >= app-text/poppler-qt3-0.10.6" | ||
22 | |||
23 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
25 | |||
26 | sminclude kde3 | ||
27 | |||
28 | SRC_URI=( | ||
29 | kde://${PVER}/src/${SRCFILE} | ||
30 | mirror://${PNAME}/${SRCFILE} | ||
31 | mirror://${PNAME}/${PNAME}-${PVER}-ksvg-autotools.patch | ||
32 | niro | 1801 | mirror://${PNAME}/${PNAME}-${PVER}-fribidi-includes.patch |
33 | niro | 1800 | ) |
34 | |||
35 | src_prepare() | ||
36 | { | ||
37 | munpack ${SRCFILE} | ||
38 | cd ${SRCDIR} | ||
39 | |||
40 | # fix missing fribidi-config, using *.pc instead | ||
41 | # and allow use of newer autotools | ||
42 | mpatch ${PNAME}-${PVER}-ksvg-autotools.patch || die | ||
43 | |||
44 | niro | 1801 | # fix fribidi includes (fribidi >= 0.19) |
45 | mpatch ${PNAME}-${PVER}-fribidi-includes.patch || die | ||
46 | |||
47 | niro | 1800 | # rebuild all configure files |
48 | make -f admin/Makefile.common || die | ||
49 | } | ||
50 | |||
51 | src_compile() | ||
52 | { | ||
53 | cd ${SRCDIR} | ||
54 | |||
55 | kde3_configure \ | ||
56 | --with-kamera \ | ||
57 | --with-gphoto2-includes=/usr/include/gphoto2 \ | ||
58 | --with-gphoto2-libraries=/usr/$(mlibdir)/gphoto2 \ | ||
59 | --with-imlib \ | ||
60 | --with-imlib-config=/usr/bin \ | ||
61 | --with-poppler \ | ||
62 | || die | ||
63 | |||
64 | mmake || die | ||
65 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |