# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit autotools mount-boot DESCRIPTION="Graphical boot animation (splash) and logger" HOMEPAGE="http://cgit.freedesktop.org/plymouth/" SRC_URI="http://cgit.freedesktop.org/${PN}/snapshot/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="pango gdm" DEPEND=">=media-libs/libpng-1.2.16 pango? ( >=x11-libs/pango-1.21 ) >=x11-libs/gtk+-2.12.0 x11-libs/libdrm" RDEPEND="${DEPEND} sys-kernel/dracut" src_prepare() { epatch ${FILESDIR}/0001-Gentoo-does-not-have-dev-fb-but-dev-fb0-at-least-on-.patch eautoreconf || die "eautoreconf failed" } src_configure() { econf $(use_enable pango) $(use_enable gdm gdm-transition) } src_install() { emake install DESTDIR="${D}" || die "install failed" cd ${S}/scripts PLYMOUTH_DESTDIR="${D}/boot" ./plymouth-generate-initrd cd ${S} #work around qa warning rm "${D}"/lib64/libply.la rm "${D}"/lib/libply.la rm "${D}"/lib64/libply.a rm "${D}"/lib/libply.a }