10 |
10 |
LICENSE="Apache-2.0"
|
11 |
11 |
SLOT="0"
|
12 |
12 |
KEYWORDS="amd64 x86"
|
13 |
|
IUSE="+verbose +silent +silent-shutdown"
|
|
13 |
IUSE="+silent +silent-shutdown"
|
14 |
14 |
|
15 |
|
REQUIRED_USE="|| ( verbose silent silent-shutdown )"
|
|
15 |
REQUIRED_USE="|| ( silent silent-shutdown )"
|
16 |
16 |
|
17 |
17 |
SRC_URI="silent? (
|
18 |
|
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-silent-18.jpg -> ${PN}-silent-18.jpg
|
19 |
|
http://mirror.yandex.ru/calculate/themes/calculate/splash-silent-18.jpg -> ${PN}-silent-18.jpg )
|
20 |
|
verbose? (
|
21 |
|
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-verbose-18.jpg -> ${PN}-verbose-18.jpg
|
22 |
|
http://mirror.yandex.ru/calculate/themes/calculate/splash-verbose-18.jpg -> ${PN}-verbose-18.jpg )
|
|
18 |
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-silent-${PV}.png -> ${PN}-silent-${PV}.png
|
|
19 |
http://mirror.yandex.ru/calculate/themes/calculate/splash-silent-${PV}.png -> ${PN}-silent-${PV}.png )
|
23 |
20 |
silent-shutdown? (
|
24 |
|
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-shutdown-18-r1.jpg -> ${PN}-shutdown-18-r1.jpg
|
25 |
|
http://mirror.yandex.ru/calculate/themes/calculate/splash-shutdown-18-r1.jpg -> ${PN}-shutdown-18-r1.jpg )"
|
|
21 |
ftp://ftp.calculate-linux.org/calculate/themes/calculate/splash-shutdown-${PV}.jpg -> ${PN}-shutdown-${PV}.jpg
|
|
22 |
http://mirror.yandex.ru/calculate/themes/calculate/splash-shutdown-${PV}.jpg -> ${PN}-shutdown-${PV}.jpg )"
|
26 |
23 |
|
27 |
|
DEPEND="media-gfx/splashutils
|
|
24 |
DEPEND="sys-boot/plymouth-calculate-plugin
|
|
25 |
sys-boot/plymouth-openrc-plugin
|
28 |
26 |
media-fonts/droid
|
29 |
|
!<sys-apps/calculate-utils-3.5.2.6"
|
|
27 |
!<sys-apps/calculate-utils-3.5.4"
|
30 |
28 |
|
31 |
29 |
# need for templates
|
32 |
30 |
RDEPEND="${DEPEND}
|
... | ... | |
39 |
37 |
insinto /usr/share/themes/Calculate/
|
40 |
38 |
if use silent
|
41 |
39 |
then
|
42 |
|
newins "${DISTDIR}"/${PN}-silent-${PV}.jpg splash-silent.jpg
|
|
40 |
newins "${DISTDIR}"/${PN}-silent-${PV}.png splash-silent.png
|
43 |
41 |
fi
|
44 |
42 |
if use silent-shutdown
|
45 |
43 |
then
|
46 |
|
newins "${DISTDIR}"/${PN}-shutdown-18-r1.jpg splash-shutdown.jpg
|
47 |
|
fi
|
48 |
|
if use verbose
|
49 |
|
then
|
50 |
|
newins "${DISTDIR}"/${PN}-verbose-${PV}.jpg splash-verbose.jpg
|
|
44 |
newins "${DISTDIR}"/${PN}-shutdown-${PV}.jpg splash-shutdown.jpg
|
51 |
45 |
fi
|
52 |
46 |
}
|
53 |
47 |
|