You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/media-gfx/dm-themes-calculate/dm-themes-calculate-18.ebuild

36 lines
1.1 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
DESCRIPTION="Display manager 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="+splash +login"
REQUIRED_USE="|| ( splash login )"
SRC_URI="login? ( https://mirror.calculate-linux.org/themes/calculate/dm-login-${PV}.jpg -> ${PN}-login-${PVR}.jpg
https://mirror.yandex.ru/calculate/themes/calculate/dm-login-${PV}.jpg -> ${PN}-login-${PVR}.jpg )
splash? ( https://mirror.calculate-linux.org/themes/calculate/dm-splash-${PV}.jpg -> ${PN}-splash-${PVR}.jpg
https://mirror.yandex.ru/calculate/themes/calculate/dm-splash-${PV}.jpg -> ${PN}-splash-${PVR}.jpg )"
DEPEND="!<sys-apps/calculate-utils-3.5.2.6"
# need for templates
RDEPEND="${DEPEND}
media-gfx/imagemagick"
S="${WORKDIR}"
src_install() {
insinto /usr/share/themes/Calculate/
use login && newins "${DISTDIR}"/${PN}-login-${PVR}.jpg dm-login.jpg
use splash && newins "${DISTDIR}"/${PN}-splash-${PVR}.jpg dm-splash.jpg
}