Gentoo Archives: gentoo-commits

From: "Joseph Jezak (josejx)" <josejx@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/libspe2: ChangeLog libspe2-2.2.80_p95-r1.ebuild libspe2-2.3.0_p135.ebuild
Date: Fri, 26 Dec 2008 14:58:25
Message-Id: E1LGE8s-0005Dz-0y@stork.gentoo.org
1 josejx 08/12/26 14:58:22
2
3 Modified: ChangeLog libspe2-2.2.80_p95-r1.ebuild
4 Added: libspe2-2.3.0_p135.ebuild
5 Log:
6 Marked 2.2.80_p95 stable on ppc/ppc64. Added 2.3.0.135.
7 (Portage version: 2.1.4.5)
8
9 Revision Changes Path
10 1.4 sys-libs/libspe2/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/libspe2/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 12 Dec 2007 01:35:33 -0000 1.3
23 +++ ChangeLog 26 Dec 2008 14:58:21 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-libs/libspe2
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/ChangeLog,v 1.3 2007/12/12 01:35:33 lu_zero Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/ChangeLog,v 1.4 2008/12/26 14:58:21 josejx Exp $
30 +
31 +*libspe2-2.3.0_p135 (26 Dec 2008)
32 +
33 + 26 Dec 2008; Joseph Jezak <josejx@g.o>
34 + libspe2-2.2.80_p95-r1.ebuild, +libspe2-2.3.0_p135.ebuild:
35 + Marked 2.2.80_p95 stable on ppc/ppc64. Added 2.3.0.135.
36
37 12 Dec 2007; Luca Barbato <lu_zero@g.o>
38 libspe2-2.2.80_p95-r1.ebuild:
39
40
41
42 1.3 sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild?rev=1.3&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild?rev=1.3&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild?r1=1.2&r2=1.3
47
48 Index: libspe2-2.2.80_p95-r1.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild,v
51 retrieving revision 1.2
52 retrieving revision 1.3
53 diff -u -r1.2 -r1.3
54 --- libspe2-2.2.80_p95-r1.ebuild 12 Dec 2007 01:35:33 -0000 1.2
55 +++ libspe2-2.2.80_p95-r1.ebuild 26 Dec 2008 14:58:21 -0000 1.3
56 @@ -1,6 +1,6 @@
57 -# Copyright 1999-2007 Gentoo Foundation
58 +# Copyright 1999-2008 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild,v 1.2 2007/12/12 01:35:33 lu_zero Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/libspe2-2.2.80_p95-r1.ebuild,v 1.3 2008/12/26 14:58:21 josejx Exp $
62 inherit eutils
63
64 MY_P=${P/_p/-}
65 @@ -11,7 +11,7 @@
66
67 LICENSE="LGPL-2"
68 SLOT="0"
69 -KEYWORDS="~ppc ~ppc64"
70 +KEYWORDS="ppc ppc64"
71 IUSE="debug"
72
73 S="${WORKDIR}/${P//_p*}"
74
75
76
77 1.1 sys-libs/libspe2/libspe2-2.3.0_p135.ebuild
78
79 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/libspe2-2.3.0_p135.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libspe2/libspe2-2.3.0_p135.ebuild?rev=1.1&content-type=text/plain
81
82 Index: libspe2-2.3.0_p135.ebuild
83 ===================================================================
84 # Copyright 1999-2008 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libspe2/libspe2-2.3.0_p135.ebuild,v 1.1 2008/12/26 14:58:21 josejx Exp $
87 inherit eutils
88
89 MY_P=${P/_p/.}
90
91 DESCRIPTION="A wrapper library to adapt the JSRE SPU usage model to SPUFS"
92 HOMEPAGE="http://sourceforge/projects/libspe"
93 SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz"
94
95 LICENSE="LGPL-2"
96 SLOT="0"
97 KEYWORDS="~ppc ~ppc64"
98 IUSE="debug"
99
100 S="${WORKDIR}/${P/_p*//}"
101
102 DEPEND=""
103 # This packages also provides libspe1
104 RDEPEND="!sys-libs/libspe"
105
106 export CBUILD=${CBUILD:-${CHOST}}
107 export CTARGET=${CTARGET:-${CHOST}}
108
109 if [[ ${CTARGET} == ${CHOST} ]] ; then
110 if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
111 export CTARGET=${CATEGORY/cross-}
112 fi
113 fi
114
115 if [[ ${CTARGET} == ${CHOST} ]] ; then
116 SYSROOT=""
117 else
118 SYSROOT="/usr/${CTARGET}"
119 fi
120
121 src_unpack () {
122 unpack ${A}
123 #just in case something is missing
124 cd "${S}"
125 echo "${S}"
126 }
127
128 src_compile() {
129 myconf=""
130 use debug && myconf="${myconf} DEBUG=1"
131 make all elfspe-all CROSS="${CTARGET}-" \
132 prefix=/usr SYSROOT="$SYSROOT" ${myconf} \
133 speinclude=/usr/spu-elf/include || die
134 }
135
136 src_install() {
137 make CROSS="${CTARGET}-" prefix=/usr \
138 speinclude=/usr/spu-elf/include \
139 SYSROOT="$SYSROOT" \
140 DESTDIR="$D" install elfspe-install || die
141 newinitd "${FILESDIR}/spe.rc6" elfspe
142 }
143
144 pkg_postinst() {
145 einfo "You may want to register elfspe to binfmt using the"
146 einfo "provided initscript"
147 einfo "# rc-update add elfspe boot"
148 ewarn "make sure your fstab contains the following line"
149 ewarn "none /spu spufs defaults
150 0 0"
151 ewarn "and that you have spufs support enabled in the kernel"
152 }