megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
changeset 45:e1ae18b48ffd
adding kde-misc/py-cashew-1.2; removing non-working kde-misc/py-cashew-1.1-r1
author | Daniel Neugebauer <dneuge@energiequant.de> |
---|---|
date | Sat, 28 Sep 2013 19:25:24 +0200 |
parents | 30706ef7fc03 |
children | a33147feba0f |
files | kde-misc/py-cashew/Manifest kde-misc/py-cashew/py-cashew-1.1-r1.ebuild kde-misc/py-cashew/py-cashew-1.2.ebuild |
diffstat | 3 files changed, 27 insertions(+), 45 deletions(-) [+] |
line wrap: on
line diff
--- a/kde-misc/py-cashew/Manifest Sat Sep 28 17:56:09 2013 +0200 +++ b/kde-misc/py-cashew/Manifest Sat Sep 28 19:25:24 2013 +0200 @@ -1,2 +1,2 @@ EBUILD py-cashew-1.1-r1.ebuild 921 SHA256 e342279ba6341cb2cdc4423e3a44c7ba694aa2a1e852ec8ffc0c5e31b8f37542 SHA512 e7ea89a2a39e47a83133a70b1338c7ed647a958a420199412e24eca46f1995d6ca71b195a7c7e3c397ec3fecb27a142d8b99e8151b932bb880192497a68abad3 WHIRLPOOL 1e651eafba1198e7eabafedf1e2fe989408dce580fb62e0269d4a6986f392652e96b6ee539ed8e6a4a748767fc49712a82e06487624736d62ea525592a0171f1 -EBUILD py-cashew-1.2.ebuild 921 SHA256 ba5ddec99c9e57bd99dae31cdbf40f8458b09fb1ba08f2e7207716f566001d35 SHA512 bdc38a9915a23ff25d96a6e4f98336342a12efeb2ce430b6ccfaa4c322f46bb40fa2799fc22646f5eb9c35f5e415fecf155de6864cd104351d0944674058b3ec WHIRLPOOL 54c0e01e2d522d2f80cfecf06b331e1640d2ca3f9d71d41417c1133e5216482f8be1264561da5baf2da318abcffba8299bdf6e1b60d9a8dac3252e2bb4d228a7 +EBUILD py-cashew-1.2.ebuild 1336 SHA256 a1e7a9b3046fb5d7480420ff1747fd2367abd8eafa608807b38f50d06f09bf7c SHA512 723d18cc3fb19a34c98a2a4ea3a63941965c4f6a5278a70bb564cba16986aee16a71364b48ec49dcbb699abe2a6da054ad9cb45137823e55d83d3f4be982cc9a WHIRLPOOL d1489aafaba115b6e6372a910a784aa0ced98ae50f92bee27180b572025c044276ac0a7d79c035a346649670d1ad8bb59cf11ecc5ef3300f1f5d4cb56b99e59d
--- a/kde-misc/py-cashew/py-cashew-1.1-r1.ebuild Sat Sep 28 17:56:09 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Plasmoid for KDE 4.6+ to remove the so-called Cashew (desktop configuration icon) - replacement for abandoned plasmoid \"I HATE the cashew\"." -HOMEPAGE="http://kde-look.org/content/show.php/Py-Cashew?content=147892" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -inherit git-2 - -EGIT_REPO_URI="https://github.com/benoit-monin/Py-Cashew.git" -EGIT_COMMIT="b027a85b9ae4b4b9f453ac4ed557eda526bbc7c1" - -#S=${WORKDIR} - -#src_unpack() { -# unpack ${A} -#} - -#src_compile() { -# m -# cd build -# cmake -DCMAKE_INSTALL_PREFIX=/usr .. || die "CMake failed!" -# emake || die "Make failed!" -#} - -src_install() { - #plasmapkg --global --packageroot ${WORKDIR}/usr/share/apps/plasma/plasmoids -i py-cashew-1.1.plasmoid - plasmapkg --packageroot ${WORKDIR}/usr/share/apps/plasma/plasmoids -i py-cashew-1.1.plasmoid -}
--- a/kde-misc/py-cashew/py-cashew-1.2.ebuild Sat Sep 28 17:56:09 2013 +0200 +++ b/kde-misc/py-cashew/py-cashew-1.2.ebuild Sat Sep 28 19:25:24 2013 +0200 @@ -1,6 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +EAPI=5 + DESCRIPTION="Plasmoid for KDE 4.6+ to remove the so-called Cashew (desktop configuration icon) - replacement for abandoned plasmoid \"I HATE the cashew\"." HOMEPAGE="http://kde-look.org/content/show.php/Py-Cashew?content=147892" @@ -10,24 +12,37 @@ IUSE="" inherit git-2 +#inherit kde4-base EGIT_REPO_URI="https://github.com/benoit-monin/Py-Cashew.git" EGIT_COMMIT="226e0352785f14323f787b65a3673abf4b8ce4f2" -#S=${WORKDIR} - #src_unpack() { -# unpack ${A} +# cd ${WORKDIR} +# git clone ${EGIT_REPO_URI} py-cashew-1.2 +# cd py-cashew-1.2 +# git checkout -b TMP-ebuild ${EGIT_COMMIT} +# cd .. #} -#src_compile() { -# m -# cd build -# cmake -DCMAKE_INSTALL_PREFIX=/usr .. || die "CMake failed!" -# emake || die "Make failed!" +#pkg_postinst() { +# plasmapkg --packageroot /usr/share/apps/plasma/plasmoids -i py-cashew-1.2.plasmoid #} src_install() { - #plasmapkg --global --packageroot ${WORKDIR}/usr/share/apps/plasma/plasmoids -i py-cashew-1.1.plasmoid - plasmapkg --packageroot ${WORKDIR}/usr/share/apps/plasma/plasmoids -i py-cashew-1.1.plasmoid + # we try to mimic plasmapkg which does not work in sandbox + + insinto /usr/share/apps/plasma/plasmoids/py-cashew + doins metadata.desktop + + # no idea where icons should go, nothing seems to fit PNGs... + #insinto /usr/share/apps/desktoptheme/default/icons/ + #doins py-cashew.png + + insinto /usr/share/apps/plasma/plasmoids/py-cashew/contents/code + doins contents/code/main.py + + cp -a metadata.desktop plasma-applet-py-cashew.desktop + insinto /usr/share/kde4/services + doins plasma-applet-py-cashew.desktop }