diff options
Diffstat (limited to 'media-gfx/wally/wally-2.0.3.ebuild')
-rw-r--r-- | media-gfx/wally/wally-2.0.3.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-gfx/wally/wally-2.0.3.ebuild b/media-gfx/wally/wally-2.0.3.ebuild new file mode 100644 index 000000000000..8210380d6a32 --- /dev/null +++ b/media-gfx/wally/wally-2.0.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/wally/wally-2.0.3.ebuild,v 1.1 2009/04/30 18:53:58 hwoarang Exp $ + +EAPI="2" +inherit eutils qt4 + +DESCRIPTION="A Qt4 wallpaper changer" +HOMEPAGE="http://wally.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug kde" + +DEPEND="media-libs/libexif + x11-libs/qt-svg:4 + kde? ( >=kde-base/kdelibs-4.2.0 )" + +RDEPEND="${DEPEND}" + +src_configure() { + eqmake4 +} + +src_compile() { + emake || die "emake failed" + if use kde;then + cd "${S}"/wallyplugin/build + cmake .. || die "cmake wallyplugin failed" + emake || die "emake wallyplugin failed" + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "emake install failed" + if use kde;then + cd "${S}"/wallyplugin/build + emake DESTDIR="${D}" install || die "emake install wallyplugin failed" + fi + newicon "${S}"/res/images/idle.png wally.png + make_desktop_entry wally Wally wally "Graphics;Qt" +} + +pkg_postinst() { + if use kde;then + elog + elog "In order to use wallyplugin you need to" + elog "restart plasma on your KDE4 enviroment." + elog + fi +} |