/[gentoo-x86]/sys-boot/plymouth/plymouth-0.8.4.ebuild
Gentoo

Contents of /sys-boot/plymouth/plymouth-0.8.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Mar 25 19:42:56 2012 UTC (2 years, 4 months ago) by a3li
Branch: MAIN
Version bump. Removing 0.9 pre snapshot as upstream decided to go on with the 0.8 series.

(Portage version: 2.2.0_alpha83/cvs/Linux x86_64)

1 a3li 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/plymouth-0.9_pre20111013-r1.ebuild,v 1.4 2012/03/13 11:27:36 aidecoe Exp $
4    
5     EAPI=4
6    
7     inherit autotools-utils
8    
9     DESCRIPTION="Graphical boot animation (splash) and logger"
10     HOMEPAGE="http://cgit.freedesktop.org/plymouth/"
11     SRC_URI="
12     http://www.freedesktop.org/software/plymouth/releases/${P}.tar.bz2
13     http://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
14    
15     LICENSE="GPL-2"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86"
18     IUSE_VIDEO_CARDS="video_cards_intel video_cards_nouveau video_cards_radeon"
19     IUSE="${IUSE_VIDEO_CARDS} debug gdm +libkms +openrc +pango static-libs"
20    
21     CDEPEND=">=media-libs/libpng-1.2.16
22     >=x11-libs/gtk+-2.12:2
23     libkms? ( x11-libs/libdrm[libkms] )
24     pango? ( >=x11-libs/pango-1.21 )
25     video_cards_intel? ( x11-libs/libdrm[video_cards_intel] )
26     video_cards_nouveau? ( x11-libs/libdrm[video_cards_nouveau] )
27     video_cards_radeon? ( x11-libs/libdrm[video_cards_radeon] )
28     "
29     DEPEND="${CDEPEND}
30     dev-util/pkgconfig
31     "
32     RDEPEND="${CDEPEND}
33     >=sys-kernel/dracut-008-r1[dracut_modules_plymouth]
34     openrc? ( sys-boot/plymouth-openrc-plugin !sys-apps/systemd )
35     "
36    
37     DOCS=(AUTHORS README TODO)
38    
39     src_prepare() {
40     autotools-utils_src_prepare
41     eautoreconf
42     }
43    
44     src_configure() {
45     local myeconfargs=(
46     --with-system-root-install
47     --localstatedir=/var
48     $(use_enable debug tracing)
49     $(use_enable libkms)
50     $(use_enable pango)
51     $(use_enable gdm gdm-transition)
52     $(use_enable video_cards_intel libdrm_intel)
53     $(use_enable video_cards_nouveau libdrm_nouveau)
54     $(use_enable video_cards_radeon libdrm_radeon)
55     )
56     autotools-utils_src_configure
57     }
58    
59     src_install() {
60     autotools-utils_src_install
61    
62     if use static-libs; then
63     mv "${D}/$(get_libdir)"/libply{,-splash-core}.a \
64     "${D}/usr/$(get_libdir)"/ || die 'mv *.a files failed'
65     gen_usr_ldscript libply.so libply-splash-core.so
66     else
67     local la
68     for la in "${D}/usr/$(get_libdir)"/plymouth/{*.la,renderers/*.la}; do
69     einfo "Removing left ${la#${D}}"
70     rm "${la}" || die "rm '${la}'"
71     done
72     fi
73    
74     insinto /usr/share/plymouth
75     newins "${DISTDIR}"/gentoo-logo.png bizcom.png
76     }
77    
78     pkg_postinst() {
79     elog "Follow instructions on"
80     elog ""
81     elog " http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml"
82     elog ""
83     elog "to set up Plymouth."
84     }

  ViewVC Help
Powered by ViewVC 1.1.20