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