diff options
author | Michael Weber <xmw@gentoo.org> | 2012-05-25 14:21:42 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2012-05-25 14:21:42 +0000 |
commit | 4751dd6051cb07aca6aecda2de35431828edd819 (patch) | |
tree | 16c0d712b1f0439a23c81aa950ed5c1ba504cd95 /sci-electronics | |
parent | Remove older unstable version (diff) | |
download | historical-4751dd6051cb07aca6aecda2de35431828edd819.tar.gz historical-4751dd6051cb07aca6aecda2de35431828edd819.tar.bz2 historical-4751dd6051cb07aca6aecda2de35431828edd819.zip |
Remove old versions
Package-Manager: portage-2.1.10.62/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/kicad/ChangeLog | 6 | ||||
-rw-r--r-- | sci-electronics/kicad/Manifest | 27 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-20090320.1666-r2.ebuild | 75 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-20100314_p2456.ebuild | 128 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-20100505_p2356.ebuild | 178 |
5 files changed, 16 insertions, 398 deletions
diff --git a/sci-electronics/kicad/ChangeLog b/sci-electronics/kicad/ChangeLog index f6f4961e7a86..ae493e9b4632 100644 --- a/sci-electronics/kicad/ChangeLog +++ b/sci-electronics/kicad/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-electronics/kicad # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.58 2012/05/22 00:03:40 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.59 2012/05/25 14:21:42 xmw Exp $ + + 25 May 2012; Michael Weber <xmw@gentoo.org> -kicad-20090320.1666-r2.ebuild, + -kicad-20100314_p2456.ebuild, -kicad-20100505_p2356.ebuild: + Remove old versions 22 May 2012; Jeff Horelick <jdhore@gentoo.org> kicad-20120119_p3256.ebuild: marked x86 per bug 413829 diff --git a/sci-electronics/kicad/Manifest b/sci-electronics/kicad/Manifest index 6fc69344bd0d..c107ce8136ba 100644 --- a/sci-electronics/kicad/Manifest +++ b/sci-electronics/kicad/Manifest @@ -1,19 +1,14 @@ -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-doc-20100505_p2356.tar.xz 44487272 RMD160 1558d85d370dbbcc686d06a0db57050269bb42cb SHA1 b59b9325a7255bde5dbfaad54838cf4b985c69f3 SHA256 ec3f9e9207d3f50bd78fe2aa9c809d73eb4f3b1e8a802a973d1ac78dff34026c -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-examples-20100505_p2356.tar.xz 533260 RMD160 7a95351cd3f2f52713bcdcde16d5cdf4a658a08b SHA1 07906cf3b2de7c89642578732c07f5d6ed4af76d SHA256 32c54b691cf19978caabe3222d934efd5b9a431575dffac9f57758c72b81c81e -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-library-20100505_p2356.tar.xz 11803780 RMD160 5f1dc19432e64d4bbaaa2ebf97330cfd585c2b99 SHA1 2fd5ca3dd9d35fac38add5133be76a755af6453e SHA256 a0f4f32f3906892efd352e509939aabb0bc3cab050f0acd01cf554733ac6b42b -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 -DIST kicad-sources-20100505_p2356.tar.xz 4359004 RMD160 c94694a3377d4db71327bbd9ca5975a8baac5d23 SHA1 fb064d211a3fdb1cf983a6b454f4b7bf3da6e3be SHA256 873acb1b73587cddc2ba666aec12328e8710d745680cb6a74bc13c83c978abd2 -EBUILD kicad-20090320.1666-r2.ebuild 2491 RMD160 5c621d7cd8d8262330f539062e1899b1b395b0b7 SHA1 4ae1924e4c3e3a323a3efae0a503cdca8f6ad14e SHA256 29466f84a89c50db903eb5a0132006254b2988a472b4274c833f7f3f9134d7b1 -EBUILD kicad-20100314_p2456.ebuild 3937 RMD160 806df3dcb09729832207b955d2aa89a13cf140b2 SHA1 232abdc10a05d99a2181c9af830ab1063880a6e1 SHA256 27309cad451d6e691938718a0375424f28cfe64aa43c62a501e9f2249699adcf -EBUILD kicad-20100505_p2356.ebuild 5284 RMD160 b07dd82851f61b305cfa3a86e0d78f6e984cd875 SHA1 9a78d780b6a74fd0c5096d93fa8089ec77ca5a56 SHA256 3f959687458f6b32b0e2e51a2e5e9bafe0ab15329a9f2083e20e8899a1ae5f39 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + EBUILD kicad-20120119_p3256.ebuild 5072 RMD160 6cf92e5b401cb04c98d2ca2188f235e4be42c1a1 SHA1 ae1e989ce83117bca2f1a51c0a8207c9b2bb97b9 SHA256 09278b2c67d4462382116f6f6eac7dd47f7dd70936e483f3bb8ce5ccb906d7ed EBUILD kicad-99999999.ebuild 5071 RMD160 2cc48bc1aa2398e9749905d30cd0a7641797d4d7 SHA1 dbd271d38d3aae41562205369d3bc5b8e8374a5d SHA256 992e2ad4443ebce4fff12cbc8bb344ba473f8c88ecf8197a0d59b8197fea9270 -MISC ChangeLog 9209 RMD160 8bc06276e5ac25136c9414c9ab36c9569d3feac9 SHA1 8e9acacc0b5d485a1de9f2a0927d40d9bcf22c6b SHA256 f4fd9dfa6bf97bba68f84848a59e017a917ac856d4ca61ded64088dfef0043a3 +MISC ChangeLog 9369 RMD160 f80b0c857b4981c104e5baff574f59b6b4ee0ec5 SHA1 214d361ff557ced4a443a8ff00ef049e388fec2f SHA256 4e9a38f43b6c075a2d920a45f059e52d08ae9c7b574465c6dd9c222ea07c8fae MISC metadata.xml 453 RMD160 423fcee9fbe9b007d694450f9c0fa5c16214d9b2 SHA1 802580798f1531bcc97384ca4955a29a4bbd7f4c SHA256 e1eeb975ea33d28547c6f86fafb04dc4925bab409b5a40722df89dc2eb847a1c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iF4EAREIAAYFAk+/lWcACgkQknrdDGLu8JDVHgD+PMmsfK40rv3OQlVztQTvBblU +mJa8hYvtgPe2411IO5IA/3v9MZXZOl99By8r5t/StstuCk5/QjTv7sB5N0EmAtpd +=d583 +-----END PGP SIGNATURE----- diff --git a/sci-electronics/kicad/kicad-20090320.1666-r2.ebuild b/sci-electronics/kicad/kicad-20090320.1666-r2.ebuild deleted file mode 100644 index 87d8f7fd2483..000000000000 --- a/sci-electronics/kicad/kicad-20090320.1666-r2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20090320.1666-r2.ebuild,v 1.6 2012/05/19 19:02:11 ssuominen Exp $ - -EAPI="2" -WX_GTK_VER="2.8" - -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}-sources-${MY_PV}.tar.lzma - !minimal? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-library-${MY_PV}.tar.lzma ) - doc? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-doc-${MY_PV}.tar.lzma ) - examples? ( http://dev.gentoo.org/~calchan/distfiles/${PN}-examples-${MY_PV}.tar.lzma )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 x86" -IUSE="doc debug examples minimal python" - -CDEPEND="x11-libs/wxGTK:2.8[X,opengl] - sys-libs/zlib - dev-libs/boost[python?]" -DEPEND="${CDEPEND} - || ( app-arch/xz-utils app-arch/lzma-utils )" -RDEPEND="${CDEPEND}" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if use doc ; then - # Fix where kicad looks for help files - sed -i -e "s/subdirs.Add( wxT( \"kicad\" ) );/subdirs.Add( wxT( \"${PF}\" ) );/" \ - -e '/subdirs.Add( _T( "help" ) );/d' common/edaappl.cpp \ - || die "sed failed" - else - sed -i -e '/add_subdirectory(kicad-doc)/d' CMakeLists.txt || die "sed failed" - fi - if ! use examples ; then - sed -i -e '/add_subdirectory(demos)/d' CMakeLists.txt || die "sed failed" - fi - if use minimal ; then - sed -i -e '/add_subdirectory(kicad-library)/d' CMakeLists.txt || die "sed failed" - fi -} - -src_configure() { - need-wxwidgets unicode - - mycmakeargs="${mycmakeargs} - -DKICAD_CYRILLIC=ON - -DwxUSE_UNICODE=ON - $(cmake-utils_use python KICAD_PYTHON) - -DKICAD_DOCS=/usr/share/doc/${PF} - -DKICAD_HELP=/usr/share/doc/${PF}" - - cmake-utils_src_configure -} - -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." - elog - fi - elog "You may want to emerge media-gfx/wings if you want to create 3D models of components." -} diff --git a/sci-electronics/kicad/kicad-20100314_p2456.ebuild b/sci-electronics/kicad/kicad-20100314_p2456.ebuild deleted file mode 100644 index c7a1c3b3a89f..000000000000 --- a/sci-electronics/kicad/kicad-20100314_p2456.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# 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.2 2010/12/23 08:46:59 jlec 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[python?] - app-arch/xz-utils - dev-doc? ( app-doc/doxygen )" -RDEPEND="${CDEPEND} - sys-libs/zlib - sci-electronics/electronics-menu" - -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-20100505_p2356.ebuild b/sci-electronics/kicad/kicad-20100505_p2356.ebuild deleted file mode 100644 index f49808501275..000000000000 --- a/sci-electronics/kicad/kicad-20100505_p2356.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# 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-20100505_p2356.ebuild,v 1.3 2010/12/25 21:37:38 rafaelmartins Exp $ - -# rafaelmartins: Please try to keep the live ebuild synchronized with -# the latest snapshot ebuild. e.g.: -# cp kicad-YYYYMMDD_pXXXX.ebuild kicad-99999999.ebuild - -EAPI="3" - -WX_GTK_VER="2.8" - -BZR_ECLASS="" -if [[ "${PV}" = "99999999" ]]; then - BZR_ECLASS=" bzr" -fi - -inherit cmake-utils wxwidgets fdo-mime gnome2-utils${BZR_ECLASS} - -DESCRIPTION="Electronic Schematic and PCB design tools." -HOMEPAGE="http://kicad.sourceforge.net" - -SRC_URI="" -if [[ "${PV}" != "99999999" ]]; then - SRC_URI=" - http://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-sources-${PV}.tar.xz - !minimal? ( http://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-library-${PV}.tar.xz ) - doc? ( http://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-doc-${PV}.tar.xz ) - examples? ( http://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-examples-${PV}.tar.xz )" -fi - -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="" -if [[ "${PV}" != "99999999" ]]; then - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -fi - -IUSE="dev-doc debug doc examples minimal python" - -CDEPEND="x11-libs/wxGTK:2.8[X,opengl]" -DEPEND="${CDEPEND} - >=dev-util/cmake-2.6.0 - >=dev-libs/boost-1.40[python?] - app-arch/xz-utils - dev-doc? ( app-doc/doxygen )" -RDEPEND="${CDEPEND} - sys-libs/zlib - sci-electronics/electronics-menu" - -if [[ "${PV}" != "99999999" ]]; then - S="${WORKDIR}/${PN}" -else - src_unpack() { - # FIXME: we need to send patches for bzr.eclass, to avoid the weird - # declarations of ${P} below. - EBZR_REPO_URI="lp:~kicad-testing-committers/kicad/testing" bzr_fetch - if ! use minimal; then - EBZR_REPO_URI="lp:~kicad-lib-committers/kicad/library" \ - P="${P}/kicad-library" \ - EBZR_CACHE_DIR="kicad-library" bzr_fetch - fi - if use doc; then - EBZR_REPO_URI="lp:~kicad-developers/kicad/doc" \ - P="${P}/kicad-doc" \ - EBZR_CACHE_DIR="kicad-doc" bzr_fetch - fi - } -fi - -src_prepare() { - - # prepare sources from BZR, snapshots are already prepared with this - if [[ "${PV}" = "99999999" ]]; then - sed -i \ - -e '/add_subdirectory(template)/ a \ - add_subdirectory(kicad-doc)\ - add_subdirectory(kicad-library)' \ - -e 's/create_svn_version_header()/#create_svn_version_header()/' \ - -e 's/ -O2 / /' \ - CMakeLists.txt || die 'sed failed' - sed -i \ - -e 's/Scientific;Development/Engineering;Electronics/' \ - resources/linux/mime/applications/*.desktop || die 'sed failed' - fi - - # 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' \ - -e '/add_subdirectory(kicad-library)/d' CMakeLists.txt || die "sed failed" - fi - - # Add documentation and fix necessary code if requested - if use doc ; then - sed -i -e "s/subdirs.Add( wxT( \"kicad\" ) );/subdirs.Add( wxT( \"${PF}\" ) );/" \ - -e '/subdirs.Add( _T( "help" ) );/d' common/edaappl.cpp || die "sed failed" - else - sed -i -e '/add_subdirectory(kicad-doc)/d' CMakeLists.txt || 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 -} |