parent
6845f229ca
commit
efd4ddecf5
@ -0,0 +1,2 @@
|
|||||||
|
DIST icon-calculate-14.tar.bz2 645626 SHA256 e6963661f4f4dc909e39dc6c4c7dd2723693c8eb93fdcdf96b9df9138202bddf SHA512 48928354f6d14ce32c7e551e332bc5b4a65c1313c5375ed65b854287b66e9640eb0800d4a678d95bf5242f5d2e1c026a6a561e579da596d4e048966da27e3c4e WHIRLPOOL 53a3e12a4a4e6d35d584438d2cdff98b4c4b32ad2a3b33729018d21ceece20e4321252b3852c7cb888965596db26452f01f3833deca192d07051bcda7b6e8f51
|
||||||
|
EBUILD calculate-icon-theme-14.ebuild 1500 SHA256 5f2ba6e5cd62f9d6e0347adfaee7b14b6eff0d50baef3fc533a78069bb81d3a4 SHA512 43e4b9d9313c924da6c3dd84efea6b3c7ed1272a7b71bf1ea02b9e7b144899ff77816f2be869c770bff0fd66a96d8bd79ff9c37b874fce1b2c5269b8c0f5dd97 WHIRLPOOL f3b7dd08c8a1ecd7a922f39d05b733a48fdcecb8776ae5561b76dab8b18ef5ff438648cc3955a5dd8db515d94d6a6fb338c34384139f566aaf817ca514d80968
|
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit gnome2-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Wallpapers for Calculate Linux"
|
||||||
|
HOMEPAGE="http://www.calculate-linux.org/packages/media-gfx/dm-themes-calculate"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
IUSE="themes_CLD themes_CLDX themes_CLS
|
||||||
|
themes_CLDG"
|
||||||
|
|
||||||
|
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/themes/icon/icon-calculate-14.tar.bz2"
|
||||||
|
|
||||||
|
REQUIRED_USE="^^ ( themes_CLD themes_CLDX themes_CLDG )"
|
||||||
|
|
||||||
|
RDEPEND="themes_CLD? ( kde-base/oxygen-icons )
|
||||||
|
themes_CLDG? ( x11-themes/gnome-icon-theme )
|
||||||
|
themes_CLDX? ( x11-themes/elementary-icon-theme )
|
||||||
|
!media-gfx/cldx-themes
|
||||||
|
!media-gfx/cld-themes
|
||||||
|
!media-gfx/cldg-themes
|
||||||
|
!media-gfx/cls-themes"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use themes_CLD
|
||||||
|
then
|
||||||
|
sed -ri 's/Inherits=.*/Inherits=oxygen,hicolor/' usr/share/icons/Calculate/index.theme
|
||||||
|
rm -r usr/share/pixmaps/gnome
|
||||||
|
mv usr/share/pixmaps/oxygen usr/share/pixmaps/faces
|
||||||
|
else
|
||||||
|
rm -r usr/share/pixmaps/oxygen
|
||||||
|
mv usr/share/pixmaps/gnome usr/share/pixmaps/faces
|
||||||
|
fi
|
||||||
|
if use themes_CLDG
|
||||||
|
then
|
||||||
|
sed -ri 's/Inherits=.*/Inherits=gnome,hicolor/' usr/share/icons/Calculate/index.theme
|
||||||
|
fi
|
||||||
|
if use themes_CLDX
|
||||||
|
then
|
||||||
|
sed -ri 's/Inherits=.*/Inherits=elementary,hicolor/' usr/share/icons/Calculate/index.theme
|
||||||
|
fi
|
||||||
|
insinto /
|
||||||
|
doins -r .
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_icon_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in new issue