1 |
commit: 40dc75e77e917c8e16ba0893ea8d553c80d614dd |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 3 21:36:46 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 3 21:53:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40dc75e7 |
7 |
|
8 |
sci-electronics/kicad: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/4354 |
12 |
|
13 |
sci-electronics/kicad/Manifest | 4 - |
14 |
sci-electronics/kicad/kicad-4.0.1-r1.ebuild | 191 ---------------------------- |
15 |
2 files changed, 195 deletions(-) |
16 |
|
17 |
diff --git a/sci-electronics/kicad/Manifest b/sci-electronics/kicad/Manifest |
18 |
index c7a8c3794f4..59db11de40b 100644 |
19 |
--- a/sci-electronics/kicad/Manifest |
20 |
+++ b/sci-electronics/kicad/Manifest |
21 |
@@ -1,11 +1,7 @@ |
22 |
-DIST kicad-4.0.1-i18n.tar.gz 2273300 SHA256 646f2f394046543be9fd57b2b5fc01f1869b4879958fc13a29f60b3502b7ca30 SHA512 56c87f94bb8c3a1f92dee6a5d88fe0a7d6778110cf1fbd019e7481fa89d0d3df447eb90d49f7621dd7006a4e23ce16f752eeba368057d4d970e280c77e22cc25 WHIRLPOOL 3a592d6c59da763dd554ebf85f9d627da58fb6ca38c435712742e0e58ab60bb59ec6c6b5757e651c7c1656ea23153237d236d680a3f3276ef1e1d4b29b24f413 |
23 |
-DIST kicad-4.0.1-library.tar.gz 105054096 SHA256 4d1ec105a422a0130be02f4d712d5c22ab223a7963f2b98e75b6847254269e46 SHA512 88b9d31230ac85e4b4341b0b2194d6fc622c03d62e80c65d82d999e02324d902ce90881fd5592bde9e8c2695370cb0c35e8e4473f640d1a25eddf453637b6b6f WHIRLPOOL 50cce4a0147982f8693009833831a3876c987ea24be938ed51a39d823935d424fbe7940b6f7565c42a318b4e71c24c31f8b0fcbfd5e63db247856312a775001b |
24 |
-DIST kicad-4.0.1.tar.xz 10837804 SHA256 73a9f8713ba93ce34e5f9c26e9667f33a22f4e33192fa6bd15d3fc0edea54bde SHA512 da9d5ba7f6a323d80621304e368c9783febedf7c545f31a6ca69bddc8573e7c7aa127c774cc29e173eae947debd444b5a04b0483800d6c0d1303e32a714e3d26 WHIRLPOOL 0985d7b38df1224787b0509407f34043d71f4eac847486bf4633cacb9c3bc32df9590c0516e3189e4b0f5ba17fde93ead467e200e95ecb763f7054cc1baac107 |
25 |
DIST kicad-4.0.4-i18n.tar.gz 2409039 SHA256 aec8121fc64985b150c0843db937a3383afe1805697f339aa73009215c1b92cf SHA512 5fcbf54aeff92c142652908dda9e727e8b076aec4531f2bb4d27aa9fd946e92621141a9709a9469c133010cca019e4e6bc9731366e8c1adbe38078f5a6fcaedf WHIRLPOOL 65c940149ab3357341b41a70f7db35695a598ade462a6fc8e602c4d1b53458fc712706e0effbc8b27b24f95510980a223cb9445b8ca8d54669dd89a65d066a2c |
26 |
DIST kicad-4.0.4.tar.xz 10672424 SHA256 6da5d3f7bc63a9c5b4d0f5e4b954411b45d712168596b5af02957343c87eda00 SHA512 230eb10d42e004c51d790db0d21dc08653944ca6cc4b728ad34b506f1a2b009c23369ddae417c8fafd420cb8045900dd4145cd1071867c759ab406dd12be3242 WHIRLPOOL c5e577bebfd11160528e9543d9a421a5814ad70134092e9a0bd759b7a941e730b33cac7059606eba049ad5ffc8e6d44a0079bdbe9446ad1f152fa04ec6150d4c |
27 |
DIST kicad-4.0.5-i18n.tar.gz 2464569 SHA256 18538b050f7c85eec0aaf3b2fd0a7a37a4eba139bb3d60be3ef80732e8e4b840 SHA512 ff33051202d3aa50284170ca1b0ebd6279ee60559c4ce88c577248d4fe3d5781bb5b75eea6c165fbbd4abc1fd681357a7d7877339c4413fb3774bc8a55264b81 WHIRLPOOL b63b9b59ddaf21485e8e358c356c694e03608989e6d2e13fc96bc620789cf1df66cf7d4fb051713ebcbd756afe6b43d217746ef2c84b593eeae8909c5e4c781f |
28 |
DIST kicad-4.0.5.tar.xz 10626696 SHA256 73f286733bb69b04749279a1848cbedfad908e7dcd1d11363c7fae7677c85331 SHA512 1486a039237e8d97ed21d62905ab74cb953b76c9d15bdfe7edd7380cf93e4c4b9a23aa82c6f523f6d5272e1dbe06ee8853a80eaabb1d0d9db6e304265f53ba7f WHIRLPOOL a7ca4e8183d44423a2076ca81047965166ed5f15504967ac790c18bedd045e61fbce17e197341876eb73aaa4a9a2571242cc5fcc4853abec99a19b3433690c6e |
29 |
-DIST kicad-footprints-4.0.1.tar.gz 801985 SHA256 e3b195706c8f30928c34478a87607e996def94a19982f8987a783b8e4ffe112f SHA512 4fef1792eee8be951c77a8684942ecfa9047b602796f90e746010d63f72f5981cb2c90efe28ba7bd7d22894256d23f71b47eb170056e7b4423f72120f5413725 WHIRLPOOL b41eb7149b14af4c3dd37bc19f7bba9afcc896c1b5d523e7bead0c6695dad7255527f952042589181876dc598d7a85963ab4f86b6c3179e0e82e6f187712c298 |
30 |
DIST kicad-footprints-4.0.4.tar.gz 1400434 SHA256 2b23e282c64c7e72d9ad52a6f114c20572b8c0e3fd9895b9b87b7ccacc7b4479 SHA512 7d42eea2c7c84961e05e0e61d6380e3d294d696e1321bb4406391125379fd6a3dc2b38e7ff8be51b684786bed892738452218f4c5a95c547319f1eaafc0cea6e WHIRLPOOL 6f96d7ecbe94c511f99c6022466704742aec83578790685c2945926682a0a2c50f2ff176bf075b06cea4cd60fe7afbfb8c142096b6b7a1d73020f0327d1281a8 |
31 |
DIST kicad-footprints-4.0.5.tar.gz 2330378 SHA256 50cb02d9eb44b30f8fd68434172a25a93c62cd9a07877091116fd8db8238f9ad SHA512 91122127be4b54bec7b37706d6438853463ed66b1c0c205e8d93709c159744e84ea58f3bf0cb1f4e18df6061f6df3d76f2ff0d6e698c6ba5ce3867d89838d95d WHIRLPOOL 44283efb35c3522e73d36fc51d591bc236cf2f17b8901279d28908b5a227f791597c74c94bff3be904417df42248b5d16e93a9aaa061132809ffe0507911b186 |
32 |
DIST kicad-libcontext.tar.gz 25599 SHA256 37be6072a6016d402b4341e2ceba719cdd8e279e275ea7275d91e19e813a31a3 SHA512 3b469dcf0e0f4e23f304d0068468a99516e89588d8f36a821af10e751f919cb8a9077d52109fdd43c1c2a443e026b38d0d3aa4774823d05755c9db35742d32d9 WHIRLPOOL d05f43544fa4c9d1fae957445782ad610c07564db81c12491fe6aeaf6948a369b3f55114eacb21916fbc9001f20d0a2c4944c3ab0ccc8e57bf9aa44fea507087 |
33 |
|
34 |
diff --git a/sci-electronics/kicad/kicad-4.0.1-r1.ebuild b/sci-electronics/kicad/kicad-4.0.1-r1.ebuild |
35 |
deleted file mode 100644 |
36 |
index 3233682c5ed..00000000000 |
37 |
--- a/sci-electronics/kicad/kicad-4.0.1-r1.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,191 +0,0 @@ |
40 |
-# Copyright 1999-2016 Gentoo Foundation |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=5 |
44 |
-PYTHON_COMPAT=( python2_7 ) |
45 |
- |
46 |
-WX_GTK_VER="3.0" |
47 |
- |
48 |
-inherit cmake-utils flag-o-matic gnome2-utils python-single-r1 vcs-snapshot wxwidgets versionator xdg |
49 |
- |
50 |
-DESCRIPTION="Electronic Schematic and PCB design tools." |
51 |
-HOMEPAGE="http://www.kicad-pcb.org" |
52 |
- |
53 |
-SERIES=$(get_version_component_range 1-2) |
54 |
- |
55 |
-SRC_URI="https://launchpad.net/${PN}/${SERIES}/${PV}/+download/${P}.tar.xz |
56 |
- http://downloads.kicad-pcb.org/libraries/${PN}-footprints-${PV}.tar.gz |
57 |
- !minimal? ( https://github.com/KiCad/${PN}-library/archive/${PV}.tar.gz -> ${P}-library.tar.gz ) |
58 |
- i18n? ( https://github.com/KiCad/${PN}-i18n/archive/${PV}.tar.gz -> ${P}-i18n.tar.gz )" |
59 |
- |
60 |
-LICENSE="GPL-2" |
61 |
-SLOT="0" |
62 |
-KEYWORDS="amd64 ~x86" |
63 |
-IUSE="debug doc examples github i18n minimal +python webkit" |
64 |
-LANGS="bg ca cs de el es fi fr hu it ja ko nl pl pt ru sk sl sv zh_CN" |
65 |
-for lang in ${LANGS} ; do |
66 |
- IUSE="${IUSE} linguas_${lang}" |
67 |
-done |
68 |
-unset lang |
69 |
-unset LANGS |
70 |
- |
71 |
-REQUIRED_USE=" |
72 |
- github? ( webkit ) |
73 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
74 |
- |
75 |
-CDEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit?] |
76 |
- python? ( |
77 |
- dev-python/wxpython:${WX_GTK_VER}[opengl,${PYTHON_USEDEP}] |
78 |
- ${PYTHON_DEPS} |
79 |
- ) |
80 |
- <dev-libs/boost-1.61[context,nls,threads,python?] |
81 |
- >=dev-libs/boost-1.56[context,nls,threads,python?] |
82 |
- github? ( dev-libs/openssl:0 ) |
83 |
- media-libs/glew:0= |
84 |
- media-libs/freeglut |
85 |
- media-libs/mesa |
86 |
- sys-libs/zlib |
87 |
- x11-libs/cairo" |
88 |
-DEPEND="${CDEPEND} |
89 |
- app-arch/xz-utils |
90 |
- doc? ( app-doc/doxygen ) |
91 |
- i18n? ( >=sys-devel/gettext-0.18 ) |
92 |
- python? ( dev-lang/swig:0 ) |
93 |
- app-text/dos2unix" |
94 |
-RDEPEND="${CDEPEND} |
95 |
- sci-electronics/electronics-menu" |
96 |
- |
97 |
-pkg_setup() { |
98 |
- python-single-r1_pkg_setup |
99 |
-} |
100 |
- |
101 |
-src_prepare() { |
102 |
- xdg_src_prepare |
103 |
- |
104 |
- # remove all the non unix file endings |
105 |
- find "${S}" -type f -name "*.desktop" | xargs -n1 dos2unix |
106 |
- assert "dos2unix failed" |
107 |
- |
108 |
- # Handle optional minimal install. |
109 |
- if use minimal; then |
110 |
- # remove templates as they are not needed to run binaries |
111 |
- sed -e '/add_subdirectory( template )/d' -i CMakeLists.txt || die "sed failed" |
112 |
- else |
113 |
- # create a link to the parts library in the main project folder |
114 |
- ln -s "${WORKDIR}/${P}-library" "${S}/${PN}-library" || die "ln failed" |
115 |
- # create a link to the footprints library and add cmake build rule for it |
116 |
- ln -s "${WORKDIR}/${PN}-footprints-${PV}" "${S}/${PN}-footprints" || die "ln failed" |
117 |
- cp "${FILESDIR}/${PN}-footprints-cmakelists.txt" "${WORKDIR}/${PN}-footprints-${PV}/CMakeLists.txt" || die "cp failed" |
118 |
- # add the libraries directory to cmake as a subproject to build |
119 |
- sed "/add_subdirectory( bitmaps_png )/a add_subdirectory( ${PN}-library )" -i CMakeLists.txt || die "sed failed" |
120 |
- # add the footprints directory to cmake as a subproject to build |
121 |
- sed "/add_subdirectory( ${PN}-library )/a add_subdirectory( ${PN}-footprints )" -i CMakeLists.txt || die "sed failed" |
122 |
- # remove duplicate uninstall directions for the library module |
123 |
- sed '/make uninstall/,/# /d' -i ${PN}-library/CMakeLists.txt || die "sed failed" |
124 |
- fi |
125 |
- |
126 |
- # Add internationalization for the GUI |
127 |
- if use i18n; then |
128 |
- # create a link to the translations library in the main project folder |
129 |
- ln -s "${WORKDIR}/${P}-i18n" "${S}/${PN}-i18n" || die "ln failed" |
130 |
- # Remove unused languages. Project generates only languages specified in the |
131 |
- # file in LINGUAS in the subproject folder. By default all languages are added |
132 |
- # so we sed out the unused ones based on the user linguas_* settings. |
133 |
- local lang |
134 |
- for lang in ${LANGS}; do |
135 |
- if ! use linguas_${lang}; then |
136 |
- sed "/${lang}/d" -i ${PN}-i18n/LINGUAS || die "sed failed" |
137 |
- fi |
138 |
- done |
139 |
- # cmakelists does not respect our build dir variables, so make it point to the right location |
140 |
- sed "s|\${CMAKE_BINARY_DIR}|${WORKDIR}/${P}_build|g" -i ${PN}-i18n/CMakeLists.txt || die "sed failed" |
141 |
- # we also make from the master project so the source dir is understood incorretly, replace that too |
142 |
- sed "s|\${CMAKE_SOURCE_DIR}/\${LANG}|\${CMAKE_SOURCE_DIR}/${PN}-i18n/\${LANG}|g" -i ${PN}-i18n/CMakeLists.txt || die "sed failed" |
143 |
- # add the translations directory to cmake as a subproject to build |
144 |
- sed "/add_subdirectory( bitmaps_png )/a add_subdirectory( ${PN}-i18n )" -i CMakeLists.txt || die "sed failed" |
145 |
- # remove duplicate uninstall directions for the translation module |
146 |
- sed '/make uninstall/,$d' -i ${PN}-i18n/CMakeLists.txt || die "sed failed" |
147 |
- fi |
148 |
- |
149 |
- # Install examples in the right place if requested |
150 |
- if use examples; then |
151 |
- # install demos into the examples folder too |
152 |
- sed -e 's:${KICAD_DATA}/demos:${KICAD_DOCS}/examples:' -i CMakeLists.txt || die "sed failed" |
153 |
- else |
154 |
- # remove additional demos/examples as its not strictly required to run the binaries |
155 |
- sed -e '/add_subdirectory( demos )/d' -i CMakeLists.txt || die "sed failed" |
156 |
- fi |
157 |
- |
158 |
- # Add important missing doc files |
159 |
- sed -e 's/INSTALL.txt/AUTHORS.txt CHANGELOG.txt README.txt TODO.txt/' -i CMakeLists.txt || die "sed failed" |
160 |
-} |
161 |
- |
162 |
-src_configure() { |
163 |
- local mycmakeargs=( |
164 |
- -DPYTHON_DEST="$(python_get_sitedir)" |
165 |
- -DPYTHON_EXECUTABLE="${PYTHON}" |
166 |
- -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" |
167 |
- -DPYTHON_LIBRARY="$(python_get_library_path)" |
168 |
- -DKICAD_DOCS="/usr/share/doc/${PF}" |
169 |
- -DKICAD_HELP="/usr/share/doc/${PF}/help" |
170 |
- -DKICAD_REPO_NAME="stable" |
171 |
- -DKICAD_BUILD_VERSION="${PV}" |
172 |
- -DwxUSE_UNICODE=ON |
173 |
- -DKICAD_SKIP_BOOST=ON |
174 |
- $(cmake-utils_use github BUILD_GITHUB_PLUGIN) |
175 |
- $(cmake-utils_use python KICAD_SCRIPTING) |
176 |
- $(cmake-utils_use python KICAD_SCRIPTING_MODULES) |
177 |
- $(cmake-utils_use python KICAD_SCRIPTING_WXPYTHON) |
178 |
- $(cmake-utils_use webkit KICAD_USE_WEBKIT) |
179 |
- $(usex i18n "-DKICAD_I18N_UNIX_STRICT_PATH=1" "") |
180 |
- ) |
181 |
- if use debug; then |
182 |
- append-cxxflags "-DDEBUG" |
183 |
- append-cflags "-DDEBUG" |
184 |
- fi |
185 |
- cmake-utils_src_configure |
186 |
-} |
187 |
- |
188 |
-src_compile() { |
189 |
- cmake-utils_src_compile |
190 |
- if use doc; then |
191 |
- doxygen Doxyfile || die "doxygen failed" |
192 |
- fi |
193 |
-} |
194 |
- |
195 |
-src_install() { |
196 |
- cmake-utils_src_install |
197 |
- use python && python_optimize |
198 |
- if use doc ; then |
199 |
- dodoc uncrustify.cfg |
200 |
- cd Documentation || die "cd failed" |
201 |
- dodoc -r GUI_Translation_HOWTO.pdf guidelines/UIpolicies.txt doxygen/. |
202 |
- fi |
203 |
-} |
204 |
- |
205 |
-pkg_preinst() { |
206 |
- xdg_pkg_preinst |
207 |
- gnome2_icon_savelist |
208 |
-} |
209 |
- |
210 |
-pkg_postinst() { |
211 |
- xdg_pkg_postinst |
212 |
- gnome2_icon_cache_update |
213 |
- |
214 |
- if use minimal ; then |
215 |
- ewarn "If the schematic and/or board editors complain about missing libraries when you" |
216 |
- ewarn "open old projects, you will have to take one or more of the following actions :" |
217 |
- ewarn "- Install the missing libraries manually." |
218 |
- ewarn "- Remove the libraries from the 'Libs and Dir' preferences." |
219 |
- ewarn "- Fix the libraries' locations in the 'Libs and Dir' preferences." |
220 |
- ewarn "- Emerge ${PN} without the 'minimal' USE flag." |
221 |
- fi |
222 |
- elog "" |
223 |
- elog "You may want to emerge media-gfx/wings if you want to create 3D models of components." |
224 |
- elog "For help and extended documentation emerge app-doc/kicad-doc." |
225 |
-} |
226 |
- |
227 |
-pkg_postrm() { |
228 |
- xdg_pkg_postrm |
229 |
- gnome2_icon_cache_update |
230 |
-} |