Contents of /trunk/extras/compiz/compiz-0.8.4-r1.smage2
Parent Directory | Revision Log
Revision 4698 -
(show annotations)
(download)
Sat Dec 26 21:48:44 2009 UTC (14 years, 9 months ago) by niro
File size: 2376 byte(s)
Sat Dec 26 21:48:44 2009 UTC (14 years, 9 months ago) by niro
File size: 2376 byte(s)
-added patch to fix two upstream missing files
1 | # $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 | >= x11-proto/xineramaproto-1.2 |
47 | >= dev-libs/dbus-glib-0.74 |
48 | >= dev-libs/dbus-qt3-0.70" |
49 | |
50 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
51 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
52 | |
53 | # important: qt4 will be detected through pkgconfig and qt3 via QTLIB var |
54 | # so the qt3 include must be called *after* qt4! |
55 | # KDEDIR for out kde4 compile hack is needed, so we include kde4 |
56 | # kde4 includes qt4 so it must be included *before* qt4! |
57 | sminclude mbuild kde4 qt4 qt3 |
58 | |
59 | SRC_URI=( |
60 | http://releases.compiz-fusion.org/${PVER}/${SRCFILE} |
61 | mirror://${PNAME}/${SRCFILE} |
62 | mirror://${PNAME}/${PNAME}-${PVER}-missing-files.patch |
63 | ) |
64 | |
65 | src_prepare() |
66 | { |
67 | munpack ${SRCFILE} || die |
68 | cd ${SRCDIR} |
69 | |
70 | # add missing metadata: kcfg.xslt and kconfig.xslt |
71 | mpatch ${PNAME}-${PVER}-missing-files.patch || die |
72 | } |
73 | |
74 | src_compile() |
75 | { |
76 | cd ${SRCDIR} |
77 | |
78 | mconfigure \ |
79 | --with-default-plugins \ |
80 | --enable-gtk \ |
81 | --enable-gconf \ |
82 | --enable-gnome \ |
83 | --enable-metacity \ |
84 | --enable-kde \ |
85 | --enable-kde4 \ |
86 | --enable-librsvg \ |
87 | --enable-dbus \ |
88 | --enable-dbus-glib \ |
89 | --enable-fuse \ |
90 | --enable-annotate \ |
91 | || die |
92 | |
93 | # fixes compile issues with kde4 and kde3 installed at the same time |
94 | sed -i -e "s:-lkdecore:${KDEDIR}/$(mlibdir)/libkdecore.so:g" \ |
95 | -e "s:-lkdecorations:${KDEDIR}/$(mlibdir)/libkdecorations.so:g" \ |
96 | kde/window-decorator-kde4/Makefile || die |
97 | |
98 | mmake || die |
99 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |