summaryrefslogtreecommitdiff
path: root/kde-misc/plasmoids/plasmoids-0.5.ebuild
diff options
context:
space:
mode:
authorTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-10 14:41:15 +0200
committerTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-10 14:41:15 +0200
commit24cd1078f91347295bc5495265dc609fcc3f65aa (patch)
tree8562e1da490b96072a6ff8343b102f3c283937f5 /kde-misc/plasmoids/plasmoids-0.5.ebuild
parent59a99baf6f1140ba100486b3ec2cbabefcdee7f9 (diff)
downloadkde-24cd1078f91347295bc5495265dc609fcc3f65aa.tar.gz
kde-24cd1078f91347295bc5495265dc609fcc3f65aa.tar.bz2
kde-24cd1078f91347295bc5495265dc609fcc3f65aa.zip
Add new plasmoid removing that ugly hand in topright corner.
Diffstat (limited to 'kde-misc/plasmoids/plasmoids-0.5.ebuild')
-rw-r--r--kde-misc/plasmoids/plasmoids-0.5.ebuild71
1 files changed, 71 insertions, 0 deletions
diff --git a/kde-misc/plasmoids/plasmoids-0.5.ebuild b/kde-misc/plasmoids/plasmoids-0.5.ebuild
new file mode 100644
index 00000000000..d9e221e240f
--- /dev/null
+++ b/kde-misc/plasmoids/plasmoids-0.5.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+NEED_KDE=":4.1"
+NEED_OPENGL="always"
+inherit kde4-base
+
+DESCRIPTION="Useful plasma applets"
+HOMEPAGE="http://kde-look.org/ http://ivplasma.googlecode.com/"
+SRC_URI="http://www.kde-look.org/CONTENT/content-files/85802-Timer.tar.bz2
+ http://kde-look.org/CONTENT/content-files/83246-flickrplasmoid.tar.gz
+ http://kde-look.org/CONTENT/content-files/89304-panelspacer0.1.tar.gz
+ http://am4rok.googlecode.com/files/plasma-am4rok_0.5.tar.bz2
+ http://ivplasma.googlecode.com/files/plasma-am3rok-0.4.1.tar.gz
+ http://kde-look.org/CONTENT/content-files/84128-quickaccess-0.7.1.tar.gz
+ http://hlukotvor.no-ip.org/plasma-weather-0.4.tar.gz
+ http://ivplasma.googlecode.com/files/toggle-compositing-0.2.1.tar.gz
+ http://www.kde-look.org/CONTENT/content-files/79476-plasma-wifi-0.5.tgz
+ http://ivplasma.googlecode.com/files/plasma-netgraph-0.3.tar.gz
+ http://kde-look.org/CONTENT/content-files/86628-cpuload-0.1.tar.bz2
+ http://www.kde-look.org/CONTENT/content-files/91009-iHateTheCashew.tbz
+ "
+
+LICENSE="GPL-2 GPL-3"
+SLOT="4.1"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="kde-base/libplasma:${SLOT}[opengl]
+ kde-base/plasma-workspace:${SLOT}
+ x11-libs/qt-webkit"
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.6.1"
+
+PREFIX="${KDEDIR}"
+S="${WORKDIR}"
+
+get_dirs() {
+ find "${S}" -mindepth 1 -maxdepth 1 -type d |grep -v plasmoids_build \
+ |while read DIR; do
+ cd "${DIR}"
+ ${@} || die "${@} failed"
+ done
+}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_configure() {
+ get_dirs "cmake . -DCMAKE_INSTALL_PREFIX=${PREFIX}"
+}
+
+src_compile() {
+ get_dirs "make"
+}
+
+src_install() {
+ get_dirs make DESTDIR="${D}" install
+}
+
+pkg_postinst() {
+ kde4-base_pkg_postinst
+ find "${S}" -mindepth 1 -maxdepth 1 -type d |grep -v plasmoids_build \
+ |while read DIR; do
+ elog "Plasma applet: ${DIR/*\//}"
+ done
+}