1 |
commit: 3eaad036268693f4e4d28e2a72ef91074c136536 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 22 22:43:11 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 2 09:29:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eaad036 |
7 |
|
8 |
media-gfx/meshlab: Drop 2016.12-r2 and 2016.12-r3 |
9 |
|
10 |
r4 is in ~arch for a long time (>1.5 years), both older ebuilds are |
11 |
broken by current ~arch Qt5 (5.15.0). |
12 |
|
13 |
Package-Manager: Portage-2.3.101, Repoman-2.3.22 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
media-gfx/meshlab/meshlab-2016.12-r2.ebuild | 108 --------------------------- |
17 |
media-gfx/meshlab/meshlab-2016.12-r3.ebuild | 109 ---------------------------- |
18 |
2 files changed, 217 deletions(-) |
19 |
|
20 |
diff --git a/media-gfx/meshlab/meshlab-2016.12-r2.ebuild b/media-gfx/meshlab/meshlab-2016.12-r2.ebuild |
21 |
deleted file mode 100644 |
22 |
index 2c5cb0f61d0..00000000000 |
23 |
--- a/media-gfx/meshlab/meshlab-2016.12-r2.ebuild |
24 |
+++ /dev/null |
25 |
@@ -1,108 +0,0 @@ |
26 |
-# Copyright 1999-2020 Gentoo Authors |
27 |
-# Distributed under the terms of the GNU General Public License v2 |
28 |
- |
29 |
-EAPI=6 |
30 |
- |
31 |
-inherit qmake-utils |
32 |
- |
33 |
-DESCRIPTION="the open source system for processing and editing 3D triangular meshes" |
34 |
-HOMEPAGE="http://www.meshlab.net" |
35 |
-VCG_VERSION="1.0.1" |
36 |
-SRC_URI="https://github.com/cnr-isti-vclab/meshlab/archive/v${PV}.tar.gz -> ${P}.tar.gz |
37 |
- https://github.com/cnr-isti-vclab/vcglib/archive/v${VCG_VERSION}.tar.gz -> vcglib-${VCG_VERSION}.tar.gz |
38 |
-" |
39 |
- |
40 |
-LICENSE="GPL-2" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="~amd64 ~x86" |
43 |
-IUSE="-minimal" |
44 |
-DEPEND="dev-cpp/eigen:3 |
45 |
- dev-cpp/muParser |
46 |
- dev-qt/qtcore:5 |
47 |
- dev-qt/qtopengl:5 |
48 |
- dev-qt/qtscript:5 |
49 |
- dev-qt/qtxmlpatterns:5 |
50 |
- >=media-gfx/jhead-3.00-r2 |
51 |
- media-libs/glew:0 |
52 |
- media-libs/qhull |
53 |
- =media-libs/lib3ds-1* |
54 |
- media-libs/openctm |
55 |
- sci-libs/levmar |
56 |
- sci-libs/mpir" |
57 |
- |
58 |
-RDEPEND="${DEPEND}" |
59 |
- |
60 |
-S="${WORKDIR}/meshlab-${PV}/src" |
61 |
- |
62 |
-PATCHES=( |
63 |
- "${FILESDIR}/${PV}/0001-set-shader-and-texture-paths.patch" |
64 |
- #remove ot working plugins |
65 |
- "${FILESDIR}/${PV}/remove-edit_mutualcorrs.patch" |
66 |
- "${FILESDIR}/${PV}/remove-io_TXT.patch" |
67 |
- #since structure synth doesn't seem to be compiling |
68 |
- "${FILESDIR}/${PV}/0001-disable-filter-ssynth.patch" |
69 |
- #this has been fixed in the tree |
70 |
- "${FILESDIR}/${PV}/0001-disable-edit-quality.patch" |
71 |
- #this causes segfaults |
72 |
- "${FILESDIR}/${PV}/0001-disable-filter-layer.patch" |
73 |
- #for when we use minimal |
74 |
- "${FILESDIR}/${PV}/0001-compile-server.patch" |
75 |
- "${FILESDIR}/${PV}/0001-use-external-lib3ds.patch" |
76 |
- "${FILESDIR}/${PV}/0001-use-external-openctm.patch" |
77 |
- "${FILESDIR}/${PV}/0001-use-external-muParser.patch" |
78 |
- "${FILESDIR}/${PV}/0001-use-external-bzip.patch" |
79 |
- "${FILESDIR}/${PV}/0001-use-external-jhead.patch" |
80 |
- "${FILESDIR}/${PV}/0001-use-external-glew.patch" |
81 |
- #cause gnu stack quickstart related qa |
82 |
- "${FILESDIR}/${PV}/0001-remove-not-sane-plugins.patch" |
83 |
- "${FILESDIR}/${PV}/${P}-fix-plugins-path.patch" |
84 |
- "${FILESDIR}/${PV}/${P}-align1.patch" |
85 |
- "${FILESDIR}/${PV}/${P}-align2.patch" |
86 |
- ) |
87 |
- |
88 |
-src_prepare() { |
89 |
- mv "${WORKDIR}/vcglib-${VCG_VERSION}" "${WORKDIR}/vcglib" || die "vcglib mv failed" |
90 |
- default |
91 |
- #proof of patchset |
92 |
- #remove libs that are being used from the system |
93 |
- rm -r "external/lib3ds-1.3.0" || die "rm failed" |
94 |
- rm -r "external/OpenCTM-1.0.3" || die "rm failed" |
95 |
- rm -r "external/muparser_v132" || die "rm failed" |
96 |
- rm -r "external/muparser_v225" || die "rm failed" |
97 |
- rm -r "external/bzip2-1.0.5" || die "rm failed" |
98 |
- rm -r "external/jhead-2.95" || die "rm failed" |
99 |
- rm -r "external/glew-1.5.1" || die "rm failed" |
100 |
- rm -r "external/glew-1.7.0" || die "rm failed" |
101 |
- #we still depend on lm.h |
102 |
- #rm -r "external" |
103 |
- rm -r "distrib/plugins/U3D_W32" || die |
104 |
- rm -r "distrib/plugins/U3D_OSX" || die |
105 |
- |
106 |
- # Fix bug 638796 |
107 |
- cd "${WORKDIR}" || die |
108 |
- eapply "${FILESDIR}/${PV}/${P}-remove-header.patch" |
109 |
-} |
110 |
- |
111 |
-src_configure() { |
112 |
- use minimal || eqmake5 -r meshlab_full.pro |
113 |
- use minimal && eqmake5 -r meshlab_mini.pro |
114 |
-} |
115 |
- |
116 |
-src_install() { |
117 |
- dobin distrib/{meshlab,meshlabserver} |
118 |
- dolib distrib/libcommon.so.1.0.0 |
119 |
- dosym libcommon.so.1.0.0 /usr/$(get_libdir)/libcommon.so.1 |
120 |
- dosym libcommon.so.1 /usr/$(get_libdir)/libcommon.so |
121 |
- exeinto /usr/$(get_libdir)/meshlab/plugins |
122 |
- doexe distrib/plugins/*.so |
123 |
- insinto /usr/share/meshlab/shaders |
124 |
- doins -r distrib/shaders/* |
125 |
- insinto /usr/share/meshlab/plugins |
126 |
- doins -r distrib/plugins/* |
127 |
- insinto /usr/share/meshlab/textures |
128 |
- doins -r distrib/textures/* |
129 |
- insinto /usr/share/meshlab/sample |
130 |
- doins -r distrib/sample/* |
131 |
- newicon "${S}"/meshlab/images/eye512.png "${PN}".png |
132 |
- make_desktop_entry meshlab "Meshlab" "${PN}" Graphics |
133 |
-} |
134 |
|
135 |
diff --git a/media-gfx/meshlab/meshlab-2016.12-r3.ebuild b/media-gfx/meshlab/meshlab-2016.12-r3.ebuild |
136 |
deleted file mode 100644 |
137 |
index 9cd64b0952c..00000000000 |
138 |
--- a/media-gfx/meshlab/meshlab-2016.12-r3.ebuild |
139 |
+++ /dev/null |
140 |
@@ -1,109 +0,0 @@ |
141 |
-# Copyright 1999-2020 Gentoo Authors |
142 |
-# Distributed under the terms of the GNU General Public License v2 |
143 |
- |
144 |
-EAPI=6 |
145 |
- |
146 |
-inherit qmake-utils |
147 |
- |
148 |
-DESCRIPTION="the open source system for processing and editing 3D triangular meshes" |
149 |
-HOMEPAGE="http://www.meshlab.net" |
150 |
-VCG_VERSION="1.0.1" |
151 |
-SRC_URI="https://github.com/cnr-isti-vclab/meshlab/archive/v${PV}.tar.gz -> ${P}.tar.gz |
152 |
- https://github.com/cnr-isti-vclab/vcglib/archive/v${VCG_VERSION}.tar.gz -> vcglib-${VCG_VERSION}.tar.gz |
153 |
-" |
154 |
- |
155 |
-LICENSE="GPL-2" |
156 |
-SLOT="0" |
157 |
-KEYWORDS="~amd64 ~x86" |
158 |
-IUSE="-minimal" |
159 |
-DEPEND="dev-cpp/eigen:3 |
160 |
- dev-cpp/muParser |
161 |
- dev-qt/qtcore:5 |
162 |
- dev-qt/qtopengl:5 |
163 |
- dev-qt/qtscript:5 |
164 |
- dev-qt/qtxmlpatterns:5 |
165 |
- >=media-gfx/jhead-3.00-r2 |
166 |
- media-libs/glew:0 |
167 |
- media-libs/qhull |
168 |
- =media-libs/lib3ds-1* |
169 |
- media-libs/openctm |
170 |
- sci-libs/levmar |
171 |
- sci-libs/mpir" |
172 |
- |
173 |
-RDEPEND="${DEPEND}" |
174 |
- |
175 |
-S="${WORKDIR}/meshlab-${PV}/src" |
176 |
- |
177 |
-PATCHES=( |
178 |
- "${FILESDIR}/${PV}/0001-set-shader-and-texture-paths.patch" |
179 |
- #remove ot working plugins |
180 |
- "${FILESDIR}/${PV}/remove-edit_mutualcorrs.patch" |
181 |
- "${FILESDIR}/${PV}/remove-io_TXT.patch" |
182 |
- #since structure synth doesn't seem to be compiling |
183 |
- "${FILESDIR}/${PV}/0001-disable-filter-ssynth.patch" |
184 |
- #this has been fixed in the tree |
185 |
- "${FILESDIR}/${PV}/0001-disable-edit-quality.patch" |
186 |
- #this causes segfaults |
187 |
- "${FILESDIR}/${PV}/0001-disable-filter-layer.patch" |
188 |
- #for when we use minimal |
189 |
- "${FILESDIR}/${PV}/0001-compile-server.patch" |
190 |
- "${FILESDIR}/${PV}/0001-use-external-lib3ds.patch" |
191 |
- "${FILESDIR}/${PV}/0001-use-external-openctm.patch" |
192 |
- "${FILESDIR}/${PV}/0001-use-external-muParser.patch" |
193 |
- "${FILESDIR}/${PV}/0001-use-external-bzip.patch" |
194 |
- "${FILESDIR}/${PV}/0001-use-external-jhead.patch" |
195 |
- "${FILESDIR}/${PV}/0001-use-external-glew.patch" |
196 |
- #cause gnu stack quickstart related qa |
197 |
- "${FILESDIR}/${PV}/0001-remove-not-sane-plugins.patch" |
198 |
- "${FILESDIR}/${PV}/${P}-fix-plugins-path.patch" |
199 |
- "${FILESDIR}/${PV}/${P}-align1.patch" |
200 |
- "${FILESDIR}/${PV}/${P}-align2.patch" |
201 |
- "${FILESDIR}/${PV}/${P}-asString.patch" |
202 |
- ) |
203 |
- |
204 |
-src_prepare() { |
205 |
- mv "${WORKDIR}/vcglib-${VCG_VERSION}" "${WORKDIR}/vcglib" || die "vcglib mv failed" |
206 |
- default |
207 |
- #proof of patchset |
208 |
- #remove libs that are being used from the system |
209 |
- rm -r "external/lib3ds-1.3.0" || die "rm failed" |
210 |
- rm -r "external/OpenCTM-1.0.3" || die "rm failed" |
211 |
- rm -r "external/muparser_v132" || die "rm failed" |
212 |
- rm -r "external/muparser_v225" || die "rm failed" |
213 |
- rm -r "external/bzip2-1.0.5" || die "rm failed" |
214 |
- rm -r "external/jhead-2.95" || die "rm failed" |
215 |
- rm -r "external/glew-1.5.1" || die "rm failed" |
216 |
- rm -r "external/glew-1.7.0" || die "rm failed" |
217 |
- #we still depend on lm.h |
218 |
- #rm -r "external" |
219 |
- rm -r "distrib/plugins/U3D_W32" || die |
220 |
- rm -r "distrib/plugins/U3D_OSX" || die |
221 |
- |
222 |
- # Fix bug 638796 |
223 |
- cd "${WORKDIR}" || die |
224 |
- eapply "${FILESDIR}/${PV}/${P}-remove-header.patch" |
225 |
-} |
226 |
- |
227 |
-src_configure() { |
228 |
- use minimal || eqmake5 -r meshlab_full.pro |
229 |
- use minimal && eqmake5 -r meshlab_mini.pro |
230 |
-} |
231 |
- |
232 |
-src_install() { |
233 |
- dobin distrib/{meshlab,meshlabserver} |
234 |
- dolib distrib/libcommon.so.1.0.0 |
235 |
- dosym libcommon.so.1.0.0 /usr/$(get_libdir)/libcommon.so.1 |
236 |
- dosym libcommon.so.1 /usr/$(get_libdir)/libcommon.so |
237 |
- exeinto /usr/$(get_libdir)/meshlab/plugins |
238 |
- doexe distrib/plugins/*.so |
239 |
- insinto /usr/share/meshlab/shaders |
240 |
- doins -r distrib/shaders/* |
241 |
- insinto /usr/share/meshlab/plugins |
242 |
- doins -r distrib/plugins/* |
243 |
- insinto /usr/share/meshlab/textures |
244 |
- doins -r distrib/textures/* |
245 |
- insinto /usr/share/meshlab/sample |
246 |
- doins -r distrib/sample/* |
247 |
- newicon "${S}"/meshlab/images/eye512.png "${PN}".png |
248 |
- make_desktop_entry meshlab "Meshlab" "${PN}" Graphics |
249 |
-} |