1 |
chithanh 14/09/03 22:28:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: raspberrypi-userland-0_pre20140830.ebuild |
5 |
Log: |
6 |
New snapshot. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2324E7B566DF2611!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 media-libs/raspberrypi-userland/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- ChangeLog 23 Jan 2014 13:33:18 -0000 1.5 |
24 |
+++ ChangeLog 3 Sep 2014 22:28:11 -0000 1.6 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-libs/raspberrypi-userland |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog,v 1.5 2014/01/23 13:33:18 chithanh Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/ChangeLog,v 1.6 2014/09/03 22:28:11 chithanh Exp $ |
30 |
+ |
31 |
+*raspberrypi-userland-0_pre20140830 (03 Sep 2014) |
32 |
+ |
33 |
+ 03 Sep 2014; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
34 |
+ +raspberrypi-userland-0_pre20140830.ebuild: |
35 |
+ New snapshot. |
36 |
|
37 |
*raspberrypi-userland-0_pre20130705-r1 (23 Jan 2014) |
38 |
*raspberrypi-userland-0_pre20140117 (23 Jan 2014) |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140830.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140830.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140830.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: raspberrypi-userland-0_pre20140830.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20140830.ebuild,v 1.1 2014/09/03 22:28:11 chithanh Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit cmake-utils |
56 |
|
57 |
DESCRIPTION="Raspberry Pi userspace tools and libraries" |
58 |
HOMEPAGE="https://github.com/raspberrypi/userland" |
59 |
|
60 |
if [[ ${PV} == 9999* ]]; then |
61 |
inherit git-2 |
62 |
EGIT_REPO_URI="git://github.com/${PN/-//}.git" |
63 |
SRC_URI="" |
64 |
KEYWORDS="" |
65 |
else |
66 |
SRC_URI="mirror://gentoo/${P}.tar.xz" |
67 |
KEYWORDS="~arm" |
68 |
fi |
69 |
|
70 |
LICENSE="BSD" |
71 |
SLOT="0" |
72 |
|
73 |
# TODO: |
74 |
# * port vcfiled init script |
75 |
# * stuff is still installed to hardcoded /opt/vc location, investigate whether |
76 |
# anything else depends on it being there |
77 |
# * live ebuild |
78 |
|
79 |
src_unpack() { |
80 |
if [[ ${PV} == 9999* ]]; then |
81 |
git-2_src_unpack |
82 |
else |
83 |
default |
84 |
mv userland-*/ ${P}/ || die |
85 |
fi |
86 |
} |
87 |
|
88 |
src_prepare() { |
89 |
# init script for Debian, not useful on Gentoo |
90 |
sed -i "/DESTINATION \/etc\/init.d/,+2d" interface/vmcs_host/linux/vcfiled/CMakeLists.txt || die |
91 |
} |
92 |
|
93 |
src_configure() { |
94 |
# toolchain file not needed, but build fails if it is not specified |
95 |
local mycmakeargs="-DCMAKE_TOOLCHAIN_FILE=/dev/null" |
96 |
cmake-utils_src_configure |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
cmake-utils_src_install |
101 |
doenvd "${FILESDIR}"/04${PN} |
102 |
|
103 |
# enable dynamic switching of the GL implementation |
104 |
dodir /usr/lib/opengl |
105 |
dosym ../../../opt/vc /usr/lib/opengl/${PN} |
106 |
|
107 |
# tell eselect opengl that we do not have libGL |
108 |
touch "${ED}"/opt/vc/.gles-only |
109 |
} |