diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-05-31 06:09:10 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-05-31 06:09:10 +0000 |
commit | cdfe5a51280998a62409630891a364f8485fab67 (patch) | |
tree | b16f095ffa21228cd5174a4c6582d407e14ab00e /sci-electronics | |
parent | Version bump #180367. (diff) | |
download | historical-cdfe5a51280998a62409630891a364f8485fab67.tar.gz historical-cdfe5a51280998a62409630891a364f8485fab67.tar.bz2 historical-cdfe5a51280998a62409630891a364f8485fab67.zip |
Version bump.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sci-electronics')
-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-20070525 | 6 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-20070525.ebuild | 107 |
4 files changed, 132 insertions, 5 deletions
diff --git a/sci-electronics/kicad/ChangeLog b/sci-electronics/kicad/ChangeLog index e84c1a8558a1..59e9359c8fd0 100644 --- a/sci-electronics/kicad/ChangeLog +++ b/sci-electronics/kicad/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/kicad # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.18 2007/05/30 06:23:32 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.19 2007/05/31 06:09:10 calchan Exp $ + +*kicad-20070525 (31 May 2007) + + 31 May 2007; Denis Dupeyron <calchan@gentoo.org> +kicad-20070525.ebuild: + Version bump. 30 May 2007; Denis Dupeyron <calchan@gentoo.org> kicad-20060828.ebuild, kicad-20070115.ebuild: diff --git a/sci-electronics/kicad/Manifest b/sci-electronics/kicad/Manifest index 48c9cd8cd59f..b3e3cdd3a980 100644 --- a/sci-electronics/kicad/Manifest +++ b/sci-electronics/kicad/Manifest @@ -1,7 +1,9 @@ DIST kicad-2006-08-28.tgz 58438630 RMD160 7e14ca52b0fd71385b24bb98f02c30cb488b8c85 SHA1 61e5346219ea9233642c0150d8e98697daadfdda SHA256 a7a7197bae9a78bf4af1e5ef40152057b27a605403791c101a8684ea766fd637 DIST kicad-20060828.tar.bz2 11314983 RMD160 183eefd26e6ceb0623a314a2348e08e7c1470bd6 SHA1 a26a748e77ae8b64fe843e12ce35fbe2101e60ba SHA256 d2d203c77f18c60d98f3d19150bce9ceba41810c147c3d59d820d4d683ca5ef1 DIST kicad-2007-01-15.tgz 61333975 RMD160 122313a847ab78bc8e7c796956b7df84e8c789d7 SHA1 347324baf943efb8ea6c21a709fefa1119aa0119 SHA256 10a2ada595dd84d54fbe013f3230894999996660916698eae78773fd168b4ba1 +DIST kicad-2007-05-25.tgz 61657926 RMD160 64c2cba01bd35bffb6e58174a05a536f70bf42a5 SHA1 a61ac54711fe4b993b3e6687e135aad9825eaa70 SHA256 82e3396fe405676471032997ffab10d054a5a731baf2c2e16921efeb4be65f90 DIST kicad-20070115.tar.bz2 11653448 RMD160 3ca516324aabb8fd7b6038fba34603298bf612de SHA1 21d2e865c064173d8b346386b4ba7c9800fd383d SHA256 0c9cfb0241714207498a71122570e453389d977ad33942bac68cec154cfbed35 +DIST kicad-20070525.tar.bz2 11075020 RMD160 96c019dfb9437d967d001a5343bcae2c4e9dea11 SHA1 df7fb34bf0ee2358633479cc6c98319afe9c3901 SHA256 cc5e776671a293ab8b67843957ec35a3820803556e5ff778b636e841b390a2d1 EBUILD kicad-20060828.ebuild 3450 RMD160 89140a977d60a20de456341a4e347d88385614b3 SHA1 63ac8f5a7e654885e72863820efc7d748da5511f SHA256 1c217e131faf879590ed0b83dc86cae8c424e18d4bacf82251cb61aac4f353ee MD5 07db0bd5f20ee15a922f0afa76f3a2b5 kicad-20060828.ebuild 3450 RMD160 89140a977d60a20de456341a4e347d88385614b3 kicad-20060828.ebuild 3450 @@ -10,10 +12,14 @@ EBUILD kicad-20070115.ebuild 3456 RMD160 62aab0f39a52710960696f0793a24beeeb00fc3 MD5 303afaeff9dba341b6b6d4eb3f340915 kicad-20070115.ebuild 3456 RMD160 62aab0f39a52710960696f0793a24beeeb00fc36 kicad-20070115.ebuild 3456 SHA256 79bb495fa4c65c281f2e8e829a746ae0d3aa762a5d0037d774d6e357e23e07e9 kicad-20070115.ebuild 3456 -MISC ChangeLog 2726 RMD160 62fa10485dacb7e54db6e38d257165649fa96aeb SHA1 0426fcf1bfbb0f8bbaa01ac1e7bc8a211e732785 SHA256 bfdf8c3c8dd7455705be35f97473d87699b014c6973607fa1ac997aef43dcc12 -MD5 fcb730d9619240bd6315e8d431215ded ChangeLog 2726 -RMD160 62fa10485dacb7e54db6e38d257165649fa96aeb ChangeLog 2726 -SHA256 bfdf8c3c8dd7455705be35f97473d87699b014c6973607fa1ac997aef43dcc12 ChangeLog 2726 +EBUILD kicad-20070525.ebuild 3912 RMD160 dc258b5d67ed7a801ad545bf2db7664e2c48c507 SHA1 c6fb9a68d03c43ea70ec4925e829f07e7499d0ff SHA256 28d9fbc6e01192c6f14b8f86b854bceb3a3ef312ac477eb0684d9e5104a8d2df +MD5 0f72ede2da6328b9382ded682839f724 kicad-20070525.ebuild 3912 +RMD160 dc258b5d67ed7a801ad545bf2db7664e2c48c507 kicad-20070525.ebuild 3912 +SHA256 28d9fbc6e01192c6f14b8f86b854bceb3a3ef312ac477eb0684d9e5104a8d2df kicad-20070525.ebuild 3912 +MISC ChangeLog 2849 RMD160 a1b8b0de7c8e967fe50264fecf9fed923425df4b SHA1 d681465a03e20f881d075832150008ceadf441ab SHA256 5905122b65270d9bc3b4bcd833eebe685498f2e7b4f0ecc56c2af288c1ff9c31 +MD5 4f44360632a400b1751bce5c44277f7f ChangeLog 2849 +RMD160 a1b8b0de7c8e967fe50264fecf9fed923425df4b ChangeLog 2849 +SHA256 5905122b65270d9bc3b4bcd833eebe685498f2e7b4f0ecc56c2af288c1ff9c31 ChangeLog 2849 MISC metadata.xml 339 RMD160 edfadf44bb7c0a6049e40379258ccfbe89b74b5f SHA1 387abeb29f7e875057901f84b2bdb77c4f942c2e SHA256 311ce02a24351429c5d83af4292d0b8fa315ffde140ba06ac64e6bf3c233d173 MD5 cf9f0a7798ab8fd2681122e170b0674c metadata.xml 339 RMD160 edfadf44bb7c0a6049e40379258ccfbe89b74b5f metadata.xml 339 @@ -24,3 +30,6 @@ SHA256 cd55224b3e607c6ab7b02d54245ea67f0ca8b9b294bec42ead893da5893cca45 files/di MD5 6cb9d3107354b6e93a91631e73ed357c files/digest-kicad-20070115 500 RMD160 4e923be67b21462a290ab6ecf8b7d8dcc1b38e3d files/digest-kicad-20070115 500 SHA256 dd8d5e13aa3cbfe4af25b49383984395d510a236d33e2c70c52a46ac406a1258 files/digest-kicad-20070115 500 +MD5 0459fde8ae4b534edfb95bfadd1262bd files/digest-kicad-20070525 500 +RMD160 c2b26fd7824bab248ca2c0c75ffab2ce6c2fd909 files/digest-kicad-20070525 500 +SHA256 8a2b5683bbe2c1acf965dd478121c24febd8672acffd5b02d267d38ca96f7d89 files/digest-kicad-20070525 500 diff --git a/sci-electronics/kicad/files/digest-kicad-20070525 b/sci-electronics/kicad/files/digest-kicad-20070525 new file mode 100644 index 000000000000..5c7579f78354 --- /dev/null +++ b/sci-electronics/kicad/files/digest-kicad-20070525 @@ -0,0 +1,6 @@ +MD5 bcd1f5605fde1437036cf5d945a12157 kicad-2007-05-25.tgz 61657926 +RMD160 64c2cba01bd35bffb6e58174a05a536f70bf42a5 kicad-2007-05-25.tgz 61657926 +SHA256 82e3396fe405676471032997ffab10d054a5a731baf2c2e16921efeb4be65f90 kicad-2007-05-25.tgz 61657926 +MD5 1be72f247f510959e1e2011b04ddb458 kicad-20070525.tar.bz2 11075020 +RMD160 96c019dfb9437d967d001a5343bcae2c4e9dea11 kicad-20070525.tar.bz2 11075020 +SHA256 cc5e776671a293ab8b67843957ec35a3820803556e5ff778b636e841b390a2d1 kicad-20070525.tar.bz2 11075020 diff --git a/sci-electronics/kicad/kicad-20070525.ebuild b/sci-electronics/kicad/kicad-20070525.ebuild new file mode 100644 index 000000000000..b6a9d1d30dfc --- /dev/null +++ b/sci-electronics/kicad/kicad-20070525.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20070525.ebuild,v 1.1 2007/05/31 06:09:10 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="~amd64 ~ppc64 ~x86" +IUSE="doc examples minimal unicode" + +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" + + # Some patching is required for wxGTK-2.6 + if WX_GTK_VER="2.6" ; then + sed -i -e "s:wxFD_OVERWRITE_PROMPT:wxOVERWRITE_PROMPT:" kicad/treeprj_frame.cpp || die "sed failed" + sed -i -e "s:, false ): ):" kicad/treeprj_datas.cpp || die "sed failed" + fi +} + +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 || die "Installation failed" + doexe pcbnew/pcbnew || die "Installation failed" + doexe cvpcb/cvpcb || die "Installation failed" + doexe kicad/kicad || die "Installation failed" + doexe kicad/minizip/minizip || die "Installation failed" + doexe gerbview/gerbview || die "Installation failed" + exeinto /usr/lib/${PN}/linux/plugins + doexe eeschema/plugins/netlist_form_pads-pcb || die "Installation failed" + 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 +} |