Gentoo Archives: gentoo-commits

From: "Krzysiek Pawlik (nelchael)" <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/tuxonice-userui: ChangeLog tuxonice-userui-1.0.ebuild
Date: Sat, 04 Apr 2009 11:40:42
Message-Id: E1Lq4Eq-0002zb-BL@stork.gentoo.org
1 nelchael 09/04/04 11:40:40
2
3 Modified: ChangeLog
4 Added: tuxonice-userui-1.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.6.11/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.12 sys-apps/tuxonice-userui/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tuxonice-userui/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tuxonice-userui/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tuxonice-userui/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/tuxonice-userui/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 22 Feb 2009 20:46:03 -0000 1.11
23 +++ ChangeLog 4 Apr 2009 11:40:40 -0000 1.12
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/tuxonice-userui
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tuxonice-userui/ChangeLog,v 1.11 2009/02/22 20:46:03 nelchael Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tuxonice-userui/ChangeLog,v 1.12 2009/04/04 11:40:40 nelchael Exp $
29 +
30 +*tuxonice-userui-1.0 (04 Apr 2009)
31 +
32 + 04 Apr 2009; Krzysiek Pawlik <nelchael@g.o>
33 + +files/tuxonice-userui-1.0-Makefiles.patch, +tuxonice-userui-1.0.ebuild:
34 + Version bump.
35
36 22 Feb 2009; Krzysiek Pawlik <nelchael@g.o>
37 tuxonice-userui-0.7.3.ebuild:
38
39
40
41 1.1 sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tuxonice-userui-1.0.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild,v 1.1 2009/04/04 11:40:40 nelchael Exp $
51
52 EAPI="2"
53
54 inherit toolchain-funcs eutils
55
56 DESCRIPTION="User Interface for TuxOnIce"
57 HOMEPAGE="http://www.tuxonice.net"
58 SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63
64 IUSE="fbsplash"
65 DEPEND="fbsplash? ( >=media-gfx/splashutils-1.5.2.1
66 media-libs/libmng[lcms] )"
67 RDEPEND="${DEPEND}"
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${FILESDIR}/${P}-Makefiles.patch"
73 }
74
75 src_compile() {
76 # Package contain binaries
77 emake clean
78
79 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
80 tuxoniceui_text || die "emake tuxoniceui_text failed"
81
82 if use fbsplash; then
83 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
84 tuxoniceui_fbsplash || die "emake tuxoniceui_fbsplash failed"
85 fi
86 }
87
88 src_install() {
89 into /
90 dosbin tuxoniceui_text
91 use fbsplash && dosbin tuxoniceui_fbsplash
92 dodoc AUTHORS ChangeLog KERNEL_API README TODO USERUI_API
93 }
94
95 pkg_postinst() {
96 if use fbsplash; then
97 einfo
98 einfo "You must create a symlink from /etc/splash/tuxonice"
99 einfo "to the theme you want tuxonice to use, e.g.:"
100 einfo
101 einfo " # ln -sfn /etc/splash/emergence /etc/splash/tuxonice"
102 fi
103 einfo
104 einfo "Please see /usr/share/doc/${PF}/README.* for further"
105 einfo "instructions."
106 einfo
107 }