MY_R=${PR/r/}
DESCRIPTION="RedHat's Bluecurve theme for GTK2, KDE, GDM, Metacity and Nautilus"
HOMEPAGE="http://www.redhat.com"
SRC_URI="http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/${P}-${MY_R}.fc7.src.rpm"
SRC_URI="http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/${P}-${MY_R}.fc8.src.rpm"
LICENSE="GPL-2"
SLOT="0"
src_compile() {
cd "${S}"
epatch ${WORKDIR}/redhat-artwork-5.0.5-add-dirs-to-bluecurve-theme-index.patch
epatch ${WORKDIR}/redhat-artwork-7.0.0-kdm-userlist.patch
epatch ${WORKDIR}/redhat-artwork-5.0.8-echo.patch
epatch ${WORKDIR}/redhat-artwork-7.0.0-timed-login.patch
if use kde; then
set-qtdir 3