Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: media-gfx/librecad/
Date: Thu, 06 Sep 2018 18:29:14
Message-Id: 1536258514.87df49af524eac2512fd0504f34a0feef85f7b2f.alexxy@gentoo
1 commit: 87df49af524eac2512fd0504f34a0feef85f7b2f
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 6 18:28:34 2018 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 6 18:28:34 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=87df49af
7
8 media-gfx/librecad: Newver version in tree
9
10 Package-Manager: Portage-2.3.47, Repoman-2.3.10
11
12 media-gfx/librecad/librecad-1.0.3.ebuild | 36 -----------------
13 media-gfx/librecad/librecad-1.0.4.ebuild | 36 -----------------
14 media-gfx/librecad/librecad-2.0.7.ebuild | 43 --------------------
15 media-gfx/librecad/librecad-2.0.8.ebuild | 66 ------------------------------
16 media-gfx/librecad/librecad-9999.ebuild | 69 --------------------------------
17 media-gfx/librecad/metadata.xml | 14 -------
18 6 files changed, 264 deletions(-)
19
20 diff --git a/media-gfx/librecad/librecad-1.0.3.ebuild b/media-gfx/librecad/librecad-1.0.3.ebuild
21 deleted file mode 100644
22 index 728656d3d..000000000
23 --- a/media-gfx/librecad/librecad-1.0.3.ebuild
24 +++ /dev/null
25 @@ -1,36 +0,0 @@
26 -# Copyright 1999-2015 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=5
30 -
31 -inherit eutils qt4-r2 vcs-snapshot
32 -
33 -DESCRIPTION="An generic 2D CAD program"
34 -HOMEPAGE="http://www.librecad.org/"
35 -SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/v1.0.3.tar.gz -> ${P}.tar.gz"
36 -
37 -LICENSE="GPL-2"
38 -SLOT="0"
39 -KEYWORDS="~amd64 ~x86"
40 -IUSE="debug doc"
41 -
42 -RDEPEND="
43 - dev-qt/qtgui[qt3support]
44 - dev-qt/qthelp:4
45 - dev-qt/qt3support:4
46 - dev-cpp/muParser"
47 -
48 -DEPEND="${RDEPEND}"
49 -
50 -src_prepare() {
51 - sed -i -e "s:\\\$\+system(git describe --tags):1.0.3:" "${PN}.pro" || die
52 -}
53 -
54 -src_install() {
55 - dobin unix/librecad
56 - insinto /usr/share/"${PN}"
57 - doins -r unix/resources/*
58 - use doc && dohtml -r support/doc/*
59 - doicon res/main/"${PN}".png
60 - make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics
61 -}
62
63 diff --git a/media-gfx/librecad/librecad-1.0.4.ebuild b/media-gfx/librecad/librecad-1.0.4.ebuild
64 deleted file mode 100644
65 index 728656d3d..000000000
66 --- a/media-gfx/librecad/librecad-1.0.4.ebuild
67 +++ /dev/null
68 @@ -1,36 +0,0 @@
69 -# Copyright 1999-2015 Gentoo Foundation
70 -# Distributed under the terms of the GNU General Public License v2
71 -
72 -EAPI=5
73 -
74 -inherit eutils qt4-r2 vcs-snapshot
75 -
76 -DESCRIPTION="An generic 2D CAD program"
77 -HOMEPAGE="http://www.librecad.org/"
78 -SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/v1.0.3.tar.gz -> ${P}.tar.gz"
79 -
80 -LICENSE="GPL-2"
81 -SLOT="0"
82 -KEYWORDS="~amd64 ~x86"
83 -IUSE="debug doc"
84 -
85 -RDEPEND="
86 - dev-qt/qtgui[qt3support]
87 - dev-qt/qthelp:4
88 - dev-qt/qt3support:4
89 - dev-cpp/muParser"
90 -
91 -DEPEND="${RDEPEND}"
92 -
93 -src_prepare() {
94 - sed -i -e "s:\\\$\+system(git describe --tags):1.0.3:" "${PN}.pro" || die
95 -}
96 -
97 -src_install() {
98 - dobin unix/librecad
99 - insinto /usr/share/"${PN}"
100 - doins -r unix/resources/*
101 - use doc && dohtml -r support/doc/*
102 - doicon res/main/"${PN}".png
103 - make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics
104 -}
105
106 diff --git a/media-gfx/librecad/librecad-2.0.7.ebuild b/media-gfx/librecad/librecad-2.0.7.ebuild
107 deleted file mode 100644
108 index 4076bc00b..000000000
109 --- a/media-gfx/librecad/librecad-2.0.7.ebuild
110 +++ /dev/null
111 @@ -1,43 +0,0 @@
112 -# Copyright 1999-2015 Gentoo Foundation
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=5
116 -
117 -inherit eutils flag-o-matic qt4-r2 vcs-snapshot
118 -
119 -DESCRIPTION="Generic 2D CAD program"
120 -HOMEPAGE="http://www.librecad.org/"
121 -SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.zip -> ${P}.zip"
122 -
123 -LICENSE="GPL-2"
124 -SLOT="0"
125 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
126 -IUSE="debug doc tools 3d"
127 -
128 -DEPEND="
129 - dev-qt/qtgui:4
130 - dev-qt/qthelp:4
131 - dev-qt/qtsvg:4
132 - dev-libs/boost
133 - dev-cpp/muParser
134 - media-libs/freetype"
135 -
136 -RDEPEND="${DEPEND}"
137 -S="${WORKDIR}/LibreCAD-${PV}"
138 -
139 -src_prepare() {
140 - # currently RS_VECTOR3D causes an internal compiler error on GCC-4.8
141 - use 3d || sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro || die
142 -}
143 -
144 -src_install() {
145 - dobin unix/librecad
146 - use tools && dobin unix/ttf2lff
147 - insinto /usr/share/${PN}
148 - doins -r unix/resources/*
149 - use doc && dohtml -r librecad/support/doc/*
150 - insinto /usr/share/appdata
151 - doins unix/appdata/librecad.appdata.xml
152 - doicon librecad/res/main/"${PN}".png
153 - make_desktop_entry ${PN} LibreCAD ${PN} Graphics
154 -}
155
156 diff --git a/media-gfx/librecad/librecad-2.0.8.ebuild b/media-gfx/librecad/librecad-2.0.8.ebuild
157 deleted file mode 100644
158 index 01a136380..000000000
159 --- a/media-gfx/librecad/librecad-2.0.8.ebuild
160 +++ /dev/null
161 @@ -1,66 +0,0 @@
162 -# Copyright 1999-2015 Gentoo Foundation
163 -# Distributed under the terms of the GNU General Public License v2
164 -
165 -EAPI=5
166 -
167 -inherit eutils qmake-utils
168 -
169 -DESCRIPTION="Generic 2D CAD program"
170 -HOMEPAGE="http://www.librecad.org/"
171 -SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.zip -> ${P}.zip"
172 -
173 -LICENSE="GPL-2"
174 -SLOT="0"
175 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
176 -
177 -IUSE="3d debug doc tools qt4 +qt5"
178 -REQUIRED_USE="|| ( qt4 qt5 )"
179 -
180 -DEPEND="
181 - qt4? (
182 - dev-qt/qtcore:4
183 - dev-qt/qtgui:4
184 - dev-qt/qtsvg:4
185 - dev-qt/qthelp:4
186 - )
187 - qt5? (
188 - dev-qt/qtcore:5
189 - dev-qt/qtgui:5
190 - dev-qt/qthelp:5
191 - dev-qt/qtprintsupport:5
192 - dev-qt/qtsvg:5
193 - dev-qt/qtwidgets:5
194 - dev-qt/qtxml:5
195 - )
196 - dev-libs/boost
197 - dev-cpp/muParser
198 - media-libs/freetype"
199 -
200 -RDEPEND="${DEPEND}"
201 -S="${WORKDIR}/LibreCAD-${PV}"
202 -
203 -src_prepare() {
204 - # currently RS_VECTOR3D causes an internal compiler error on GCC-4.8
205 - use 3d || sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro || die
206 -}
207 -
208 -src_configure() {
209 - if use qt4
210 - then
211 - eqmake4 -r
212 - else
213 - eqmake5 -r
214 - fi
215 -}
216 -
217 -src_install() {
218 - dobin unix/librecad
219 - use tools && dobin unix/ttf2lff
220 - insinto /usr/share/${PN}
221 - doins -r unix/resources/*
222 - use doc && dohtml -r librecad/support/doc/*
223 - insinto /usr/share/appdata
224 - doins unix/appdata/librecad.appdata.xml
225 - doicon librecad/res/main/"${PN}".png
226 - make_desktop_entry ${PN} LibreCAD ${PN} Graphics
227 -}
228
229 diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
230 deleted file mode 100644
231 index 4a1f2d51d..000000000
232 --- a/media-gfx/librecad/librecad-9999.ebuild
233 +++ /dev/null
234 @@ -1,69 +0,0 @@
235 -# Copyright 1999-2015 Gentoo Foundation
236 -# Distributed under the terms of the GNU General Public License v2
237 -
238 -EAPI=5
239 -
240 -inherit eutils git-r3 qmake-utils
241 -
242 -DESCRIPTION="Generic 2D CAD program"
243 -HOMEPAGE="http://www.librecad.org/"
244 -SRC_URI=""
245 -EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git"
246 -
247 -LICENSE="GPL-2"
248 -SLOT="0"
249 -KEYWORDS=""
250 -IUSE="3d debug doc tools qt4 +qt5"
251 -REQUIRED_USE="|| ( qt4 qt5 )"
252 -
253 -DEPEND="
254 - qt4? (
255 - dev-qt/qtcore:4
256 - dev-qt/qtgui:4
257 - dev-qt/qtsvg:4
258 - dev-qt/qthelp:4
259 - )
260 - qt5? (
261 - dev-qt/qtcore:5
262 - dev-qt/qtgui:5
263 - dev-qt/qthelp:5
264 - dev-qt/qtprintsupport:5
265 - dev-qt/qtsvg:5
266 - dev-qt/qtwidgets:5
267 - dev-qt/qtxml:5
268 - )
269 -
270 - dev-libs/boost
271 - dev-cpp/muParser
272 - media-libs/freetype"
273 -
274 -RDEPEND="${DEPEND}"
275 -S="${WORKDIR}/librecad-${PV}"
276 -
277 -src_prepare() {
278 - # currently RS_VECTOR3D causes an internal compiler error on GCC-4.8
279 - use 3d || sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro || die
280 -}
281 -
282 -src_configure() {
283 - if use qt4
284 - then
285 - eqmake4 -r
286 - else
287 - eqmake5 -r
288 - fi
289 -}
290 -
291 -src_install() {
292 - dobin unix/librecad
293 - use tools && dobin unix/ttf2lff
294 - insinto /usr/share
295 - doins -r unix/appdata
296 - insinto /usr/share/${PN}
297 - doins -r unix/resources/*
298 - use doc && dohtml -r librecad/support/doc/*
299 - insinto /usr/share/appdata
300 - doins unix/appdata/librecad.appdata.xml
301 - doicon librecad/res/main/${PN}.png
302 - make_desktop_entry ${PN} LibreCAD ${PN} Graphics
303 -}
304
305 diff --git a/media-gfx/librecad/metadata.xml b/media-gfx/librecad/metadata.xml
306 deleted file mode 100644
307 index d6b140c97..000000000
308 --- a/media-gfx/librecad/metadata.xml
309 +++ /dev/null
310 @@ -1,14 +0,0 @@
311 -<?xml version="1.0" encoding="UTF-8"?>
312 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
313 -<pkgmetadata>
314 - <maintainer type="person">
315 - <email>slis@g.o</email>
316 - </maintainer>
317 - <use>
318 - <flag name="3d">Require all 2D coordinates stored as 3D</flag>
319 - <flag name="tools">Build additional tool programs: tff2lff</flag>
320 - </use>
321 - <upstream>
322 - <remote-id type="github">LibreCAD/LibreCAD</remote-id>
323 - </upstream>
324 -</pkgmetadata>