--- wally-2.4.2.ebuild +++ wally-2.4.4.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/wally/wally-2.4.2.ebuild,v 1.3 2011/10/25 16:38:30 phajdan.jr Exp $ -EAPI=3 +EAPI=4 KDE_REQUIRED="optional" + inherit eutils kde4-base DESCRIPTION="A Qt4/KDE4 wallpaper changer" @@ -12,19 +13,27 @@ LICENSE="GPL-2" SLOT="4" -KEYWORDS="amd64 x86" +KEYWORDS="~amd64 ~x86" IUSE="debug kde" DEPEND=" media-libs/libexif - x11-libs/qt-svg:4 + x11-libs/libX11 + x11-libs/qt-core:4 x11-libs/qt-dbus:4 + x11-libs/qt-gui:4 x11-libs/qt-sql:4 + x11-libs/qt-svg:4 kde? ( $(add_kdebase_dep kdelibs) ) " RDEPEND="${DEPEND}" +DOCS=( + "AUTHORS" "ChangeLog" "README" "README.XFCE4" + "README.shortcuts" "TODO" +) PATCHES=( + "${FILESDIR}/${P}-gold.patch" "${FILESDIR}/${PN}-2.2.0-disable_popup.patch" ) @@ -42,12 +51,12 @@ src_install() { cmake-utils_src_install - newicon "${S}"/res/images/idle.png wally.png || die - make_desktop_entry wally Wally wally "Graphics;Qt" || die + newicon "${S}"/res/images/idle.png wally.png + make_desktop_entry wally Wally wally "Graphics;Qt" } pkg_postinst() { - if use kde; then + if use kde ; then elog elog "In order to use wallyplugin you need to" elog "restart plasma in your KDE4 enviroment."