# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit kde DESCRIPTION="KDE native style with Qt theme-mapping to gtk and gtk2 applications" HOMEPAGE="http://wwww.kde-look.org/content/show.php?content=5065" SRC_URI="http://www.cpdrummond.freeuk.com/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~amd64 ~sparc" IUSE="" DEPEND="|| ( kde-base/kwin kde-base/kdebase )" need-kde 3.2 pkg_postinst(){ echo einfo "For KDE:" einfo " Use KControl, go to the Look'N'Feel section, enter the Style sub-section," einfo " and choose QtCurve" einfo " " einfo "For GTK1:" einfo " Copy" echo " /usr/share/themes/QtCurve/gtk/gtkrc" einfo " to either" echo " /etc/gtk/gtkrc To enable this theme for *all* users" einfo " or" echo " ~/.gtkrc To enable for just yourself." einfo " " einfo " Alternatively, edit ~/.gtkrc so that it looks like:" echo " include \"/usr/share/themes/QtCurve/gtk/gtkrc\"" einfo " " einfo "For GTK2:" einfo " edit ~/.gtkrc-2.0 so that it for example looks like:" echo " include \"/usr/share/themes/QtCurve/gtk-2.0/gtkrc\"" echo " style \"user-font\"" echo " {" echo " font_name=\"Helvetica 9\"" echo " }" echo " widget_class \"*\" style \"user-font\"" echo " gtk-theme-name=\"QtCurve\"" echo " gtk-font-name=\"Helvetica 9\"" echo " " }