# $Id$ PNAME="kdebase4-runtime" PVER="4.6.5" PBUILD="r1" DESCRIPTION="KDE4 runtime environment." DEPEND="== kde-base/kdelibs4-${PVER} == kde-base/kdepimlibs4-${PVER} == kde-base/oxygen-icons-${PVER} >= kde-base/qimageblitz-0.0.6 >= kde-base/polkit-kde-kcmodules-0.98_pre20101127 >= kde-base/polkit-kde-agent-0.99 >= app-arch/bzip2-1.0.6 >= app-arch/xz-utils-5 >= app-misc/strigi-0.7.5 >= dev-libs/libattica-0.2 >= dev-libs/soprano-2.6 >= media-gfx/exiv2-0.21 >= media-libs/openexr-1.7 >= net-fs/samba-3.5 >= net-libs/libssh-0.5 >= sys-apps/eject-2.1.5 >= x11-apps/xauth-1 >= x11-themes/hicolor-icon-theme-0.12" sminclude kde4 UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'" src_prepare() { kde4_src_prepare || die cd ${SRCDIR} # kdesu should reside in bindir not libexec sed -i '/kdesu_executable/s:LIBEXEC_INSTALL_DIR:BIN_INSTALL_DIR:' \ kdesu/kdesu/CMakeLists.txt || die } src_compile() { cd ${SRCDIR} kde4_configure \ $(cmake_with Nepomuk) \ $(cmake_with Soprano) \ $(cmake_with LibSSH) \ $(cmake_with Samba) \ $(cmake_with OpenEXR) \ || die mmake || die }