Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/raspberrypi-userland: raspberrypi-userland-0_pre20140117.ebuild raspberrypi-userland-0_pre20130705-r1.ebuild ChangeLog raspberrypi-userland-0_pre20121024.ebuild raspberrypi-userland-0_pre20130705.ebuild raspberrypi-userland-0_pre20130131.ebuild
Date: Thu, 23 Jan 2014 13:33:23
Message-Id: 20140123133318.334EF2004C@flycatcher.gentoo.org
1 chithanh 14/01/23 13:33:18
2
3 Modified: ChangeLog
4 Added: raspberrypi-userland-0_pre20140117.ebuild
5 raspberrypi-userland-0_pre20130705-r1.ebuild
6 Removed: raspberrypi-userland-0_pre20121024.ebuild
7 raspberrypi-userland-0_pre20130705.ebuild
8 raspberrypi-userland-0_pre20130131.ebuild
9 Log:
10 New snapshot. Use correct path in env.d file, bug #494976.
11
12 (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
13
14 Revision Changes Path
15 1.5 media-libs/raspberrypi-userland/ChangeLog
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog?rev=1.5&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog?rev=1.5&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog?r1=1.4&r2=1.5
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog,v
24 retrieving revision 1.4
25 retrieving revision 1.5
26 diff -u -r1.4 -r1.5
27 --- ChangeLog 13 Jul 2013 17:13:52 -0000 1.4
28 +++ ChangeLog 23 Jan 2014 13:33:18 -0000 1.5
29 @@ -1,6 +1,17 @@
30 # ChangeLog for media-libs/raspberrypi-userland
31 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog,v 1.4 2013/07/13 17:13:52 chithanh Exp $
33 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
34 +# $Header: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog,v 1.5 2014/01/23 13:33:18 chithanh Exp $
35 +
36 +*raspberrypi-userland-0_pre20130705-r1 (23 Jan 2014)
37 +*raspberrypi-userland-0_pre20140117 (23 Jan 2014)
38 +
39 + 23 Jan 2014; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
40 + +raspberrypi-userland-0_pre20130705-r1.ebuild,
41 + +raspberrypi-userland-0_pre20140117.ebuild,
42 + -raspberrypi-userland-0_pre20121024.ebuild,
43 + -raspberrypi-userland-0_pre20130131.ebuild,
44 + -raspberrypi-userland-0_pre20130705.ebuild, files/04raspberrypi-userland:
45 + New snapshot. Use correct path in env.d file, bug #494976.
46
47 *raspberrypi-userland-0_pre20130705 (13 Jul 2013)
48
49
50
51
52 1.1 media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140117.ebuild
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140117.ebuild?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140117.ebuild?rev=1.1&content-type=text/plain
56
57 Index: raspberrypi-userland-0_pre20140117.ebuild
58 ===================================================================
59 # Copyright 1999-2014 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 # $Header: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140117.ebuild,v 1.1 2014/01/23 13:33:18 chithanh Exp $
62
63 EAPI=5
64
65 inherit cmake-utils
66
67 DESCRIPTION="Raspberry Pi userspace tools and libraries"
68 HOMEPAGE="https://github.com/raspberrypi/userland"
69
70 if [[ ${PV} == 9999* ]]; then
71 inherit git-2
72 EGIT_REPO_URI="git://github.com/${PN/-//}.git"
73 SRC_URI=""
74 KEYWORDS=""
75 else
76 SRC_URI="mirror://gentoo/${P}.tar.xz"
77 KEYWORDS="~arm"
78 fi
79
80 LICENSE="BSD"
81 SLOT="0"
82
83 # TODO:
84 # * port vcfiled init script
85 # * stuff is still installed to hardcoded /opt/vc location, investigate whether
86 # anything else depends on it being there
87 # * live ebuild
88
89 src_unpack() {
90 if [[ ${PV} == 9999* ]]; then
91 git-2_src_unpack
92 else
93 default
94 mv userland-*/ ${P}/ || die
95 fi
96 }
97
98 src_prepare() {
99 # init script for Debian, not useful on Gentoo
100 sed -i "/DESTINATION \/etc\/init.d/,+2d" interface/vmcs_host/linux/vcfiled/CMakeLists.txt || die
101 }
102
103 src_configure() {
104 # toolchain file not needed, but build fails if it is not specified
105 local mycmakeargs="-DCMAKE_TOOLCHAIN_FILE=/dev/null"
106 cmake-utils_src_configure
107 }
108
109 src_install() {
110 cmake-utils_src_install
111 doenvd "${FILESDIR}"/04${PN}
112
113 # enable dynamic switching of the GL implementation
114 dodir /usr/lib/opengl
115 dosym ../../../opt/vc /usr/lib/opengl/${PN}
116
117 # tell eselect opengl that we do not have libGL
118 touch "${ED}"/opt/vc/.gles-only
119 }
120
121
122
123 1.1 media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20130705-r1.ebuild
124
125 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20130705-r1.ebuild?rev=1.1&view=markup
126 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20130705-r1.ebuild?rev=1.1&content-type=text/plain
127
128 Index: raspberrypi-userland-0_pre20130705-r1.ebuild
129 ===================================================================
130 # Copyright 1999-2014 Gentoo Foundation
131 # Distributed under the terms of the GNU General Public License v2
132 # $Header: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20130705-r1.ebuild,v 1.1 2014/01/23 13:33:18 chithanh Exp $
133
134 EAPI=5
135
136 inherit cmake-utils
137
138 DESCRIPTION="Raspberry Pi userspace tools and libraries"
139 HOMEPAGE="https://github.com/raspberrypi/userland"
140
141 if [[ ${PV} == 9999* ]]; then
142 inherit git-2
143 EGIT_REPO_URI="git://github.com/${PN/-//}.git"
144 SRC_URI=""
145 KEYWORDS=""
146 else
147 SRC_URI="mirror://gentoo/${P}.tar.xz"
148 KEYWORDS="~arm"
149 fi
150
151 LICENSE="BSD"
152 SLOT="0"
153
154 # TODO:
155 # * port vcfiled init script
156 # * stuff is still installed to hardcoded /opt/vc location, investigate whether
157 # anything else depends on it being there
158 # * live ebuild
159
160 src_unpack() {
161 if [[ ${PV} == 9999* ]]; then
162 git-2_src_unpack
163 else
164 default
165 mv userland-*/ ${P}/ || die
166 fi
167 }
168
169 src_prepare() {
170 # init script for Debian, not useful on Gentoo
171 sed -i "/DESTINATION \/etc\/init.d/,+2d" interface/vmcs_host/linux/vcfiled/CMakeLists.txt || die
172 }
173
174 src_configure() {
175 # toolchain file not needed, but build fails if it is not specified
176 local mycmakeargs="-DCMAKE_TOOLCHAIN_FILE=/dev/null"
177 cmake-utils_src_configure
178 }
179
180 src_install() {
181 cmake-utils_src_install
182 doenvd "${FILESDIR}"/04${PN}
183
184 # enable dynamic switching of the GL implementation
185 dodir /usr/lib/opengl
186 dosym ../../../opt/vc /usr/lib/opengl/${PN}
187
188 # tell eselect opengl that we do not have libGL
189 touch "${ED}"/opt/vc/.gles-only
190 }