summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-09-18 08:28:35 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-09-18 08:28:35 +0000
commita7073284a0b8bad34f9863787afe60df3166524a (patch)
tree37fe34c28ff5bd6ad081c018b9890bbaeaf52ddd /sci-electronics
parentUse EAPI 1 and slot deps for freetype. (diff)
downloadhistorical-a7073284a0b8bad34f9863787afe60df3166524a.tar.gz
historical-a7073284a0b8bad34f9863787afe60df3166524a.tar.bz2
historical-a7073284a0b8bad34f9863787afe60df3166524a.zip
Version bump.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad/ChangeLog8
-rw-r--r--sci-electronics/kicad/Manifest9
-rw-r--r--sci-electronics/kicad/kicad-20080914.1262.ebuild78
3 files changed, 92 insertions, 3 deletions
diff --git a/sci-electronics/kicad/ChangeLog b/sci-electronics/kicad/ChangeLog
index 45d61cb71d79..6e0cea0bb804 100644
--- a/sci-electronics/kicad/ChangeLog
+++ b/sci-electronics/kicad/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/kicad
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.33 2008/03/30 13:58:33 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.34 2008/09/18 08:28:35 calchan Exp $
+
+*kicad-20080914.1262 (18 Sep 2008)
+
+ 18 Sep 2008; Denis Dupeyron <calchan@gentoo.org>
+ +kicad-20080914.1262.ebuild:
+ Version bump.
30 Mar 2008; Denis Dupeyron <calchan@gentoo.org>
kicad-20080320.918.ebuild:
diff --git a/sci-electronics/kicad/Manifest b/sci-electronics/kicad/Manifest
index 3491aa55d91a..f6afcba2b567 100644
--- a/sci-electronics/kicad/Manifest
+++ b/sci-electronics/kicad/Manifest
@@ -6,11 +6,16 @@ DIST kicad-20070115.tar.bz2 11653448 RMD160 3ca516324aabb8fd7b6038fba34603298bf6
DIST kicad-20070525.tar.bz2 11075020 RMD160 96c019dfb9437d967d001a5343bcae2c4e9dea11 SHA1 df7fb34bf0ee2358633479cc6c98319afe9c3901 SHA256 cc5e776671a293ab8b67843957ec35a3820803556e5ff778b636e841b390a2d1
DIST kicad-20070702.tar.bz2 11115678 RMD160 af141117d233c91ae930b8839cbd3cf4a997c821 SHA1 6cbc4c7e9259210a49d5cc252e12e800aac59e62 SHA256 91238183d588164397579fd3ff4b5531ffcd82d7d5fd36dd4ef5b2172aafeabc
DIST kicad-20080320-r918.tar.bz2 4982106 RMD160 a7918595f1df6a6dedb023f3d6982be008c659e2 SHA1 dd3fdf9869100f4ed924c29b292bd0f1ce6e6672 SHA256 7b4d5546cbcb2960a1c8a6ee0e58d7fb2f1e9ceb4e5dddd0f3c33f8d0a7590ff
-DIST kicad-doc-1.0.tbz2 15171550 RMD160 c32d57b9b18f33142dde75184fe0f9925d5b7ff3 SHA1 7c54aca10658762a0fd79591c6401d363d10e38d SHA256 85ff9a94e150796c15072e3243d2a2eeb1f3d747545f3a411520c9d34eee7e94
+DIST kicad-20080914-r1262.tar.bz2 3917830 RMD160 57417ecb0f5e289aaaaae6da276570a4224bae22 SHA1 5dba01ab373f2397d57a5d3dcf893142ef3ddd0a SHA256 cafe275beb7cd6d9801d6a7ae888fee9ac18b8d24071aa691b52e96bcd1832fe
+DIST kicad-doc-1.0.tbz2 12161808 RMD160 f1381361918f4a85d654cdeadfa4790feba5e2d6 SHA1 5608750dbdae1ed48d3f28fc7f785747d7b52260 SHA256 e081c9c2b020ed7f1e680a6bddad645961659ff7ed83dedfaef53123696c6081
+DIST kicad-doc-20080914-r1262.tar.bz2 28269787 RMD160 1c4cd5f03016a9a250448d8f9f9fe887c63bdade SHA1 77dc52fafdec3e671ce9225f420fbb932fa0e034 SHA256 702f9a274741fc472cb46f54be2cadcae3c7c1e070b333915ce667e086b87d83
+DIST kicad-examples-20080914-r1262.tar.bz2 767574 RMD160 8f2bfbf60fc499463a1ed67c73768c2f8aee13d0 SHA1 464894c06c41dff801692c0b3a044c7c30f71633 SHA256 b3b1db6be1dda675217261c4dac7ca97eeb1e311097b97fc2474769b65380697
DIST kicad-library-1.0.tbz2 2064430 RMD160 bfc8206e2efaf0cbc9f125df11f55fcd1014a192 SHA1 8c9e0336b613c4c5e1924b2fa571f9d1cf275109 SHA256 c20bd122ae70e33669e5ce5265395b25114c7f825dca9725c7cedb9c019552c8
+DIST kicad-library-20080914-r1262.tar.bz2 2701228 RMD160 1e35c138ee8746891654673d4e2e3ca35cdb79df SHA1 c69a395b6304692ee802e9cf67c39818247958a8 SHA256 e5895867bd762750e29ceed623e6ed45d6c6a0236b5fc287aef31e18235f6167
EBUILD kicad-20070115.ebuild 3528 RMD160 65fc58163cbf1b8e023d408099187ab37b115972 SHA1 da88cbe2656208fa14dae2eec7735b7badf57792 SHA256 95caddf1a0122181afe2375da8444433130299a6c4de007ff223a8c48d83622c
EBUILD kicad-20070525.ebuild 3990 RMD160 1e0d9b00ae6a3470e6db555f47a6e6f95f0aec7d SHA1 a03c69fbb8f1948d58f849952cb9abdf568fcec7 SHA256 88d05c26f359ea7c0fdec72adfb0ad27f47d91b5514a4d4bb7c7b1e840113c07
EBUILD kicad-20070702.ebuild 4063 RMD160 0d0dd24015e8cef5271cacb3d2f6341bfe5f9878 SHA1 2360cb7dbc7a7bfe8af6a7e4f61f4f9335918698 SHA256 d4392bd46bf20096d6783f9597a82db1b9d8fe64c8c6fdb4a94e4939592f2ee6
EBUILD kicad-20080320.918.ebuild 2141 RMD160 1248cccb273291280ada92f2c343a44e958652a4 SHA1 af5e8b4023e29e14d306c5a1ddca5259b1f38eb9 SHA256 fc3ed4a7b3244f7c313640daf2999ab049202f06c48bca4d390b746c7938ba10
-MISC ChangeLog 5132 RMD160 efde03f2fe5d356d28b2b8f873880057dbf5a277 SHA1 1a90e71cc1f1b23229e9c4f7838b8ab9f98181b5 SHA256 3d720ae74b28b93ad521e3c091579266ae86ccbb971a7c6244df396aa5a8641b
+EBUILD kicad-20080914.1262.ebuild 2300 RMD160 9bb17f5222a96981cbb0c7ebb03ee85ad47fbf1e SHA1 08b8930328beaaa0df9c9eda4708defe2e543f6d SHA256 6917b1ec290abb5b74986258384385b0cfff6fc6fe125f356b17b5d46685095c
+MISC ChangeLog 5267 RMD160 f1b856841a705404f6d089415fa2279cda977db1 SHA1 2eaea84970041f540568736ee2877683c843c58c SHA256 c2ac9e2d748968752d27845fe607069ab66e8d5cf68125edf2983c6720180c2d
MISC metadata.xml 339 RMD160 edfadf44bb7c0a6049e40379258ccfbe89b74b5f SHA1 387abeb29f7e875057901f84b2bdb77c4f942c2e SHA256 311ce02a24351429c5d83af4292d0b8fa315ffde140ba06ac64e6bf3c233d173
diff --git a/sci-electronics/kicad/kicad-20080914.1262.ebuild b/sci-electronics/kicad/kicad-20080914.1262.ebuild
new file mode 100644
index 000000000000..e7dbae4229cf
--- /dev/null
+++ b/sci-electronics/kicad/kicad-20080914.1262.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20080914.1262.ebuild,v 1.1 2008/09/18 08:28:35 calchan Exp $
+
+inherit versionator wxwidgets cmake-utils
+
+MY_PV="$(get_major_version)-r$(get_after_major_version)"
+
+DESCRIPTION="Electronic Schematic and PCB design tools."
+HOMEPAGE="http://kicad.sourceforge.net"
+SRC_URI="http://dev.gentoo.org/~calchan/distfiles/${PN}-${MY_PV}.tar.bz2
+ !minimal? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-library-${MY_PV}.tar.bz2 )
+ doc? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-doc-${MY_PV}.tar.bz2 )
+ examples? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-examples-${MY_PV}.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc debug examples minimal python"
+
+DEPEND="=x11-libs/wxGTK-2.8*
+ dev-libs/boost
+ python? ( dev-lang/python )"
+RDEPEND="${DEPEND}
+ sys-libs/zlib"
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup() {
+ WX_GTK_VER="2.8"
+ need-wxwidgets unicode
+ check_wxuse opengl
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if use minimal ; then
+ sed -i -e "s:add_subdirectory(kicad-library):#add_subdirectory(kicad-library):" \
+ CMakeLists.txt || die "sed failed"
+ fi
+
+ if ! use doc ; then
+ sed -i -e "s:add_subdirectory(kicad-doc):#add_subdirectory(kicad-doc):" \
+ CMakeLists.txt || die "sed failed"
+ fi
+
+ if ! use examples ; then
+ sed -i -e "s:^add_subdirectory(demos):#add_subdirectory(demos):" \
+ CMakeLists.txt || die "sed failed"
+ fi
+}
+
+src_compile() {
+ cmakeargs="-DKICAD_MINIZIP=OFF"
+
+ if use python ; then
+ cmakeargs+=" -DKICAD_PYTHON=ON"
+ else
+ cmakeargs+=" -DKICAD_PYTHON=OFF"
+ fi
+
+ cmake-utils_src_compile
+}
+
+pkg_postinst() {
+ if use minimal ; then
+ ewarn "If the schematic and/or board editors complain about missing libraries when you"
+ ewarn "open old projects, 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."
+ fi
+ elog
+ elog "You may want to emerge media-gfx/wings if you want to create 3D models of components."
+}