diff options
-rw-r--r-- | sci-electronics/kicad/ChangeLog | 7 | ||||
-rw-r--r-- | sci-electronics/kicad/Manifest | 17 | ||||
-rw-r--r-- | sci-electronics/kicad/files/digest-kicad-20060828 | 6 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-20060828.ebuild | 101 |
4 files changed, 126 insertions, 5 deletions
diff --git a/sci-electronics/kicad/ChangeLog b/sci-electronics/kicad/ChangeLog index 598910592dce..0898e975751a 100644 --- a/sci-electronics/kicad/ChangeLog +++ b/sci-electronics/kicad/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/kicad # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.10 2006/07/07 17:24:52 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.11 2006/09/12 05:41:00 calchan Exp $ + +*kicad-20060828 (12 Sep 2006) + + 12 Sep 2006; Denis Dupeyron <calchan@gentoo.org> +kicad-20060828.ebuild: + Version bump. 07 Jul 2006; Denis Dupeyron <calchan@gentoo.org> kicad-20060328.ebuild, kicad-20060424.ebuild, kicad-20060626.ebuild: diff --git a/sci-electronics/kicad/Manifest b/sci-electronics/kicad/Manifest index c64299019edc..bfde06d34170 100644 --- a/sci-electronics/kicad/Manifest +++ b/sci-electronics/kicad/Manifest @@ -5,9 +5,11 @@ SHA256 df896c8b0954a9a4b1e3d13e6fbb9eb8690bb8471f743bdfc8ba74d03b99062b files/ki DIST kicad-2006-03-28.tgz 56088619 DIST kicad-2006-04-24.tgz 56566245 RMD160 3efc8be239326a38fbf7f50bede03644c38c553a SHA1 e22ce004a82529ace24944ac4ca8812557c3cd17 SHA256 bbab5bef39e27009d99f2fce1d79c54397296c9e0b44e7e5d870a8226646b0b5 DIST kicad-2006-06-26.tgz 57903490 RMD160 2eeb86863ffc847c35384a9474daefc64b4eae7a SHA1 0c7d27c8a7ac6bbeaef31b81c3403bfc629c3435 SHA256 88d24bf753ceca85814883f621299a1c189722b284d9685009f7668477a02337 +DIST kicad-2006-08-28.tgz 58438630 RMD160 7e14ca52b0fd71385b24bb98f02c30cb488b8c85 SHA1 61e5346219ea9233642c0150d8e98697daadfdda SHA256 a7a7197bae9a78bf4af1e5ef40152057b27a605403791c101a8684ea766fd637 DIST kicad-20060328.tar.bz2 9643428 DIST kicad-20060424.tar.bz2 9579336 RMD160 e6d601ac85fdcb22fa09cef61333b06e1d18f24e SHA1 58b3a6f11e99065f8bd52a530049651680bb29be SHA256 22e1118925449fe5efc9bb9938e5b49b43d834743e3a5571ed15b34317be0f35 DIST kicad-20060626.tar.bz2 11246097 RMD160 2d684eb417514005e49eb47755e97cca6716d478 SHA1 3b0636e3a94fb341d4c4b3eea34f7db834509d64 SHA256 88e175c94a21a7dcd0d47f9cae3b6541a7ca646b4db64af8eee27af7102c8926 +DIST kicad-20060828.tar.bz2 11314983 RMD160 183eefd26e6ceb0623a314a2348e08e7c1470bd6 SHA1 a26a748e77ae8b64fe843e12ce35fbe2101e60ba SHA256 d2d203c77f18c60d98f3d19150bce9ceba41810c147c3d59d820d4d683ca5ef1 EBUILD kicad-20060328.ebuild 3418 RMD160 1281cf23adc6cf3115c8f6f3b55f12352e76f269 SHA1 72acdffa3900273827a90213e94ca267b49a3811 SHA256 6d5ab314c2190e0e77625280315422af5f003598b1493454c5366f483e4facab MD5 0ba6b3e2399d8bdfcf52f969d9fe426c kicad-20060328.ebuild 3418 RMD160 1281cf23adc6cf3115c8f6f3b55f12352e76f269 kicad-20060328.ebuild 3418 @@ -20,10 +22,14 @@ EBUILD kicad-20060626.ebuild 3450 RMD160 ebb52c6003d6a6099a799039d7e33bb462cecbb MD5 9508cff3465e5fd3ea04a6686b3604f5 kicad-20060626.ebuild 3450 RMD160 ebb52c6003d6a6099a799039d7e33bb462cecbb2 kicad-20060626.ebuild 3450 SHA256 d44f1ff6be3a7af15fb3316d5457f72864c8d8fe463d192ee0fb86a94c5cd055 kicad-20060626.ebuild 3450 -MISC ChangeLog 1652 RMD160 3f36cb3364dfdc01c7687da6a7a21bfd41d59dec SHA1 326acb183f0430652e1dc216690af9cf292b4fcc SHA256 3052d52ff5c848ac005e036eeb8004e1b78d1f64b475805edbe57bd46b74bbea -MD5 b0a218e6576ee3c3f6ccfb4a0fcc11cf ChangeLog 1652 -RMD160 3f36cb3364dfdc01c7687da6a7a21bfd41d59dec ChangeLog 1652 -SHA256 3052d52ff5c848ac005e036eeb8004e1b78d1f64b475805edbe57bd46b74bbea ChangeLog 1652 +EBUILD kicad-20060828.ebuild 3450 RMD160 27c486202fcdedde2917a6b1ab4a419960457f2d SHA1 0e0bf1c6b5724996ffa8715c0019801a54cdad7a SHA256 2794fbdca7a3493d1c22ced9dadf3f8433c8eca604e05442d0b9d539eb6ae518 +MD5 db424ccc4427b591cb8b37a8b909b2d8 kicad-20060828.ebuild 3450 +RMD160 27c486202fcdedde2917a6b1ab4a419960457f2d kicad-20060828.ebuild 3450 +SHA256 2794fbdca7a3493d1c22ced9dadf3f8433c8eca604e05442d0b9d539eb6ae518 kicad-20060828.ebuild 3450 +MISC ChangeLog 1775 RMD160 0e4c92f54aff6221d9a831c2f072e5642f4314f0 SHA1 7badff12031081915c97777d5c14986dbe9238fa SHA256 e1578efee221bf807671f16d5e94998de98e7dde8b911e829d96c847681e6b28 +MD5 e33c2dae17ae38207c0eb5624283259a ChangeLog 1775 +RMD160 0e4c92f54aff6221d9a831c2f072e5642f4314f0 ChangeLog 1775 +SHA256 e1578efee221bf807671f16d5e94998de98e7dde8b911e829d96c847681e6b28 ChangeLog 1775 MISC metadata.xml 339 RMD160 edfadf44bb7c0a6049e40379258ccfbe89b74b5f SHA1 387abeb29f7e875057901f84b2bdb77c4f942c2e SHA256 311ce02a24351429c5d83af4292d0b8fa315ffde140ba06ac64e6bf3c233d173 MD5 cf9f0a7798ab8fd2681122e170b0674c metadata.xml 339 RMD160 edfadf44bb7c0a6049e40379258ccfbe89b74b5f metadata.xml 339 @@ -37,3 +43,6 @@ SHA256 da587ea090cf0e7ca665c448f23f3aa09c95d2d171dce12477205bec0f0c4b47 files/di MD5 c39921993cbb08b84ea606a5b52b3817 files/digest-kicad-20060626 500 RMD160 6d048c826ebbfbd3dad5d2fc3a363f02d8ed0c41 files/digest-kicad-20060626 500 SHA256 721cb45559ae385aa3da978955859ee252da1cff12334444dbb8acb293717eda files/digest-kicad-20060626 500 +MD5 756ef152293ef48442c3bdf04b5d3438 files/digest-kicad-20060828 500 +RMD160 b97ac5b0260942c21a760a63c01ecc9fedb5d53e files/digest-kicad-20060828 500 +SHA256 cd55224b3e607c6ab7b02d54245ea67f0ca8b9b294bec42ead893da5893cca45 files/digest-kicad-20060828 500 diff --git a/sci-electronics/kicad/files/digest-kicad-20060828 b/sci-electronics/kicad/files/digest-kicad-20060828 new file mode 100644 index 000000000000..e886477acf3d --- /dev/null +++ b/sci-electronics/kicad/files/digest-kicad-20060828 @@ -0,0 +1,6 @@ +MD5 6d27571755e6321d6a117f7e040999ff kicad-2006-08-28.tgz 58438630 +RMD160 7e14ca52b0fd71385b24bb98f02c30cb488b8c85 kicad-2006-08-28.tgz 58438630 +SHA256 a7a7197bae9a78bf4af1e5ef40152057b27a605403791c101a8684ea766fd637 kicad-2006-08-28.tgz 58438630 +MD5 194f6f214ede60d44eeb83881700bae8 kicad-20060828.tar.bz2 11314983 +RMD160 183eefd26e6ceb0623a314a2348e08e7c1470bd6 kicad-20060828.tar.bz2 11314983 +SHA256 d2d203c77f18c60d98f3d19150bce9ceba41810c147c3d59d820d4d683ca5ef1 kicad-20060828.tar.bz2 11314983 diff --git a/sci-electronics/kicad/kicad-20060828.ebuild b/sci-electronics/kicad/kicad-20060828.ebuild new file mode 100644 index 000000000000..b0f69dcb6af6 --- /dev/null +++ b/sci-electronics/kicad/kicad-20060828.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20060828.ebuild,v 1.1 2006/09/12 05:41:00 calchan Exp $ + +inherit wxwidgets + +UPSTREAM_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" +DESCRIPTION="Electronic schematic and PCB design tools." +HOMEPAGE="http://www.lis.inpg.fr/realise_au_lis/kicad/" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + !minimal? ( ftp://iut-tice.ujf-grenoble.fr/cao/${PN}-${UPSTREAM_PV}.tgz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="unicode doc examples minimal" + +DEPEND=">=x11-libs/wxGTK-2.6 + media-gfx/wings" + +pkg_setup() { + # Tell wxwidgets.eclass the version we need. We pick the latest on the system. + WX_GTK_VER=$(`ls /usr/bin/wx-config* | sort | tail -n 1` --release) + + # Check for proper wxGTK USE flags. + if use unicode; then + need-wxwidgets unicode || die "You need to install wxGTK with unicode support." + else + need-wxwidgets gtk2 || die "You need to install wxGTK with gtk2 support." + fi + built_with_use ">=x11-libs/wxGTK-${WX_GTK_VER}" opengl || die "You need to install wxGTK with opengl support." +} + +src_unpack() { + unpack ${A} || die "unpack failed" + cd ${S} + + # Use the chosen wx-config executable + sed -i -e "s:wx-config:${WX_CONFIG}:" libs.* || die "sed failed" + sed -i -e "s:wx-config:${WX_CONFIG}:" */makefile.* || die "sed failed" +} + +src_compile() { + # Build the main executables + emake -f makefile.gtk || die "make failed (main)" + + # Minizip needs to be built independently + cd kicad/minizip + emake -f makefile.unx || die "make failed (minizip)" +} + +src_install() { + # kicad doesn't use the autotools yet + exeinto /usr/lib/${PN}/linux + doexe eeschema/eeschema + doexe pcbnew/pcbnew + doexe cvpcb/cvpcb + doexe kicad/kicad + doexe kicad/minizip/minizip + doexe gerbview/gerbview + exeinto /usr/lib/${PN}/linux/plugins + doexe eeschema/plugins/netlist_form_pads-pcb + newicon kicad_icon.png kicad.png + make_wrapper kicad "/usr/lib/${PN}/linux/kicad" + make_desktop_entry kicad Kicad kicad.png Electronics + + # kicad requires everything to be in the same place + cp -pPR library ${D}/usr/lib/${PN} + cp -pPR internat ${D}/usr/lib/${PN} + cp -pPR template ${D}/usr/lib/${PN} + cp -pPR help ${D}/usr/lib/${PN} + if ! use minimal ; then + cp -pPR ${WORKDIR}/kicad/library ${D}/usr/lib/${PN} + cp -pPR ${WORKDIR}/kicad/modules ${D}/usr/lib/${PN} + cp -pPR ${WORKDIR}/kicad/template ${D}/usr/lib/${PN} + if use doc ; then + cp -pPR ${WORKDIR}/kicad/help ${D}/usr/lib/${PN} + fi + if use examples ; then + cp -pPR ${WORKDIR}/kicad/demos ${D}/usr/lib/${PN} + fi + fi + dodoc author.txt copyright.txt news.txt contrib.txt version.txt +} + +pkg_postinst() { + if use minimal ; then + ewarn "If the schematic and/or board editors complain about missing libraries when you open old projects," + ewarn "you will have to take one or more of the following actions :" + ewarn "- Install the missing libraries manually." + ewarn "- Remove the libraries from the 'Libs and Dir' preferences." + ewarn "- Fix the libraries' locations in the 'Libs and Dir' preferences." + ewarn "- Emerge kicad without the 'minimal' USE flag." + else + elog "Please note that the PDF datasheets that can be linked to components from the default libraries" + elog "cannot be mirrored by Gentoo for legal reasons." + elog "If you want them, you need to download them yourself from :" + elog "${HOMEPAGE}" + elog "and install them manually." + fi +} |