summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2010-03-20 03:49:44 +0000
committerDenis Dupeyron <calchan@gentoo.org>2010-03-20 03:49:44 +0000
commit70e5189d1333c2fbfb837f2a97e5e9ebba6b2561 (patch)
tree13a59dd673ebe4517c6e4973a758845300916d2b /sci-electronics
parentVersion bump (diff)
downloadhistorical-70e5189d1333c2fbfb837f2a97e5e9ebba6b2561.tar.gz
historical-70e5189d1333c2fbfb837f2a97e5e9ebba6b2561.tar.bz2
historical-70e5189d1333c2fbfb837f2a97e5e9ebba6b2561.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad/ChangeLog9
-rw-r--r--sci-electronics/kicad/Manifest9
-rw-r--r--sci-electronics/kicad/kicad-20100314_p2456.ebuild128
-rw-r--r--sci-electronics/kicad/kicad-99999999.ebuild4
4 files changed, 144 insertions, 6 deletions
diff --git a/sci-electronics/kicad/ChangeLog b/sci-electronics/kicad/ChangeLog
index bce271811746..8cb32ec3acc6 100644
--- a/sci-electronics/kicad/ChangeLog
+++ b/sci-electronics/kicad/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/kicad
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.45 2009/11/16 21:44:16 calchan Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.46 2010/03/20 03:49:44 calchan Exp $
+
+*kicad-20100314_p2456 (20 Mar 2010)
+
+ 20 Mar 2010; <calchan@gentoo.org> +kicad-20100314_p2456.ebuild:
+ Version bump.
16 Nov 2009; Denis Dupeyron <calchan@gentoo.org> kicad-99999999.ebuild:
Fixed live ebuild dependencies (a.k.a. hit the commit button too quickly).
diff --git a/sci-electronics/kicad/Manifest b/sci-electronics/kicad/Manifest
index 2ca574320db6..79d3e04139e8 100644
--- a/sci-electronics/kicad/Manifest
+++ b/sci-electronics/kicad/Manifest
@@ -1,11 +1,16 @@
DIST kicad-2007-01-15.tgz 61333975 RMD160 122313a847ab78bc8e7c796956b7df84e8c789d7 SHA1 347324baf943efb8ea6c21a709fefa1119aa0119 SHA256 10a2ada595dd84d54fbe013f3230894999996660916698eae78773fd168b4ba1
DIST kicad-20070115.tar.bz2 11653448 RMD160 3ca516324aabb8fd7b6038fba34603298bf612de SHA1 21d2e865c064173d8b346386b4ba7c9800fd383d SHA256 0c9cfb0241714207498a71122570e453389d977ad33942bac68cec154cfbed35
DIST kicad-doc-20090320-r1666.tar.lzma 24181266 RMD160 ed99c3660e322c1390cf9ffec95a062e4679748a SHA1 e7594a526307410ea1655c9080f45e54f3a80b48 SHA256 fee05afa3437584001680676fa614c6639dc62bee92e140b0c526221d98f2113
+DIST kicad-doc-20100314_p2456.tar.xz 43073972 RMD160 f5bd967d0123ef23fea0be6fba21c88bf33dd0c8 SHA1 13b9ff60846b4191af9f04b78edda8452ffe75be SHA256 1b8a0bf4cee957989c9bd85a2e0fbf5119fac60199d5dcec797b7637eb4bd6ba
DIST kicad-examples-20090320-r1666.tar.lzma 508966 RMD160 3346f0ff9992d22a0641b654f794c499f26cdeaf SHA1 7ca29a2103296d8b10abfefb7e6beb280698d36f SHA256 41259f13af27f2f486c61814dd167282d9fa7b807f8dd9e54883749add5c64a3
+DIST kicad-examples-20100314_p2456.tar.xz 508392 RMD160 6b8b7bd99c43fb2a2c1cee4ed11b737f5bbbe246 SHA1 ad2951d0069db6216141b73dbd87ed3427869014 SHA256 c4d6fa30bc48c93ac9cf191439e553ccdd8b44062862df34aaebd0ef56d5a83e
DIST kicad-library-20090320-r1666.tar.lzma 8597781 RMD160 3f66f5abe2a5ce9988cd480c78cc51899a6ea730 SHA1 f05a95bc2be040baad3e24d4154a82f2e1322074 SHA256 6594415c274d21a2a9953c3cb8ce491c9c12eaadd5ce958a429b61de19c6b21a
+DIST kicad-library-20100314_p2456.tar.xz 11727920 RMD160 58be7a8ab8fd9a70b39e5f47ead95be1ede30448 SHA1 2c761fc13f4505c5279331ead3f59ab410d7b683 SHA256 7dd09fe600ef593565d404ec80aa699da202c3621e9295f1b5ff91b9e8bd2653
DIST kicad-sources-20090320-r1666.tar.lzma 2654855 RMD160 fb72894f36f022e28efc2ee9eaf02a35ab43b392 SHA1 5e603fd46d0080dfc0ee2d9a1b603367ab45fda0 SHA256 9e59c08d93051f57ec10defd7a6c0afa0feeee9d9a47e2aba82ead9dbeca5ad2
+DIST kicad-sources-20100314_p2456.tar.xz 4218420 RMD160 6bf9d81892af0552ba0e0811cd6325134dd74970 SHA1 8d2c901a6c099c9caf264a4d4852923d599e99ce SHA256 2f655dd8f673bc237f695d52b41dbb5a7f4d40d598b9c592d52265cd264b38ab
EBUILD kicad-20070115.ebuild 3528 RMD160 65fc58163cbf1b8e023d408099187ab37b115972 SHA1 da88cbe2656208fa14dae2eec7735b7badf57792 SHA256 95caddf1a0122181afe2375da8444433130299a6c4de007ff223a8c48d83622c
EBUILD kicad-20090320.1666-r2.ebuild 2529 RMD160 30a444d4feadab2c0e94a10067c3a14d87851ef6 SHA1 d97ef53b0fab45b7c1a99409cb3f39adc2bebf14 SHA256 f4c6250e035c534dbc936431e2b1e7ed2d839d6e4efa2475ec02bc5e0bb269dc
-EBUILD kicad-99999999.ebuild 3887 RMD160 b8476a8d5d049195d9367e7d900ec7fd097415cc SHA1 85cd8a150a1f537671d62652a7ad372cd6a26739 SHA256 e866b43b28825c75b7da05fff3b0f9b1f9dfcddbf26711cbda893dcc61902979
-MISC ChangeLog 7000 RMD160 3b2f52f50d676599c9dca4862b54175c4069b3c7 SHA1 6bf0c9a2e272086ff103c478625b0b19048c7df9 SHA256 51813cfcb28b74b2a119ff5dbb345fa74509bc124cdc70d2d23546eb83459b12
+EBUILD kicad-20100314_p2456.ebuild 3958 RMD160 63cf92b112efc79203be55d5a73addb418fe71ba SHA1 47f4d116ea7c6169184af11a64052db1c6f3d509 SHA256 b415d738d92a8fa7d99130d310fd9ac6801a6f301e705832a794a01de7eb1461
+EBUILD kicad-99999999.ebuild 3887 RMD160 3578d2f55fa87669919b05c574910d5c255e20bc SHA1 9d68bf4a989fc9097ef309cf957f46e4a32f88ee SHA256 3f8699ad726971807b308645d210ef635fb91a98733ba2e918e95b1807e0b852
+MISC ChangeLog 7120 RMD160 c25a8018c9eeee23305f87e5597ce9c2fdf83f97 SHA1 48e130790ba911d53518da4465da456c85470e03 SHA256 0b045f931ce89e792c04ae646ed872579e87a8805b6b73402e5fab6285925b7c
MISC metadata.xml 463 RMD160 93cd5538dacfc5d0861b651ff20dd768105170e0 SHA1 5dc9ffc9eef8c8d86b9f9063bc5ab0765d71b712 SHA256 81bfdc1b378cf2f081ee1f33d9775023c5381b1d54290fd8dba6ecede5e7a11e
diff --git a/sci-electronics/kicad/kicad-20100314_p2456.ebuild b/sci-electronics/kicad/kicad-20100314_p2456.ebuild
new file mode 100644
index 000000000000..316031f42acd
--- /dev/null
+++ b/sci-electronics/kicad/kicad-20100314_p2456.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20100314_p2456.ebuild,v 1.1 2010/03/20 03:49:44 calchan Exp $
+
+EAPI="3"
+WX_GTK_VER="2.8"
+
+inherit cmake-utils wxwidgets fdo-mime gnome2-utils
+
+DESCRIPTION="Electronic Schematic and PCB design tools."
+HOMEPAGE="http://kicad.sourceforge.net"
+SRC_URI="http://dev.gentoo.org/~calchan/distfiles/${PN}-sources-${PV}.tar.xz
+ !minimal? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-library-${PV}.tar.xz )
+ doc? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-doc-${PV}.tar.xz )
+ examples? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-examples-${PV}.tar.xz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="dev-doc doc debug examples minimal python"
+
+CDEPEND="x11-libs/wxGTK:2.8[X,opengl]"
+DEPEND="${CDEPEND}
+ >=dev-util/cmake-2.6.0
+ >=dev-libs/boost-1.40
+ app-arch/xz-utils
+ dev-doc? ( app-doc/doxygen )"
+RDEPEND="${CDEPEND}
+ sys-libs/zlib
+ sci-electronics/electronics-menu
+ python? ( dev-lang/python )"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ # Use native boost
+ sed -i -e '/Boost/s/^#check_find_package/check_find_package/' \
+ -e '/Boost/s/^#find_package/find_package/' CMakeLists.txt || die "sed failed"
+
+ # Add important doc files
+ sed -i -e 's/INSTALL.txt/AUTHORS.txt CHANGELOG.txt README.txt TODO.txt/' CMakeLists.txt || die "sed failed"
+
+ # Fix desktop files
+ rm resources/linux/mime/applications/eeschema.desktop
+ sed -i -e 's/Development;//' resources/linux/mime/applications/kicad.desktop || die "sed failed"
+
+ # Handle optional minimal install
+ if use minimal ; then
+ sed -i -e '/add_subdirectory(template)/d' CMakeLists.txt || die "sed failed"
+ else
+ sed -i -e '/add_subdirectory(template)/a \
+add_subdirectory(kicad-library)' CMakeLists.txt || die "sed failed"
+ fi
+
+ # Add documentation and fix necessary code if requested
+ if use doc ; then
+ sed -i -e '/add_subdirectory(demos)/a \
+add_subdirectory(kicad-doc)' CMakeLists.txt || die "sed failed"
+ sed -i -e "s/subdirs.Add( wxT( \"kicad\" ) );/subdirs.Add( wxT( \"${PF}\" ) );/" \
+ -e '/subdirs.Add( _T( "help" ) );/d' common/edaappl.cpp || die "sed failed"
+ fi
+
+ # Install examples in the right place if requested
+ if use examples ; then
+ sed -i -e 's:${KICAD_DATA}/demos:${KICAD_DOCS}/examples:' CMakeLists.txt || die "sed failed"
+ else
+ sed -i -e '/add_subdirectory(demos)/d' CMakeLists.txt || die "sed failed"
+ fi
+}
+
+src_configure() {
+ need-wxwidgets unicode
+
+ mycmakeargs="${mycmakeargs}
+ -DKICAD_MINIZIP=OFF
+ -DKICAD_CYRILLIC=ON
+ -DwxUSE_UNICODE=ON
+ -DKICAD_GOST=OFF
+ -DKICAD_AUIMANAGER=OFF
+ -DKICAD_AUITOOLBAR=OFF
+ -DKICAD_DOCS=/usr/share/doc/${PF}
+ -DKICAD_HELP=/usr/share/doc/${PF}
+ $(cmake-utils_use python KICAD_PYTHON)"
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ use dev-doc && doxygen Doxyfile
+}
+
+src_install() {
+ cmake-utils_src_install
+ if use dev-doc ; then
+ insinto /usr/share/doc/${PF}
+ doins uncrustify.cfg
+ cd Documentation
+ doins -r GUI_Translation_HOWTO.pdf guidelines/UIpolicies.txt doxygen/doxygen
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+
+ 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."
+ elog
+ fi
+ elog "You may want to emerge media-gfx/wings if you want to create 3D models of components."
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/sci-electronics/kicad/kicad-99999999.ebuild b/sci-electronics/kicad/kicad-99999999.ebuild
index 4914a306fdb8..59ea93cf3417 100644
--- a/sci-electronics/kicad/kicad-99999999.ebuild
+++ b/sci-electronics/kicad/kicad-99999999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-99999999.ebuild,v 1.2 2009/11/16 21:44:16 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-99999999.ebuild,v 1.3 2010/03/20 03:49:44 calchan Exp $
EAPI="2"
WX_GTK_VER="2.8"