summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-03-29 11:46:48 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-03-29 11:46:48 +0000
commit4e552d1bb07565e69c475485f1cfe8a939f42df6 (patch)
tree921a78f557523864e4ac4e67382d6dee2a99a13c /media-gfx/wally
parentAdd ~sh (diff)
downloadgentoo-2-4e552d1bb07565e69c475485f1cfe8a939f42df6.tar.gz
gentoo-2-4e552d1bb07565e69c475485f1cfe8a939f42df6.tar.bz2
gentoo-2-4e552d1bb07565e69c475485f1cfe8a939f42df6.zip
Version bump,remove kdialog popup (patch)
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/wally')
-rw-r--r--media-gfx/wally/ChangeLog8
-rw-r--r--media-gfx/wally/files/disable_popup.patch9
-rw-r--r--media-gfx/wally/metadata.xml4
-rw-r--r--media-gfx/wally/wally-2.0.2.ebuild57
4 files changed, 75 insertions, 3 deletions
diff --git a/media-gfx/wally/ChangeLog b/media-gfx/wally/ChangeLog
index fa2fa1c228bf..dfc9f81e2f6e 100644
--- a/media-gfx/wally/ChangeLog
+++ b/media-gfx/wally/ChangeLog
@@ -1,6 +1,12 @@
# 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.11 2009/03/15 19:09:51 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/wally/ChangeLog,v 1.12 2009/03/29 11:46:48 hwoarang Exp $
+
+*wally-2.0.2 (29 Mar 2009)
+
+ 29 Mar 2009; Markos Chandras <hwoarang@gentoo.org>
+ +files/disable_popup.patch, metadata.xml, +wally-2.0.2.ebuild:
+ Version bump,remove kdialog popup (patch)
15 Mar 2009; Raúl Porcel <armin76@gentoo.org> wally-2.0.1.ebuild:
x86 stable wrt #262119
diff --git a/media-gfx/wally/files/disable_popup.patch b/media-gfx/wally/files/disable_popup.patch
new file mode 100644
index 000000000000..35b78cd97cfb
--- /dev/null
+++ b/media-gfx/wally/files/disable_popup.patch
@@ -0,0 +1,9 @@
+Index: wally-2.0.2/wallyplugin/CMakeLists.txt
+===================================================================
+--- wally-2.0.2.orig/wallyplugin/CMakeLists.txt
++++ wally-2.0.2/wallyplugin/CMakeLists.txt
+@@ -22,4 +22,3 @@ install(TARGETS plasma_wallpaper_wallypl
+
+ install(FILES plasma-wallpaper-wallyplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+ install(FILES wallyplugin.png DESTINATION ${ICON_INSTALL_DIR}/oxygen/16x16/apps)
+-install(CODE "execute_process(COMMAND \"kdialog\" \"--title\" \"WallyPlugin\" \"--msgbox\" \"Please restart Plasma in order to use WallyPlugin\")")
diff --git a/media-gfx/wally/metadata.xml b/media-gfx/wally/metadata.xml
index 24e72890858d..adc51720f151 100644
--- a/media-gfx/wally/metadata.xml
+++ b/media-gfx/wally/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<herd>desktop-misc</herd>
<maintainer>
- <email>yngwin@gentoo.org</email>
- <name>Ben de Groot</name>
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
</maintainer>
</pkgmetadata>
diff --git a/media-gfx/wally/wally-2.0.2.ebuild b/media-gfx/wally/wally-2.0.2.ebuild
new file mode 100644
index 000000000000..2e0a46f86548
--- /dev/null
+++ b/media-gfx/wally/wally-2.0.2.ebuild
@@ -0,0 +1,57 @@
+# 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.2.ebuild,v 1.1 2009/03/29 11:46:48 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-gui:4
+ kde? ( >=kde-base/kdelibs-4.2.0 )"
+
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/disable_popup.patch
+)
+
+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
+}