parent
3195ed63ef
commit
0e9731ae2c
@ -1,3 +1,4 @@
|
||||
DIST plymouth-0.9.4.tar.xz 1103496 BLAKE2B abad2cefb89e9d17b77113396d7203090544759b3dd7f73f67153d9f126db28e5366d36aa11e2335566bf4046bebd50d8d9dd47c75634446fb3a0314cd458925 SHA512 83eb2de7e6d0980e9f7fa4e0b0f20c46a8238051d84bc38dbbb5dfa438e41c1a39846dcd652374256d9f1fe79967b154a3576cd9c433ef816b6c962be2d31e93
|
||||
DIST plymouth-0.9.5.tar.xz 1186200 BLAKE2B 8fd073703773fcf7f3e26454c860f094fb4b3d712c56c9df6716ef11815a79f7d5b078ab6c6567b76421026d84a086f95865bf9f3e4ae6363cb1ffc2caa68537 SHA512 686220e8d5b1a8be298156786d979d0e3fb9e010b930d0e8082a2bb152cf07c1bf493d820c243838a1771ee859dc0b4723bd9f10ee434a94a096ce9236c36ce9
|
||||
DIST plymouth-22.02.122.tar.xz 1183608 BLAKE2B 8bb1362fcaa7d4c0fb1b69729a8a681d992a5d2abc07644d3be5cc0b19df2cac83df031165a65fa06f95042f619b9f4b7a7e1f3816528f6623473a2b1303e1be SHA512 9f2f5a7121b431f16561d6b5f31177ff06cf1e6bdffaa68c1fe08aa3c765a96dee745824aae8eaac9a0b4a08f0a17a9ae79a82bd0826fcc3fe14d8553635f817
|
||||
DIST plymouth-5b91b9ed84cc91759c986634a4d64d474e6092cf.tar.gz 1132049 BLAKE2B 0e224aad93fef4039a1a023ece051a64e1fa854f29a814957673c7ba68eb3f2348ca075f59a17f7bad692152ddcc402b2246db413886ac73ad77a36a6fb2cb3c SHA512 3d81ce379d0a11af5b557bfe86e336a40e5abdbb6dbd6cd5e046ede9a46cf2782af75b8e32e3fb2232b8a22efee1890ecb47394742041d9dcb499b38476a814c
|
||||
|
@ -0,0 +1,74 @@
|
||||
[Plymouth Theme]
|
||||
Name=Calculate
|
||||
Description=Calculate spinner theme
|
||||
ModuleName=calculate
|
||||
|
||||
[calculate]
|
||||
Font=DroidSans 12
|
||||
TitleFont=DroidSans 30
|
||||
ImageDir=/usr/share/plymouth/themes/calculate
|
||||
DialogHorizontalAlignment=.5
|
||||
DialogVerticalAlignment=.382
|
||||
TitleHorizontalAlignment=.5
|
||||
TitleVerticalAlignment=.5
|
||||
HorizontalAlignment=.5
|
||||
VerticalAlignment=.5
|
||||
WatermarkHorizontalAlignment=.5
|
||||
WatermarkVerticalAlignment=.5
|
||||
Transition=none
|
||||
TransitionDuration=0.0
|
||||
BackgroundStartColor=0x000000
|
||||
BackgroundEndColor=0x000000
|
||||
ProgressBarBackgroundColor=0x606060
|
||||
ProgressBarForegroundColor=0xffffff
|
||||
DialogClearsFirmwareBackground=true
|
||||
MessageBelowAnimation=true
|
||||
|
||||
[boot-up]
|
||||
UseEndAnimation=false
|
||||
UseFirmwareBackground=false
|
||||
VerticalAlignmentType=below_watermark
|
||||
VerticalAlignment=.0
|
||||
WatermarkImage=/usr/share/plymouth/themes/calculate/boot.png
|
||||
|
||||
[shutdown]
|
||||
UseEndAnimation=false
|
||||
UseFirmwareBackground=false
|
||||
Title=Shutdown...
|
||||
TitleColor=0xaaaaaa
|
||||
VerticalAlignment=.0
|
||||
VerticalAlignmentType=below_title
|
||||
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown
|
||||
|
||||
[reboot]
|
||||
UseEndAnimation=false
|
||||
UseFirmwareBackground=false
|
||||
Title=Reboot...
|
||||
TitleColor=0xaaaaaa
|
||||
VerticalAlignment=.0
|
||||
VerticalAlignmentType=below_title
|
||||
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown
|
||||
|
||||
[updates]
|
||||
UseFirmwareBackground=false
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Installing Updates...
|
||||
SubTitle=Do not turn off your computer
|
||||
|
||||
[system-upgrade]
|
||||
UseFirmwareBackground=false
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading System...
|
||||
SubTitle=Do not turn off your computer
|
||||
|
||||
[firmware-upgrade]
|
||||
UseFirmwareBackground=false
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading Firmware...
|
||||
SubTitle=Do not turn off your computer
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,137 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
MY_P=plymouth-${PV}
|
||||
MY_PN=plymouth
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth"
|
||||
else
|
||||
SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv sparc x86"
|
||||
fi
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
inherit autotools readme.gentoo-r1 systemd
|
||||
|
||||
DESCRIPTION="Graphical boot animation (splash) and logger"
|
||||
HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug +drm +gtk +pango +split-usr static-libs +udev"
|
||||
|
||||
CDEPEND="
|
||||
>=media-libs/libpng-1.2.16:=
|
||||
drm? ( x11-libs/libdrm )
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/gtk+-3.14:3
|
||||
x11-libs/cairo
|
||||
)
|
||||
pango? ( >=x11-libs/pango-1.21 )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
elibc_musl? ( sys-libs/rpmatch-standalone )
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# Block due bug #383067
|
||||
RDEPEND="${CDEPEND}
|
||||
udev? ( virtual/udev )
|
||||
!<sys-kernel/dracut-0.37-r3
|
||||
"
|
||||
|
||||
DOC_CONTENTS="
|
||||
Follow the following instructions to set up Plymouth:\n
|
||||
https://wiki.gentoo.org/wiki/Plymouth#Configuration
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/0.9.3-glibc-sysmacros.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
use elibc_musl && append-ldflags -lrpmatch
|
||||
default
|
||||
cp ${FILESDIR}/0.9.6_pre20211225-plugin.c ${S}/src/plugins/splash/two-step/plugin.c
|
||||
sed -i 's/two-step/calculate/g' ${S}/src/plugins/splash/two-step/Makefile.*
|
||||
sed -i 's/two_step/calculate/g' ${S}/src/plugins/splash/two-step/Makefile.*
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--with-system-root-install=no
|
||||
--localstatedir=/var
|
||||
--without-rhgb-compat-link
|
||||
--enable-documentation
|
||||
--enable-systemd-integration
|
||||
--with-systemdunitdir="$(systemd_get_systemunitdir)"
|
||||
$(use_enable !static-libs shared)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable debug tracing)
|
||||
$(use_enable drm)
|
||||
$(use_enable gtk)
|
||||
$(use_enable pango)
|
||||
$(use_with udev)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd src/libply
|
||||
emake
|
||||
cd ../libply-splash-core
|
||||
emake
|
||||
cd ../libply-splash-graphics
|
||||
emake
|
||||
cd ../plugins/splash/two-step
|
||||
emake
|
||||
}
|
||||
|
||||
# src_install() {
|
||||
# default
|
||||
|
||||
# insinto /usr/share/plymouth
|
||||
# newins "${DISTDIR}"/gentoo-logo.png bizcom.png
|
||||
|
||||
# if use split-usr ; then
|
||||
# # Install compatibility symlinks as some rdeps hardcode the paths
|
||||
# dosym ../usr/bin/plymouth /bin/plymouth
|
||||
# dosym ../usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
|
||||
# dosym ../usr/sbin/plymouthd /sbin/plymouthd
|
||||
# fi
|
||||
|
||||
# readme.gentoo_create_doc
|
||||
|
||||
# # looks like make install create /var/run/plymouth
|
||||
# # this is not needed for systemd, same should hold for openrc
|
||||
# # so remove
|
||||
# rm -rf "${D}"/var/run
|
||||
|
||||
# # fix broken symlink
|
||||
# dosym ../../bizcom.png /usr/share/plymouth/themes/spinfinity/header-image.png
|
||||
# }
|
||||
|
||||
src_install() {
|
||||
cd ${S}/src/plugins/splash/two-step
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
cd ${S}/themes/spinfinity
|
||||
|
||||
insinto /usr/share/plymouth/themes/calculate
|
||||
doins box.png bullet.png entry.png lock.png
|
||||
|
||||
cd ${S}/themes/spinner
|
||||
doins throbber-00*.png
|
||||
|
||||
newins ${FILESDIR}/0.9.6_pre20211225-calculate.plymouth calculate.plymouth
|
||||
}
|
Loading…
Reference in new issue