plymouth: install dejavu fonts in correct dir in the initramfs-tools hook.
This commit is contained in:
parent
87cb6e92b2
commit
6cae1c911d
2 changed files with 4 additions and 5 deletions
|
@ -73,11 +73,11 @@ case "$(basename ${THEME} .plymouth)" in
|
|||
cp /usr/share/plymouth/xbps-logo.png "${DESTDIR}/usr/share/plymouth"
|
||||
|
||||
# copy files for font rendering
|
||||
mkdir -p "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu"
|
||||
mkdir -p "${DESTDIR}/usr/share/fonts/TTF"
|
||||
mkdir -p "${DESTDIR}/etc/fonts/conf.d"
|
||||
mkdir -p "${DESTDIR}/var/cache/fontconfig"
|
||||
cp -a /usr/share/fonts/TTF/DejaVuSerif.ttf "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu"
|
||||
cp -a /usr/share/fonts/TTF/DejaVuSans.ttf "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu"
|
||||
cp -a /usr/share/fonts/TTF/DejaVuSerif.ttf "${DESTDIR}/usr/share/fonts/TTF"
|
||||
cp -a /usr/share/fonts/TTF/DejaVuSans.ttf "${DESTDIR}/usr/share/fonts/TTF"
|
||||
cp -a /etc/fonts/fonts.conf "${DESTDIR}/etc/fonts"
|
||||
cp -rL /etc/fonts/conf.d/60-latin.conf "${DESTDIR}/etc/fonts/conf.d"
|
||||
if [ -d /usr/lib/pango/1.6.0 ]; then
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'plymouth'
|
||||
pkgname=plymouth
|
||||
version=0.8.3
|
||||
revision=2
|
||||
revision=3
|
||||
patch_args="-Np1"
|
||||
homepage="http://cgit.freedesktop.org/plymouth"
|
||||
distfiles="${homepage}/snapshot/$pkgname-$version.tar.bz2"
|
||||
|
@ -24,7 +24,6 @@ long_desc="
|
|||
subpackages="libplymouth ${pkgname}-x11 ${pkgname}-drm ${pkgname}-devel"
|
||||
conf_files="/etc/plymouth/plymouthd.conf"
|
||||
|
||||
|
||||
Add_dependency build automake
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build gtk+-devel
|
||||
|
|
Loading…
Reference in a new issue