From ba2bdc3cdeb66e3460522a1fdfb296087d22d0f5 Mon Sep 17 00:00:00 2001 From: Leonardo Boshell Date: Tue, 14 Jan 2003 05:39:07 +0000 Subject: Added some informative comments and better support for the LighthouseBlue engine --- eclass/gtk-engines.eclass | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'eclass/gtk-engines.eclass') diff --git a/eclass/gtk-engines.eclass b/eclass/gtk-engines.eclass index e306c10fb7c5..10e113fbbda1 100644 --- a/eclass/gtk-engines.eclass +++ b/eclass/gtk-engines.eclass @@ -1,8 +1,23 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines.eclass,v 1.15 2003/01/08 07:33:12 spider Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines.eclass,v 1.16 2003/01/14 05:39:07 leonardop Exp $ + +# The gtk-engines eclass is inherited by all gtk-engines-* ebuilds. +# +# Please note that Gtk engines are special packages that mainly provide +# common libraries for Gtk themes, and there is a special meta-package +# that have what you're probably looking for: gtk-themes. +# +# If you want themes to make your GTK 2 apps look pretty, you can do +# something like the following, and everything will be taken care of: +# +# emerge gtk-themes +# +# If themes for GTK 1 programs is what you're looking for, then something +# like this should help you: +# +# emerge =gtk-themes-1* -# The gtk-engines eclass is inheritd by all gtk-engines-* ebuilds. ECLASS=gtk-engines INHERITED="$INHERITED $ECLASS" @@ -203,6 +218,17 @@ gtk-engines_src_install() { else rm -rf ${D}/usr/lib/gtk-2.0 ${D}/usr/share/themes/Geramik/gtk-2.0 fi + + elif [ "X${ENGINE}" = "Xlighthouseblue" ] + then + if [ "$SLOT" -eq "2" ] + then + rm -rf ${D}/usr/lib/gtk ${D}/usr/share/themes/LighthouseBlue/gtk + else + rm -rf \ + ${D}/usr/lib/gtk-2.0 \ + ${D}/usr/share/themes/LighthouseBlue/gtk-2.0 + fi fi for doc in AUTHORS BUGS ChangeLog CONFIGURATION COPYING CUSTOMIZATION \ -- cgit v1.2.3-65-gdbad