Gentoo Archives: gentoo-commits

From: "Michael Januszewski (spock)" <spock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xfractint: ChangeLog xfractint-20.04_p09-r1.ebuild
Date: Thu, 30 Sep 2010 10:51:00
Message-Id: 20100930105053.9268A20051@flycatcher.gentoo.org
1 spock 10/09/30 10:50:53
2
3 Modified: ChangeLog
4 Added: xfractint-20.04_p09-r1.ebuild
5 Log:
6 Respect LDFLAGS in the ebuild, switch to EAPI 2 (bug #336340).
7
8 (Portage version: 2.1.9.12/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.55 x11-misc/xfractint/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xfractint/ChangeLog?rev=1.55&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xfractint/ChangeLog?rev=1.55&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xfractint/ChangeLog?r1=1.54&r2=1.55
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xfractint/ChangeLog,v
20 retrieving revision 1.54
21 retrieving revision 1.55
22 diff -u -r1.54 -r1.55
23 --- ChangeLog 15 Oct 2008 17:29:01 -0000 1.54
24 +++ ChangeLog 30 Sep 2010 10:50:53 -0000 1.55
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-misc/xfractint
27 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/ChangeLog,v 1.54 2008/10/15 17:29:01 spock Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/ChangeLog,v 1.55 2010/09/30 10:50:53 spock Exp $
31 +
32 +*xfractint-20.04_p09-r1 (30 Sep 2010)
33 +
34 + 30 Sep 2010; Michał Januszewski <spock@g.o>
35 + +xfractint-20.04_p09-r1.ebuild, +files/xfractint-20.04p09-ldflags.patch:
36 + Respect LDFLAGS in the ebuild, switch to EAPI 2 (bug #336340).
37
38 15 Oct 2008; Michał Januszewski <spock@g.o>
39 -files/xfractint-20.4.03-makefile.patch, -xfractint-20.04_p03.ebuild:
40
41
42
43 1.1 x11-misc/xfractint/xfractint-20.04_p09-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xfractint/xfractint-20.04_p09-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xfractint/xfractint-20.04_p09-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: xfractint-20.04_p09-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/xfractint-20.04_p09-r1.ebuild,v 1.1 2010/09/30 10:50:53 spock Exp $
53
54 EAPI=2
55
56 inherit eutils toolchain-funcs
57
58 MY_P=${P/_}
59
60 DESCRIPTION="a fractal generator"
61 HOMEPAGE="http://www.fractint.org"
62 SRC_URI="http://www.fractint.org/ftp/current/linux/${MY_P}.tar.gz"
63
64 LICENSE="freedist"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
67 IUSE=""
68
69 RDEPEND="x11-libs/libX11"
70 DEPEND="${RDEPEND}"
71 # x86? ( dev-lang/nasm )"
72
73 S="${WORKDIR}/${MY_P}"
74
75 src_prepare() {
76 epatch "${FILESDIR}/xfractint-20.04p09-ldflags.patch"
77 }
78
79 src_compile() {
80 # Untested, any x86 archteam dev. is allowed to uncomment this.
81 local myasm="foo"
82 # use x86 && myasm="/usr/bin/nasm"
83 emake CC="$(tc-getCC)" AS="${myasm}" OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed."
84 }
85
86 src_install() {
87 emake DESTDIR="${D}/usr" STRIP="true" install || die "emake install failed."
88 newenvd "${FILESDIR}"/xfractint.envd 60xfractint
89 }
90
91 pkg_postinst() {
92 elog "XFractInt requires the FRACTDIR variable to be set in order to start."
93 elog "Please re-login or \`source /etc/profile\` to have this variable set."
94 }