1 |
mattst88 14/01/23 23:24:59 |
2 |
|
3 |
Modified: waffle-1.3.0-r1.ebuild ChangeLog |
4 |
Added: waffle-9999.ebuild |
5 |
Log: |
6 |
Add waffle git ebuild thanks to Dylan Baker <baker.dylan.c@×××××.com> |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 974CA72A) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 media-libs/waffle/waffle-1.3.0-r1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/waffle/waffle-1.3.0-r1.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/waffle/waffle-1.3.0-r1.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/waffle/waffle-1.3.0-r1.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: waffle-1.3.0-r1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/waffle/waffle-1.3.0-r1.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- waffle-1.3.0-r1.ebuild 31 Dec 2013 23:08:30 -0000 1.1 |
24 |
+++ waffle-1.3.0-r1.ebuild 23 Jan 2014 23:24:58 -0000 1.2 |
25 |
@@ -1,18 +1,29 @@ |
26 |
-# Copyright 1999-2013 Gentoo Foundation |
27 |
+# Copyright 1999-2014 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/waffle/waffle-1.3.0-r1.ebuild,v 1.1 2013/12/31 23:08:30 mattst88 Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/waffle/waffle-1.3.0-r1.ebuild,v 1.2 2014/01/23 23:24:58 mattst88 Exp $ |
31 |
|
32 |
EAPI=5 |
33 |
|
34 |
-inherit cmake-utils cmake-multilib |
35 |
+EGIT_REPO_URI="git://people.freedesktop.org/~chadversary/waffle" |
36 |
+ |
37 |
+if [[ ${PV} = 9999* ]]; then |
38 |
+ GIT_ECLASS="git-2" |
39 |
+fi |
40 |
+ |
41 |
+inherit cmake-utils cmake-multilib ${GIT_ECLASS} |
42 |
|
43 |
DESCRIPTION="Library that allows selection of GL API and of window system at runtime" |
44 |
HOMEPAGE="http://people.freedesktop.org/~chadversary/waffle/" |
45 |
-SRC_URI="http://people.freedesktop.org/~chadversary/waffle/files/release/${P}/${P}.tar.xz" |
46 |
+ |
47 |
+if [[ $PV = 9999* ]]; then |
48 |
+ KEYWORDS="" |
49 |
+else |
50 |
+ SRC_URI="http://people.freedesktop.org/~chadversary/waffle/files/release/${P}/${P}.tar.xz" |
51 |
+ KEYWORDS="~amd64 ~arm ~x86" |
52 |
+fi |
53 |
|
54 |
LICENSE="BSD-2" |
55 |
SLOT="0" |
56 |
-KEYWORDS="~amd64 ~arm ~x86" |
57 |
IUSE="doc egl gbm test wayland" |
58 |
|
59 |
RDEPEND=" |
60 |
@@ -29,6 +40,11 @@ |
61 |
app-text/docbook-xml-dtd:4.2 |
62 |
)" |
63 |
|
64 |
+src_unpack() { |
65 |
+ default |
66 |
+ [[ $PV = 9999* ]] && git-2_src_unpack |
67 |
+} |
68 |
+ |
69 |
src_configure() { |
70 |
local mycmakeargs=( |
71 |
-Dwaffle_has_glx=ON |
72 |
|
73 |
|
74 |
|
75 |
1.4 media-libs/waffle/ChangeLog |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/waffle/ChangeLog?rev=1.4&view=markup |
78 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/waffle/ChangeLog?rev=1.4&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/waffle/ChangeLog?r1=1.3&r2=1.4 |
80 |
|
81 |
Index: ChangeLog |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/waffle/ChangeLog,v |
84 |
retrieving revision 1.3 |
85 |
retrieving revision 1.4 |
86 |
diff -u -r1.3 -r1.4 |
87 |
--- ChangeLog 31 Dec 2013 23:08:30 -0000 1.3 |
88 |
+++ ChangeLog 23 Jan 2014 23:24:59 -0000 1.4 |
89 |
@@ -1,6 +1,12 @@ |
90 |
# ChangeLog for media-libs/waffle |
91 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
92 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/waffle/ChangeLog,v 1.3 2013/12/31 23:08:30 mattst88 Exp $ |
93 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
94 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/waffle/ChangeLog,v 1.4 2014/01/23 23:24:59 mattst88 Exp $ |
95 |
+ |
96 |
+*waffle-9999 (23 Jan 2014) |
97 |
+ |
98 |
+ 23 Jan 2014; Matt Turner <mattst88@g.o> +waffle-9999.ebuild, |
99 |
+ waffle-1.3.0-r1.ebuild: |
100 |
+ Add waffle git ebuild thanks to Dylan Baker <baker.dylan.c@×××××.com> |
101 |
|
102 |
*waffle-1.3.0-r1 (31 Dec 2013) |
103 |
|
104 |
|
105 |
|
106 |
|
107 |
1.1 media-libs/waffle/waffle-9999.ebuild |
108 |
|
109 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/waffle/waffle-9999.ebuild?rev=1.1&view=markup |
110 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/waffle/waffle-9999.ebuild?rev=1.1&content-type=text/plain |
111 |
|
112 |
Index: waffle-9999.ebuild |
113 |
=================================================================== |
114 |
# Copyright 1999-2014 Gentoo Foundation |
115 |
# Distributed under the terms of the GNU General Public License v2 |
116 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/waffle/waffle-9999.ebuild,v 1.1 2014/01/23 23:24:58 mattst88 Exp $ |
117 |
|
118 |
EAPI=5 |
119 |
|
120 |
EGIT_REPO_URI="git://people.freedesktop.org/~chadversary/waffle" |
121 |
|
122 |
if [[ ${PV} = 9999* ]]; then |
123 |
GIT_ECLASS="git-2" |
124 |
fi |
125 |
|
126 |
inherit cmake-utils cmake-multilib ${GIT_ECLASS} |
127 |
|
128 |
DESCRIPTION="Library that allows selection of GL API and of window system at runtime" |
129 |
HOMEPAGE="http://people.freedesktop.org/~chadversary/waffle/" |
130 |
|
131 |
if [[ $PV = 9999* ]]; then |
132 |
KEYWORDS="" |
133 |
else |
134 |
SRC_URI="http://people.freedesktop.org/~chadversary/waffle/files/release/${P}/${P}.tar.xz" |
135 |
KEYWORDS="~amd64 ~arm ~x86" |
136 |
fi |
137 |
|
138 |
LICENSE="BSD-2" |
139 |
SLOT="0" |
140 |
IUSE="doc egl gbm test wayland" |
141 |
|
142 |
RDEPEND=" |
143 |
media-libs/mesa[egl?,gbm?,${MULTILIB_USEDEP}] |
144 |
virtual/opengl[${MULTILIB_USEDEP}] |
145 |
wayland? ( >=dev-libs/wayland-1.0[${MULTILIB_USEDEP}] ) |
146 |
gbm? ( virtual/udev[${MULTILIB_USEDEP}] ) |
147 |
x11-libs/libX11[${MULTILIB_USEDEP}] |
148 |
x11-libs/libxcb[${MULTILIB_USEDEP}]" |
149 |
DEPEND="${RDEPEND} |
150 |
x11-proto/xcb-proto[${MULTILIB_USEDEP}] |
151 |
doc? ( |
152 |
dev-libs/libxslt |
153 |
app-text/docbook-xml-dtd:4.2 |
154 |
)" |
155 |
|
156 |
src_unpack() { |
157 |
default |
158 |
[[ $PV = 9999* ]] && git-2_src_unpack |
159 |
} |
160 |
|
161 |
src_configure() { |
162 |
local mycmakeargs=( |
163 |
-Dwaffle_has_glx=ON |
164 |
-Dwaffle_build_examples=OFF |
165 |
$(cmake-utils_use doc waffle_build_manpages) |
166 |
$(cmake-utils_use egl waffle_has_x11_egl) |
167 |
$(cmake-utils_use gbm waffle_has_gbm) |
168 |
$(cmake-utils_use test waffle_build_tests) |
169 |
$(cmake-utils_use wayland waffle_has_wayland) |
170 |
) |
171 |
|
172 |
cmake-multilib_src_configure |
173 |
} |
174 |
|
175 |
src_test() { |
176 |
emake -C "${CMAKE_BUILD_DIR}" check |
177 |
} |