# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" KMNAME="kdebindings" KMMODULE="ruby/korundum" inherit kde4-meta DESCRIPTION="KDE ruby bindings" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" IUSE="debug" DEPEND="=kde-base/qtruby-${PV}:${SLOT}" src_unpack() { kde4-meta_src_unpack sed -i -e "s#marshall_basetypes.h#qtruby/marshall_basetypes.h#" \ -e "s#marshall_macros.h#qtruby/marshall_macros.h#" \ ${P}/ruby/korundum/src/kdehandlers.cpp sed -i -e "s#marshall_types.h#qtruby/marshall_types.h#" \ ${P}/ruby/korundum/src/Korundum.cpp sed -i -e "s#qtruby.h#qtruby/qtruby.h#" \ -e "s#smokeruby.h#qtruby/smokeruby.h#" \ ${P}/ruby/korundum/src/kdehandlers.cpp \ ${P}/ruby/korundum/src/Korundum.cpp }