Magellan Linux

Contents of /trunk/todo/dia/dia-0.96.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2232 - (show annotations) (download)
Thu Jul 9 19:24:39 2009 UTC (14 years, 10 months ago) by niro
File size: 1102 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/dia/dia-0.96.1-r2.smage2,v 1.1 2008/04/01 07:42:18 niro Exp $
2
3 PNAME="dia"
4 PVER="0.96.1"
5 PBUILD="r2"
6
7 PCATEGORIE="app-office"
8 STATE="unstable"
9
10 DESCRIPTION="dia - visio alike for *nix."
11 HOMEPAGE="http://live.gnome.org/Dia/"
12
13 DEPEND=">= x11-libs/gtk2+-2.12
14 >= x11-libs/pango-1.20
15 >= dev-libs/libxml2-2.6
16 >= dev-libs/libxslt-1.1
17 >= media-libs/freetype-2.3
18 >= dev-libs/popt-1.10
19 >= sys-libs/zlib-1.2
20 >= media-libs/libpng-1.2.24
21 >= media-libs/libart_lgpl-2.3.20"
22
23 SDEPEND=">= dev-util/intltool-0.37
24 >= dev-util/pkgconfig-0.23"
25
26 SRCFILE="${PNAME}-${PVER}.tar.bz2"
27 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
28
29 sminclude gnome2
30
31 SRC_URI=(${SRC_URI[*]}
32 mirror://${PNAME}/${PNAME}-0.94-dtd.patch
33 mirror://${PNAME}/${PNAME}-0.94-fallbacktoxpmicons.patch
34 )
35
36 src_prepare()
37 {
38 munpack ${SRCFILE} || die
39 cd ${SRCDIR}
40
41 # fix docbook
42 mpatch ${PNAME}-0.94-dtd.patch || die
43
44 # fix some annoying warnings when pngs not found
45 mpatch ${PNAME}-0.94-fallbacktoxpmicons.patch || die
46 }
47
48 src_compile()
49 {
50 cd ${SRCDIR}
51
52 mconfigure --disable-gnome --without-python || die
53 mmake || die
54 }

Properties

Name Value
svn:keywords Id