Annotation of /branches/magellan-next/core/plymouth/plymouth-0.8.4_20110801-r1.smage2
Parent Directory
|
Revision Log
Revision 8819 -
(hide annotations)
(download)
Tue Aug 2 07:45:29 2011 UTC (12 years, 10 months ago) by niro
File size: 2617 byte(s)
Tue Aug 2 07:45:29 2011 UTC (12 years, 10 months ago) by niro
File size: 2617 byte(s)
auto added: ver bump to 0.8.4_20110801-r1
1 | niro | 8819 | # $Id$ |
2 | |||
3 | PNAME="plymouth" | ||
4 | PVER="0.8.4_20110801" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | |||
9 | DESCRIPTION="Graphical Boot Animation and Logger." | ||
10 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/Plymouth" | ||
11 | |||
12 | DEPEND=">= media-libs/libpng-1.5 | ||
13 | >= x11-libs/pango-1.28 | ||
14 | >= x11-libs/cairo-1.20" | ||
15 | |||
16 | SDEPEND=">= dev-util/pkgconfig-0.25 | ||
17 | >= virtual/kernel-headers" | ||
18 | |||
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
21 | |||
22 | sminclude mtools | ||
23 | |||
24 | SRC_URI=( | ||
25 | http://www.freedesktop.org/software/${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/boot-duration | ||
28 | mirror://${PNAME}/charge.plymouth | ||
29 | mirror://${PNAME}/magellan-sign.png | ||
30 | ) | ||
31 | |||
32 | UP2DATE="updatecmd http://www.freedesktop.org/software/plymouth/releases/ | lasttarball" | ||
33 | |||
34 | src_prepare() | ||
35 | { | ||
36 | munpack ${SRCFILE} || die | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | # let new-kernel-pkg decide how to handle initramfs updates (dracut or mkinird) | ||
40 | cat > scripts/plymouth-update-initrd << EOF | ||
41 | #!/bin/bash | ||
42 | /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --install $(uname -r) | ||
43 | EOF | ||
44 | |||
45 | # make charge to the default plugin | ||
46 | sed -i 's:fade-in:charge:g' src/plymouthd.defaults || die | ||
47 | |||
48 | # git - missing configure | ||
49 | mautoreconf || die | ||
50 | } | ||
51 | |||
52 | src_compile() | ||
53 | { | ||
54 | cd ${SRCDIR} | ||
55 | |||
56 | mconfigure \ | ||
57 | --libexecdir=/usr/$(mlibdir)/${PNAME} \ | ||
58 | --enable-tracing \ | ||
59 | --disable-tests \ | ||
60 | --disable-gdm-transition \ | ||
61 | --enable-systemd-integration \ | ||
62 | --with-system-root-install \ | ||
63 | --without-log-viewer \ | ||
64 | --with-logo=/usr/share/plymouth/magellan-logo.png \ | ||
65 | || die | ||
66 | |||
67 | mmake || die | ||
68 | } | ||
69 | |||
70 | src_install() | ||
71 | { | ||
72 | cd ${SRCDIR} | ||
73 | mmake DESTDIR=${BINDIR} install || die | ||
74 | |||
75 | # install magellan-logo | ||
76 | minstalldir /usr/share/plymouth || die | ||
77 | minstallfile -s magellan-sign.png /usr/share/plymouth/magellan-logo.png || die | ||
78 | |||
79 | # install boot-duration for initrd | ||
80 | minstalldir /usr/share/plymouth || die | ||
81 | minstalldir /var/lib/plymouth || die | ||
82 | minstallfile -s boot-duration /usr/share/plymouth/default-boot-duration || die | ||
83 | minstallfile -s boot-duration /var/lib/plymouth || die | ||
84 | |||
85 | # install charge plugin from fedora | ||
86 | minstalldir /usr/share/plymouth/themes/charge || die | ||
87 | minstallfile -s charge.plymouth /usr/share/plymouth/themes/charge || die | ||
88 | minstallfile ${BINDIR}/usr/share/plymouth/themes/glow/box.png /usr/share/plymouth/themes/charge || die | ||
89 | minstallfile ${BINDIR}/usr/share/plymouth/themes/glow/bullet.png /usr/share/plymouth/themes/charge || die | ||
90 | minstallfile ${BINDIR}/usr/share/plymouth/themes/glow/entry.png /usr/share/plymouth/themes/charge || die | ||
91 | minstallfile ${BINDIR}/usr/share/plymouth/themes/glow/lock.png /usr/share/plymouth/themes/charge || die | ||
92 | |||
93 | minstalldocs AUTHORS ChangeLog COPYING NEWS README TODO || die | ||
94 | } |