1 # Maintainer: Nathan Hulse <nat.hulse@gmail.com>
3 pkgname=compiz-core-dev
6 pkgdesc="Core package of the current Compiz development release, with optional GNOME integration."
7 url="http://www.compiz.org/"
8 license=('GPL' 'LGPL' 'MIT')
10 depends=('startup-notification' 'librsvg' 'libgl' 'dbus' 'mesa' 'libxslt' 'fuse' 'boost' 'glib2' 'glibmm' 'libxrandr' 'libxcomposite' 'libxinerama')
12 'ccsm-dev: CompizConfig Settings Manager'
13 'compizconfig-backend-gconf-dev: provides alternate storage of preferences and tighter GNOME integration'
14 'compiz-plugins-main-dev: main plugin package for Compiz'
15 'compiz-plugins-extra-dev: extra plugins for Compiz'
16 'metacity: support for Metacity window decoration themes (requires rebuild)'
17 'gnome-control-center: GNOME keybindings support (requires rebuild)'
18 'kdebase-lib: for inclusion of the KDE window decorator (requires rebuild)'
19 'automoc4: for inclusion of the KDE window decorator (requires rebuild)'
21 makedepends=('intltool' 'cmake')
22 provides=('compiz-core')
23 conflicts=('compiz-core')
24 install=('compiz.install')
25 source=("http://releases.compiz.org/$pkgver/compiz-${pkgver}.tar.bz2"
26 'gnome-compiz.session'
27 'gnome-compiz.desktop'
29 sha1sums=('fac758014e55b774cae0205251d15099b4ada9fc'
30 '98c6af8323a328643e5d91175c560237114bf195'
31 '4428c95d0edef93a20a0f621496f03429c6253f6'
32 '6c1905bc9940618ad25c265609549a8374e9edb3')
34 # On = Integrate keybindings support with GNOME
37 # On = Build the GTK Window Decorator.
40 # On = Install GConf Schemas
43 # On = Build the KDE4 Window Decorator
46 # On = Build testing tools.
49 # On = Add GNOME session entries to enable starting Compiz ontop of the GNOME 3 stack
50 gnome_session_files="Off"
52 # See below for toggling of selected plugins. Be aware that some plugins are dependant on others.
56 [[ -d build ]] || mkdir build
58 cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCOMPIZ_DESTDIR="${pkgdir}" \
59 -DBUILD_GNOME_KEYBINDINGS="$gnome_keybind" -DBUILD_GTK="$gtk_decor" -DUSE_GCONF="$use_gconf" \
60 -DBUILD_KDE4="$kde_decor" -DBUILD_TESTING="$testing" \
61 -DCOMPIZ_DEFAULT_PLUGINS="composite,opengl,decor,resize,place,move" \
62 -DCOMPIZ_DISABLE_PLUGIN_FADE=Off \
63 -DCOMPIZ_DISABLE_PLUGIN_SCREENSHOT=Off \
64 -DCOMPIZ_DISABLE_PLUGIN_OBS=Off \
65 -DCOMPIZ_DISABLE_PLUGIN_DECOR=Off \
66 -DCOMPIZ_DISABLE_PLUGIN_SCALE=Off \
67 -DCOMPIZ_DISABLE_PLUGIN_RESIZE=Off \
68 -DCOMPIZ_DISABLE_PLUGIN_CLONE=Off \
69 -DCOMPIZ_DISABLE_PLUGIN_WATER=Off \
70 -DCOMPIZ_DISABLE_PLUGIN_ANNOTATE=Off \
71 -DCOMPIZ_DISABLE_PLUGIN_COMMANDS=Off \
72 -DCOMPIZ_DISABLE_PLUGIN_BLUR=Off \
73 -DCOMPIZ_DISABLE_PLUGIN_CUBE=Off \
74 -DCOMPIZ_DISABLE_PLUGIN_COMPOSITE=Off \
75 -DCOMPIZ_DISABLE_PLUGIN_COPYTEX=Off \
76 -DCOMPIZ_DISABLE_PLUGIN_GNOMECOMPAT=Off \
77 -DCOMPIZ_DISABLE_PLUGIN_OPENGL=Off \
78 -DCOMPIZ_DISABLE_PLUGIN_KDE=Off \
79 -DCOMPIZ_DISABLE_PLUGIN_REGEX=Off \
80 -DCOMPIZ_DISABLE_PLUGIN_COMPIZTOOLBOX=Off \
81 -DCOMPIZ_DISABLE_PLUGIN_SWITCHER=Off \
82 -DCOMPIZ_DISABLE_PLUGIN_INOTIFY=Off \
83 -DCOMPIZ_DISABLE_PLUGIN_ROTATE=Off \
84 -DCOMPIZ_DISABLE_PLUGIN_PLACE=Off \
85 -DCOMPIZ_DISABLE_PLUGIN_MOVE=Off \
86 -DCOMPIZ_DISABLE_PLUGIN_WOBBLY=Off \
87 -DCOMPIZ_DISABLE_PLUGIN_INI=Off \
88 -DCOMPIZ_DISABLE_PLUGIN_ZOOM=Off \
89 -DCOMPIZ_DISABLE_PLUGIN_IMGPNG=Off \
90 -DCOMPIZ_DISABLE_PLUGIN_DBUS=Off \
91 -DCOMPIZ_DISABLE_PLUGIN_IMGSVG=Off
94 make findcompiz_install
95 if [ $gnome_session_files == "On" ]; then
97 install -m755 -d "$pkgdir"/usr/share/{gnome-session/sessions,xsessions,applications}/
98 install -m644 gnome-compiz.session "$pkgdir"/usr/share/gnome-session/sessions/
99 install -m644 gnome-compiz.desktop "$pkgdir"/usr/share/xsessions/
100 install -m644 compiz.desktop "$pkgdir"/usr/share/applications/