summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-03-11 13:07:34 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-03-11 13:07:34 +0000
commit96d67598f9c32e89650d9ddf877477807af1c00d (patch)
tree86a98d97da2266f59fe789fda49a5363f9b7ce14 /media-gfx/wally
parentgnome-extra/nautilus-sendto: Bump to 1.1.2 (diff)
downloadgentoo-2-96d67598f9c32e89650d9ddf877477807af1c00d.tar.gz
gentoo-2-96d67598f9c32e89650d9ddf877477807af1c00d.tar.bz2
gentoo-2-96d67598f9c32e89650d9ddf877477807af1c00d.zip
Adding kde use flag for building optional kde4 wallyplugin
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/wally')
-rw-r--r--media-gfx/wally/ChangeLog7
-rw-r--r--media-gfx/wally/wally-2.0.1-r1.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/media-gfx/wally/ChangeLog b/media-gfx/wally/ChangeLog
index 9ffe545a3b04..a0b82076bde4 100644
--- a/media-gfx/wally/ChangeLog
+++ b/media-gfx/wally/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/wally
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/wally/ChangeLog,v 1.7 2009/03/09 21:58:11 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/wally/ChangeLog,v 1.8 2009/03/11 13:07:34 hwoarang Exp $
+
+*wally-2.0.1-r1 (11 Mar 2009)
+
+ 11 Mar 2009; Markos Chandras <hwoarang@gentoo.org> +wally-2.0.1-r1.ebuild:
+ Adding kde use flag for building optional kde4 wallyplugin
09 Mar 2009; Ben de Groot <yngwin@gentoo.org> wally-2.0.0, wally-2.0.1:
Add needed app-crypt/qca:2 dependency. Fixes bug 247738.
diff --git a/media-gfx/wally/wally-2.0.1-r1.ebuild b/media-gfx/wally/wally-2.0.1-r1.ebuild
new file mode 100644
index 000000000000..faee6095c8b2
--- /dev/null
+++ b/media-gfx/wally/wally-2.0.1-r1.ebuild
@@ -0,0 +1,54 @@
+# 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.1-r1.ebuild,v 1.1 2009/03/11 13:07:34 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="app-crypt/qca:2
+ media-libs/libexif
+ x11-libs/qt-gui:4
+ kde4? ( >=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 "logout and login again on your KDE4 enviroment."
+ elog
+ fi
+}