# $Id$ PNAME="korundum" PVER="4.10.5" PBUILD="r1" PCAT="dev-ruby" DESCRIPTION="Ruby bindings for the Qt4 libraries." DEPEND=">= dev-lang/ruby-2.0 == dev-util/smokegen-${PVER} == dev-util/smokeqt-${PVER} == dev-util/smokekde-${PVER} == kde-base/kdelibs-${PVER} == kde-base/kdepimlibs-${PVER} == kde-base/okular-${PVER} >= dev-libs/soprano-2.9" sminclude kde4 SRC_URI+=( mirror://${PNAME}/${PNAME}-4.9.4-ruby19.patch ) UP2DATE="updatecmd -listonly http://download.kde.org/stable/ | grep 'stable/[0-9]' | sed -n 's:.*/\([0-9].*\)/:\1:;$ p'" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix build with >=ruby-1.9 mpatch ${PNAME}-4.9.4-ruby19.patch || die }