|
|
|
@ -10,23 +10,20 @@ HOMEPAGE="http://www.calculate-linux.org/packages/media-gfx/calculate-splash-the
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
KEYWORDS="amd64 x86"
|
|
|
|
|
IUSE="+verbose +silent +silent-shutdown"
|
|
|
|
|
IUSE="+silent +silent-shutdown"
|
|
|
|
|
|
|
|
|
|
REQUIRED_USE="|| ( verbose silent silent-shutdown )"
|
|
|
|
|
REQUIRED_USE="|| ( silent silent-shutdown )"
|
|
|
|
|
|
|
|
|
|
SRC_URI="silent? (
|
|
|
|
|
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-silent-18-r1.png -> ${PN}-silent-18-r1.png
|
|
|
|
|
http://mirror.yandex.ru/calculate/themes/calculate/splash-silent-18-r1.png -> ${PN}-silent-18-r1.png )
|
|
|
|
|
verbose? (
|
|
|
|
|
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-verbose-18.jpg -> ${PN}-verbose-18.jpg
|
|
|
|
|
http://mirror.yandex.ru/calculate/themes/calculate/splash-verbose-18.jpg -> ${PN}-verbose-18.jpg )
|
|
|
|
|
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-silent-${PV}.png -> ${PN}-silent-${PV}.png
|
|
|
|
|
http://mirror.yandex.ru/calculate/themes/calculate/splash-silent-${PV}.png -> ${PN}-silent-${PV}.png )
|
|
|
|
|
silent-shutdown? (
|
|
|
|
|
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-shutdown-18-r1.jpg -> ${PN}-shutdown-18-r1.jpg
|
|
|
|
|
http://mirror.yandex.ru/calculate/themes/calculate/splash-shutdown-18-r1.jpg -> ${PN}-shutdown-18-r1.jpg )"
|
|
|
|
|
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-shutdown-${PV}.jpg -> ${PN}-shutdown-${PV}.jpg
|
|
|
|
|
http://mirror.yandex.ru/calculate/themes/calculate/splash-shutdown-${PV}.jpg -> ${PN}-shutdown-${PV}.jpg )"
|
|
|
|
|
|
|
|
|
|
DEPEND="media-gfx/splashutils
|
|
|
|
|
DEPEND="sys-boot/plymouth-calculate-plugin
|
|
|
|
|
media-fonts/droid
|
|
|
|
|
!<sys-apps/calculate-utils-3.5.2.6"
|
|
|
|
|
!<sys-apps/calculate-utils-3.5.4"
|
|
|
|
|
|
|
|
|
|
# need for templates
|
|
|
|
|
RDEPEND="${DEPEND}
|
|
|
|
@ -38,15 +35,11 @@ src_install() {
|
|
|
|
|
insinto /usr/share/themes/Calculate/
|
|
|
|
|
if use silent
|
|
|
|
|
then
|
|
|
|
|
newins "${DISTDIR}"/${PN}-silent-18-r1.png splash-silent.png
|
|
|
|
|
newins "${DISTDIR}"/${PN}-silent-${PV}.png splash-silent.png
|
|
|
|
|
fi
|
|
|
|
|
if use silent-shutdown
|
|
|
|
|
then
|
|
|
|
|
newins "${DISTDIR}"/${PN}-shutdown-18-r1.jpg splash-shutdown.jpg
|
|
|
|
|
fi
|
|
|
|
|
if use verbose
|
|
|
|
|
then
|
|
|
|
|
newins "${DISTDIR}"/${PN}-verbose-${PV}.jpg splash-verbose.jpg
|
|
|
|
|
newins "${DISTDIR}"/${PN}-shutdown-${PV}.jpg splash-shutdown.jpg
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|