summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/compiz-plugins-main/ChangeLog9
-rw-r--r--x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild57
-rw-r--r--x11-plugins/compiz-plugins-main/metadata.xml6
3 files changed, 71 insertions, 1 deletions
diff --git a/x11-plugins/compiz-plugins-main/ChangeLog b/x11-plugins/compiz-plugins-main/ChangeLog
index d1c7c9e1b906..40dfacaee5b4 100644
--- a/x11-plugins/compiz-plugins-main/ChangeLog
+++ b/x11-plugins/compiz-plugins-main/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-plugins/compiz-plugins-main
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-main/ChangeLog,v 1.11 2010/04/03 04:52:06 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-main/ChangeLog,v 1.12 2010/09/04 22:01:05 flameeyes Exp $
+
+*compiz-plugins-main-0.8.6-r1 (04 Sep 2010)
+
+ 04 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +compiz-plugins-main-0.8.6-r1.ebuild, metadata.xml:
+ Rename gnome USE flag to gconf (like x11-wm/compiz); disable static libs
+ and remove .la files (ibid.).
*compiz-plugins-main-0.8.6 (03 Apr 2010)
diff --git a/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild b/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild
new file mode 100644
index 000000000000..67a811683ee4
--- /dev/null
+++ b/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.6-r1.ebuild,v 1.1 2010/09/04 22:01:05 flameeyes Exp $
+
+EAPI="2"
+
+inherit eutils gnome2-utils
+
+DESCRIPTION="Compiz Fusion Window Decorator Plugins"
+HOMEPAGE="http://www.compiz.org/"
+SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="gconf"
+
+MY_PV="0.8.4"
+
+RDEPEND="
+ >=gnome-base/librsvg-2.14.0
+ media-libs/jpeg
+ x11-libs/cairo
+ >=x11-libs/compiz-bcop-${MY_PV}
+ >=x11-wm/compiz-${PV}[gconf?]
+"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.19
+ >=sys-devel/gettext-0.15
+"
+
+src_prepare() {
+ use gconf || epatch "${FILESDIR}"/${PN}-no-gconf.patch
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --enable-fast-install \
+ --disable-static \
+ $(use_enable gconf schemas) || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_preinst() {
+ use gconf && gnome2_gconf_savelist
+}
+
+pkg_postinst() {
+ use gconf && gnome2_gconf_install
+}
diff --git a/x11-plugins/compiz-plugins-main/metadata.xml b/x11-plugins/compiz-plugins-main/metadata.xml
index 085d91514492..f80d46d0455f 100644
--- a/x11-plugins/compiz-plugins-main/metadata.xml
+++ b/x11-plugins/compiz-plugins-main/metadata.xml
@@ -7,4 +7,10 @@ Package with the base compiz-fusion plugins:
animation, colourfilter, expo, ezoom, jpeg, neg, opacify, put, resizeinfo, ring,
scaleaddon, shift, snap, text, thumbnail, vpswitch,, wall, winrules, workarounds.
</longdescription>
+ <use>
+ <flag name="gconf">
+ Install GConf schemas for the plugins, needed when using the GConf-based
+ configuration backend in <pkg>x11-wm/compiz</pkg>.
+ </flag>
+ </use>
</pkgmetadata>