diff options
Diffstat (limited to 'kde-misc/plasmoids/plasmoids-0.2.ebuild')
| -rw-r--r-- | kde-misc/plasmoids/plasmoids-0.2.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/kde-misc/plasmoids/plasmoids-0.2.ebuild b/kde-misc/plasmoids/plasmoids-0.2.ebuild new file mode 100644 index 00000000000..9373ca5bedc --- /dev/null +++ b/kde-misc/plasmoids/plasmoids-0.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2_pre1" + +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://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 + " + +LICENSE="GPL-2 GPL-3" +SLOT="4.1" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=kde-base/libplasma-4.1.1[opengl] + >=kde-base/plasma-workspace-4.1.1 + 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_compile() { + get_dirs "cmake . -DCMAKE_INSTALL_PREFIX=${PREFIX}" + 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 +} |
