Magellan Linux

Annotation of /trunk/extras/compiz/compiz-0.8.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4696 - (hide annotations) (download)
Sat Dec 26 21:38:32 2009 UTC (14 years, 4 months ago) by niro
File size: 2098 byte(s)
-fixed compile issues with kde4 and kde3 installed at the same time
1 niro 4690 # $Id$
2    
3     PNAME="compiz"
4     PVER="0.8.4"
5     PBUILD="r1"
6    
7     PCATEGORIE="x11-wm"
8     STATE="unstable"
9    
10     DESCRIPTION="Compiz core components."
11     HOMEPAGE="http://www.compiz-fusion.org/"
12    
13     DEPEND=">= x11-libs/pango-1.26
14     >= x11-libs/cairo-1.8
15     >= x11-libs/gtk2+-2.18
16     >= x11-libs/libX11-1.3
17     >= x11-libs/libxcb-1.4
18     >= x11-libs/libXcomposite-0.4.1
19     >= x11-libs/libXdamage-1.1.2
20     >= x11-libs/libXinerama-1.1
21     >= x11-libs/libXrandr-1.3
22     >= x11-libs/libICE-1
23     >= x11-libs/libSM-1.1
24     >= x11-libs/libXrender-0.9.5
25     >= x11-libs/startup-notification-0.10
26     >= x11-base/xorg-server-1.7
27     >= media-libs/mesa-7.6
28     >= media-libs/glitz-0.5.6
29     >= media-libs/libpng-1.2.40
30     >= x11-libs/libwnck-2.28
31     >= gnome-base/librsvg-2.26
32     >= dev-libs/libxml2-2.7
33     >= dev-libs/libxslt-1.1.26
34     >= sys-apps/dbus-1.3
35     >= sys-fs/fuse-2.8
36     >= x11-apps/mesa-progs-7.6
37     >= x11-apps/xvinfo-1.1"
38    
39     SDEPEND=">= kde-base/kdebase-3.5
40     >= kde-base/kdebase4-workspace-4.3
41     >= gnome-base/gconf-2.28
42     >= gnome-base/control-center-2.28
43     >= gnome-base/gnome-desktop-2.28
44     >= dev-util/pkgconfig-0.23
45     >= x11-proto/damageproto-1.2
46 niro 4693 >= x11-proto/xineramaproto-1.2
47     >= dev-libs/dbus-glib-0.74
48     >= dev-libs/dbus-qt3-0.70"
49 niro 4690
50     SRCFILE="${PNAME}-${PVER}.tar.bz2"
51     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
52    
53 niro 4694 # important: qt4 will be detected through pkgconfig and qt3 via QTLIB var
54     # so the qt3 include must be called *after* qt4!
55 niro 4696 # KDEDIR for out kde4 compile hack is needed, so we include kde4
56     sminclude mbuild qt4 qt3 kde4
57 niro 4690
58     SRC_URI=(
59 niro 4691 http://releases.compiz-fusion.org/${PVER}/${SRCFILE}
60 niro 4690 mirror://${PNAME}/${SRCFILE}
61     )
62    
63     src_compile()
64     {
65     cd ${SRCDIR}
66    
67     mconfigure \
68     --with-default-plugins \
69     --enable-gtk \
70     --enable-gconf \
71     --enable-gnome \
72     --enable-metacity \
73     --enable-kde \
74     --enable-kde4 \
75     --enable-librsvg \
76     --enable-dbus \
77     --enable-dbus-glib \
78     --enable-fuse \
79     --enable-annotate \
80     || die
81    
82 niro 4696 # fixes compile issues with kde4 and kde3 installed at the same time
83     sed -i -e "s:-lkdecore:${KDEDIR}/$(mlibdir)/libkdecore.so:g" \
84     -e "s:-lkdecorations:${KDEDIR}/$(mlibdir)/libkdecorations.so:g" \
85     kde/window-decorator-kde4/Makefile || die
86    
87 niro 4690 mmake || die
88     }

Properties

Name Value
svn:keywords Id