1 |
commit: 06579d40944ed103a11553a682f449255305fc59 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 21 19:38:07 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 21 19:50:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06579d40 |
7 |
|
8 |
sci-libs/ViSP: Drop old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/666394 |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
12 |
|
13 |
sci-libs/ViSP/ViSP-3.0.1.ebuild | 104 ---------------------------------------- |
14 |
sci-libs/ViSP/ViSP-3.1.0.ebuild | 101 -------------------------------------- |
15 |
sci-libs/ViSP/metadata.xml | 1 - |
16 |
3 files changed, 206 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/ViSP/ViSP-3.0.1.ebuild b/sci-libs/ViSP/ViSP-3.0.1.ebuild |
19 |
deleted file mode 100644 |
20 |
index 35fbfb4321b..00000000000 |
21 |
--- a/sci-libs/ViSP/ViSP-3.0.1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,104 +0,0 @@ |
24 |
-# Copyright 1999-2017 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=5 |
28 |
- |
29 |
-inherit cmake-utils |
30 |
- |
31 |
-DESCRIPTION="Visual Servoing Platform: visual tracking and visual servoing library" |
32 |
-HOMEPAGE="http://www.irisa.fr/lagadic/visp/visp.html" |
33 |
-SRC_URI="http://gforge.inria.fr/frs/download.php/latestfile/475/visp-${PV}.tar.gz" |
34 |
- |
35 |
-LICENSE="GPL-2" |
36 |
-SLOT="0/3" |
37 |
-KEYWORDS="~amd64 ~arm" |
38 |
-IUSE=" |
39 |
- +coin demos +dmtx doc examples ffmpeg gsl ieee1394 jpeg lapack motif ogre |
40 |
- ois opencv png test tutorials usb v4l X xml +zbar zlib |
41 |
- cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 |
42 |
-" |
43 |
- |
44 |
-RDEPEND=" |
45 |
- coin? ( media-libs/coin virtual/opengl ) |
46 |
- dmtx? ( media-libs/libdmtx ) |
47 |
- ffmpeg? ( virtual/ffmpeg ) |
48 |
- gsl? ( sci-libs/gsl ) |
49 |
- ieee1394? ( media-libs/libdc1394 ) |
50 |
- jpeg? ( virtual/jpeg:0 ) |
51 |
- lapack? ( virtual/lapack ) |
52 |
- motif? ( media-libs/SoXt ) |
53 |
- ogre? ( dev-games/ogre[ois?] dev-libs/boost:=[threads] ) |
54 |
- opencv? ( media-libs/opencv:= ) |
55 |
- png? ( media-libs/libpng:0= ) |
56 |
- usb? ( virtual/libusb:1 ) |
57 |
- v4l? ( media-libs/libv4l ) |
58 |
- X? ( x11-libs/libX11 ) |
59 |
- xml? ( dev-libs/libxml2 ) |
60 |
- zbar? ( media-gfx/zbar ) |
61 |
- zlib? ( sys-libs/zlib ) |
62 |
-" |
63 |
-DEPEND="${RDEPEND} |
64 |
- doc? ( app-doc/doxygen virtual/latex-base media-gfx/graphviz ) |
65 |
- virtual/pkgconfig |
66 |
- test? ( sci-misc/ViSP-images ) |
67 |
- v4l? ( virtual/os-headers )" |
68 |
-RDEPEND="${RDEPEND} |
69 |
- demos? ( sci-misc/ViSP-images )" |
70 |
-REQUIRED_USE=" |
71 |
- ffmpeg? ( opencv ) |
72 |
- ois? ( ogre ) |
73 |
- motif? ( coin ) |
74 |
-" |
75 |
- |
76 |
-S="${WORKDIR}/visp-${PV}" |
77 |
-PATCHES=( "${FILESDIR}/${PN}-3.0.1-opencv.patch" "${FILESDIR}/${PN}-3.0.0-ffmpeg3.patch" ) |
78 |
- |
79 |
-src_configure() { |
80 |
- local mycmakeargs=( |
81 |
- "-DBUILD_EXAMPLES=$(usex examples ON OFF)" |
82 |
- "-DBUILD_TESTS=$(usex test ON OFF)" |
83 |
- "-DBUILD_DEMOS=$(usex demos ON OFF)" |
84 |
- "-DBUILD_TUTORIALS=$(usex tutorials ON OFF)" |
85 |
- "-DUSE_COIN3D=$(usex coin ON OFF)" |
86 |
- "-DUSE_DC1394=$(usex ieee1394 ON OFF)" |
87 |
- "-DUSE_DMTX=$(usex dmtx ON OFF)" |
88 |
- "-DUSE_FFMPEG=$(usex ffmpeg ON OFF)" |
89 |
- "-DUSE_GSL=$(usex gsl ON OFF)" |
90 |
- "-DUSE_LAPACK=$(usex lapack ON OFF)" |
91 |
- "-DUSE_JPEG=$(usex jpeg ON OFF)" |
92 |
- "-DUSE_PNG=$(usex png ON OFF)" |
93 |
- "-DUSE_LIBUSB_1=$(usex usb ON OFF)" |
94 |
- "-DUSE_OGRE=$(usex ogre ON OFF)" |
95 |
- "-DUSE_OIS=$(usex ois ON OFF)" |
96 |
- "-DUSE_OPENCV=$(usex opencv ON OFF)" |
97 |
- "-DUSE_SOQT=OFF" |
98 |
- "-DUSE_SOXT=$(usex motif ON OFF)" |
99 |
- "-DUSE_V4L2=$(usex v4l ON OFF)" |
100 |
- "-DUSE_X11=$(usex X ON OFF)" |
101 |
- "-DUSE_XML2=$(usex xml ON OFF)" |
102 |
- "-DUSE_ZBAR=$(usex zbar ON OFF)" |
103 |
- "-DUSE_ZLIB=$(usex zlib ON OFF)" |
104 |
- "-DCOIN3D_INCLUDE_DIR=${EPREFIX:-${SYSROOT}}/usr/include/coin" |
105 |
- "-DSOQT_INCLUDE_DIR=${EPREFIX:-${SYSROOT}}/usr/include/coin" |
106 |
- "-DENABLE_SSE2=$(usex cpu_flags_x86_sse2 ON OFF)" |
107 |
- "-DENABLE_SSE3=$(usex cpu_flags_x86_sse3 ON OFF)" |
108 |
- "-DENABLE_SSSE3=$(usex cpu_flags_x86_ssse3 ON OFF)" |
109 |
- ) |
110 |
- cmake-utils_src_configure |
111 |
-} |
112 |
- |
113 |
-src_compile() { |
114 |
- cmake-utils_src_compile |
115 |
- cd "${BUILD_DIR}" |
116 |
- use doc && emake visp_doc |
117 |
-} |
118 |
- |
119 |
-src_install() { |
120 |
- cmake-utils_src_install |
121 |
- if use tutorials ; then |
122 |
- dodoc -r tutorial |
123 |
- docompress -x /usr/share/doc/${PF}/tutorial |
124 |
- fi |
125 |
- cd "${BUILD_DIR}" |
126 |
- use doc && dohtml -r doc/html/* |
127 |
-} |
128 |
|
129 |
diff --git a/sci-libs/ViSP/ViSP-3.1.0.ebuild b/sci-libs/ViSP/ViSP-3.1.0.ebuild |
130 |
deleted file mode 100644 |
131 |
index 354edc0a62b..00000000000 |
132 |
--- a/sci-libs/ViSP/ViSP-3.1.0.ebuild |
133 |
+++ /dev/null |
134 |
@@ -1,101 +0,0 @@ |
135 |
-# Copyright 1999-2018 Gentoo Foundation |
136 |
-# Distributed under the terms of the GNU General Public License v2 |
137 |
- |
138 |
-EAPI=5 |
139 |
- |
140 |
-inherit cmake-utils |
141 |
- |
142 |
-DESCRIPTION="Visual Servoing Platform: visual tracking and visual servoing library" |
143 |
-HOMEPAGE="http://www.irisa.fr/lagadic/visp/visp.html" |
144 |
-SRC_URI="http://gforge.inria.fr/frs/download.php/latestfile/475/visp-${PV}.tar.gz" |
145 |
- |
146 |
-LICENSE="GPL-2" |
147 |
-SLOT="0/3.1" |
148 |
-KEYWORDS="~amd64 ~arm" |
149 |
-IUSE=" |
150 |
- +coin demos +dmtx doc examples gsl ieee1394 jpeg lapack motif ogre |
151 |
- ois opencv png test tutorials usb v4l X xml +zbar zlib |
152 |
- cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 |
153 |
-" |
154 |
- |
155 |
-RDEPEND=" |
156 |
- coin? ( media-libs/coin virtual/opengl ) |
157 |
- dmtx? ( media-libs/libdmtx ) |
158 |
- gsl? ( sci-libs/gsl ) |
159 |
- ieee1394? ( media-libs/libdc1394 ) |
160 |
- jpeg? ( virtual/jpeg:0 ) |
161 |
- lapack? ( virtual/lapack ) |
162 |
- motif? ( media-libs/SoXt ) |
163 |
- ogre? ( dev-games/ogre[ois?] dev-libs/boost:=[threads] ) |
164 |
- opencv? ( media-libs/opencv:= ) |
165 |
- png? ( media-libs/libpng:0= ) |
166 |
- usb? ( virtual/libusb:1 ) |
167 |
- v4l? ( media-libs/libv4l ) |
168 |
- X? ( x11-libs/libX11 ) |
169 |
- xml? ( dev-libs/libxml2 ) |
170 |
- zbar? ( media-gfx/zbar ) |
171 |
- zlib? ( sys-libs/zlib ) |
172 |
-" |
173 |
-DEPEND="${RDEPEND} |
174 |
- doc? ( app-doc/doxygen virtual/latex-base media-gfx/graphviz ) |
175 |
- virtual/pkgconfig |
176 |
- test? ( sci-misc/ViSP-images ) |
177 |
- v4l? ( virtual/os-headers )" |
178 |
-RDEPEND="${RDEPEND} |
179 |
- demos? ( sci-misc/ViSP-images )" |
180 |
-REQUIRED_USE=" |
181 |
- ois? ( ogre ) |
182 |
- motif? ( coin ) |
183 |
-" |
184 |
- |
185 |
-S="${WORKDIR}/visp-${PV}" |
186 |
-PATCHES=( "${FILESDIR}/${PN}-3.0.1-opencv.patch" ) |
187 |
- |
188 |
-src_configure() { |
189 |
- local mycmakeargs=( |
190 |
- "-DBUILD_EXAMPLES=$(usex examples ON OFF)" |
191 |
- "-DBUILD_TESTS=$(usex test ON OFF)" |
192 |
- "-DBUILD_DEMOS=$(usex demos ON OFF)" |
193 |
- "-DBUILD_TUTORIALS=$(usex tutorials ON OFF)" |
194 |
- "-DUSE_COIN3D=$(usex coin ON OFF)" |
195 |
- "-DUSE_DC1394=$(usex ieee1394 ON OFF)" |
196 |
- "-DUSE_DMTX=$(usex dmtx ON OFF)" |
197 |
- "-DUSE_GSL=$(usex gsl ON OFF)" |
198 |
- "-DUSE_LAPACK=$(usex lapack ON OFF)" |
199 |
- "-DUSE_JPEG=$(usex jpeg ON OFF)" |
200 |
- "-DUSE_PNG=$(usex png ON OFF)" |
201 |
- "-DUSE_LIBUSB_1=$(usex usb ON OFF)" |
202 |
- "-DUSE_OGRE=$(usex ogre ON OFF)" |
203 |
- "-DUSE_OIS=$(usex ois ON OFF)" |
204 |
- "-DUSE_OPENCV=$(usex opencv ON OFF)" |
205 |
- "-DUSE_SOQT=OFF" |
206 |
- "-DUSE_SOXT=$(usex motif ON OFF)" |
207 |
- "-DUSE_V4L2=$(usex v4l ON OFF)" |
208 |
- "-DUSE_X11=$(usex X ON OFF)" |
209 |
- "-DUSE_XML2=$(usex xml ON OFF)" |
210 |
- "-DUSE_ZBAR=$(usex zbar ON OFF)" |
211 |
- "-DUSE_ZLIB=$(usex zlib ON OFF)" |
212 |
- "-DCOIN3D_INCLUDE_DIR=${EPREFIX:-${SYSROOT}}/usr/include/coin" |
213 |
- "-DSOQT_INCLUDE_DIR=${EPREFIX:-${SYSROOT}}/usr/include/coin" |
214 |
- "-DENABLE_SSE2=$(usex cpu_flags_x86_sse2 ON OFF)" |
215 |
- "-DENABLE_SSE3=$(usex cpu_flags_x86_sse3 ON OFF)" |
216 |
- "-DENABLE_SSSE3=$(usex cpu_flags_x86_ssse3 ON OFF)" |
217 |
- ) |
218 |
- cmake-utils_src_configure |
219 |
-} |
220 |
- |
221 |
-src_compile() { |
222 |
- cmake-utils_src_compile |
223 |
- cd "${BUILD_DIR}" |
224 |
- use doc && emake visp_doc |
225 |
-} |
226 |
- |
227 |
-src_install() { |
228 |
- cmake-utils_src_install |
229 |
- if use tutorials ; then |
230 |
- dodoc -r tutorial |
231 |
- docompress -x /usr/share/doc/${PF}/tutorial |
232 |
- fi |
233 |
- cd "${BUILD_DIR}" |
234 |
- use doc && dohtml -r doc/html/* |
235 |
-} |
236 |
|
237 |
diff --git a/sci-libs/ViSP/metadata.xml b/sci-libs/ViSP/metadata.xml |
238 |
index 772241db04d..95a2f324333 100644 |
239 |
--- a/sci-libs/ViSP/metadata.xml |
240 |
+++ b/sci-libs/ViSP/metadata.xml |
241 |
@@ -10,7 +10,6 @@ |
242 |
<flag name="dmtx">Enables barcode data matrix support.</flag> |
243 |
<flag name="demos">Installs demo programs.</flag> |
244 |
<flag name="ogre">Enables <pkg>dev-games/ogre</pkg> support.</flag> |
245 |
- <flag name="ois">Enables <pkg>dev-games/ois</pkg> support via ogre.</flag> |
246 |
<flag name="opencv">Enables <pkg>media-libs/opencv</pkg> support.</flag> |
247 |
<flag name="tutorials">Installs tutorials.</flag> |
248 |
<flag name="zbar">Enables barcodes reading.</flag> |