diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2014-05-12 06:13:37 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2014-05-12 06:13:37 +0000 |
commit | 0176643c10b3bea9e003993d07ea0479ea20fe43 (patch) | |
tree | f88416635e3067c288bb96f959e0fcb18d1561f0 /sci-electronics | |
parent | Remove masks for dev-libs/clens and dev-java/randomguid, packages removed. (diff) | |
download | historical-0176643c10b3bea9e003993d07ea0479ea20fe43.tar.gz historical-0176643c10b3bea9e003993d07ea0479ea20fe43.tar.bz2 historical-0176643c10b3bea9e003993d07ea0479ea20fe43.zip |
Version bump
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0x762053D5
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/pcb/ChangeLog | 9 | ||||
-rw-r--r-- | sci-electronics/pcb/Manifest | 14 | ||||
-rw-r--r-- | sci-electronics/pcb/pcb-20140316.ebuild | 148 |
3 files changed, 168 insertions, 3 deletions
diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog index 197ee30b339c..db823237a49a 100644 --- a/sci-electronics/pcb/ChangeLog +++ b/sci-electronics/pcb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/pcb -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.74 2013/01/04 12:58:37 ago Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.75 2014/05/12 06:13:24 tomjbe Exp $ + +*pcb-20140316 (12 May 2014) + + 12 May 2014; Thomas Beierlein <tomjbe@gentoo.org> +pcb-20140316.ebuild: + Version bump 04 Jan 2013; Agostino Sarubbo <ago@gentoo.org> pcb-20110918.ebuild: Stable for ppc, wrt bug #449756 diff --git a/sci-electronics/pcb/Manifest b/sci-electronics/pcb/Manifest index 6b3b847c9181..74cc83f1b019 100644 --- a/sci-electronics/pcb/Manifest +++ b/sci-electronics/pcb/Manifest @@ -1,7 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX pcb-20110918-fix-config.diff 466 SHA256 1e782db2b39d32acc4e909d41006a7df732dab834d161325c71131c18e089d1f SHA512 9bfb0cd28e3c87eba91ee2a226a75128e4a0df37f79ebb10e4f34880d1f32d3cee17fc9f3ba6f553b6ed018a521efcecc583e75d82e8549d91cbab2a1280aa0c WHIRLPOOL 7b3a20fe8a8d0067951cc61b60616b2a2a5e5dd962d5759ec706aa4a12c52f1067cf4f9ddbdddf9dc6739ed188d9b36b1d79c245faebda4eef7ac2e1e2831aca DIST pcb-20100929.tar.gz 4704263 SHA256 c3d9cd171a0534e53bc915f8d562882034cc58474a50adcf848c7f0b934c47de SHA512 9fe00a041dd7208a5d79249b42bfd3c1095c90d6d36baa218ca0e6ba70e33a8361d6f8ad2291b3a6ca75ea5d2ec7855247bfe142964d5077eaa8d0222f16b91d WHIRLPOOL 979055bb63ec31eb598e9789f1bcbed3b9fa9c818a0105e40b060127781e914bf3c4f644e0c3f67d49e62c4d94dca5aaa65dd0daa3adce961df16b93651f6da2 DIST pcb-20110918.tar.gz 4015128 SHA256 6da47c4f98491c8a9ed010503d4ec1d03473bfc5bb00ea9b7176cb3848a09f1b SHA512 ca74a273f0e63b6497e50cab9f4553ccc2149a4ffa9081c409477392c245c38a144deb5b106da4c1b89be09a5eb8e268870b4fb5820d182c647abfb0c19c288d WHIRLPOOL 300c49c5b1c7c02d375c9355b7b4ea24aff3c13285dab4839a3d833ba991e235b45b5a40e13eb6042da6e7683223b805504cb33482dad19d89e4419178e8b06a +DIST pcb-20140316.tar.gz 4210077 SHA256 82c4f39438ee4e278196a3b67ef021145dcfbb00519508ccf51aa7832121c950 SHA512 5b9a2704b4d3c95f03afad0fe8fb5414b2aa9d680e40bf77ad9b46a9d4e14ba740858092794a9ff6788f31ac19063b126d8ceed6316c0d9eaaaa574e6678c071 WHIRLPOOL befd3c0116427f631ddf6c2dd49039589302908bbfcef5e524b66f625034dba87327bad500a2dba90aa1f44c2a922cfdf2a71a85e0ec8efeae5a1c4b080124be EBUILD pcb-20100929.ebuild 3649 SHA256 0f26c42fedef581722a8342ea4a397241027de8f72180933961c2c5e239a1d85 SHA512 074508a58c7e6bf174b4c50ab2d30f41933d7d8b5231876e9509a3abac30a2c225a1a1674ad410068c60487e56042d9ce21f872cc61847ee7238189dcaa1c88d WHIRLPOOL e2edfb5ffc9cb1ea3fe0f90c4efc82ea08b1177695e343109059ae41486510b64d8522730c468a8de9627a2d2d67e98514525ba4db91d3a3c7bd0e92ec389a02 EBUILD pcb-20110918.ebuild 4280 SHA256 3cc525e25cb12f4674014920ba2c3824b578d388293d9e71c1612b564f291176 SHA512 1e714f4b16f15bf4e0f970515d3e38fc1f68dd2a5ee93af67ac56ea48626b87f11b2ae176b6ab49939d52f11f7f6e40241893b1df7e6d2179d7d33fcdd02d647 WHIRLPOOL 047a1096c490760b50d72263e0fc87d66ccf181b9defb15af02602babbfce6f2582182895cf9718dfaad02672e16f4d9998e1b67b3391d16f331b59f456cb437 -MISC ChangeLog 11079 SHA256 4dbc0340dec9d1406a015dbbd5419faa1c3383702b4718add017f7313c756f58 SHA512 d38e547715630e7362ba1acfe1015e4ad95d914f9cf710589ad7a028934157c023ba09d13ca802088f63e771802850fcbed0f2e759ee9d4c84d7e7fac0cf1f8c WHIRLPOOL 0433b2b6d86a84b1f0be533c40c00235dcea6ea6564c6c40ecbe4942ce66f9428e5d6654bc27d4f8d204d1b41c2f3fa0d42a6173ee859a79768c0c74ac1e5ee0 +EBUILD pcb-20140316.ebuild 4224 SHA256 cc985d0c282c1ae25f4a4f06d6b0823cde94e85b1c5a2adffcaab39becf0781a SHA512 4b92051702fcc920d24fbcecc7d41f1aa5470cf01027ea127a59daa48c8d9fca6fce949608c93bd6dd80509f19dbf98e57c8272270c30bc02eb5557cedae150b WHIRLPOOL d6c09aacd011c5d6efc2b0857017261dd0a2fa0cfa46f5a3a2a470926ed392203ec12e415d0d1818c5732b34348a1224a36117e44ff93d03bab7187aa8e45e6b +MISC ChangeLog 11201 SHA256 0e8898ec9d64f6f2825a38686d3405d2aac75f39cbfbea45d5dbbb3e5c120c4d SHA512 da074a01225a67b6287ea641ab51914aca4dc6475dc84f3590798bc19f5d9fab0413c2376316da98de8a430d12dc184ae198fa1151475075ca734ddcdb682474 WHIRLPOOL b1100aaa3734ffad7bf68b828e2700f0d9890ed014d9f962be3bc3414914a4eba08a6f23846df89189b681d7c36997eb2243ff49ec98fc5be62a203348a20263 MISC metadata.xml 856 SHA256 d84cb88624d6f7c6ee0c9cf9fa3142df9c185eb5de260fcc74017b7a5a32cb81 SHA512 23039acd115416aa46d4f8178005d21e33fae67c44d646e8a61ecd220e0855054de8efc99ff9d4a02d0f3db31ab3f4571745115e56c7004a2a80417b598f694d WHIRLPOOL 1fea537cc77d6a56b9909bac531250f681448207239cf13080a03128ceee7aa3c1c7bef72ef6dfdcb4aee006a08644d509248ce073d00e476a1b8d9c0f257974 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iEYEAREIAAYFAlNwZo0ACgkQQe4uqXYgU9UxFgCgvB09TfliyEHJlDJ/iSmoibzv +jkEAn2Bc0Z0eLampmEGOqCFy2+ynVY01 +=Hebs +-----END PGP SIGNATURE----- diff --git a/sci-electronics/pcb/pcb-20140316.ebuild b/sci-electronics/pcb/pcb-20140316.ebuild new file mode 100644 index 000000000000..fa904005cdc0 --- /dev/null +++ b/sci-electronics/pcb/pcb-20140316.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20140316.ebuild,v 1.1 2014/05/12 06:13:24 tomjbe Exp $ + +EAPI="5" + +inherit autotools eutils fdo-mime gnome2-utils toolchain-funcs + +DESCRIPTION="GPL Electronic Design Automation: Printed Circuit Board editor" +HOMEPAGE="http://www.gpleda.org/" +SRC_URI="mirror://sourceforge/pcb/pcb/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-macos" +IUSE="dbus debug doc gcode gif gtk jpeg m4lib-png motif nelma opengl png +test tk toporouter xrender" +# toporouter-output USE flag removed, there seems to be no result + +CDEPEND="gif? ( >=media-libs/gd-2.0.23 ) + gtk? ( x11-libs/gtk+:2 x11-libs/pango + x11-libs/gtkglext + dbus? ( sys-apps/dbus ) ) + jpeg? ( >=media-libs/gd-2.0.23[jpeg] ) + motif? ( !gtk? ( + >=x11-libs/motif-2.3:0 + dbus? ( sys-apps/dbus ) + xrender? ( >=x11-libs/libXrender-0.9 ) ) ) + nelma? ( >=media-libs/gd-2.0.23 ) + opengl? ( virtual/opengl ) + gcode? ( >=media-libs/gd-2.0.23 ) + virtual/libintl + png? ( >=media-libs/gd-2.0.23[png] ) + m4lib-png? ( >=media-libs/gd-2.0.23[png] ) + tk? ( >=dev-lang/tk-8 )" +#toporouter-output? ( x11-libs/cairo ) + +DEPEND="${CDEPEND} + test? ( + || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick ) + sci-electronics/gerbv + ) + >=dev-util/intltool-0.35 + virtual/pkgconfig + sys-devel/gettext" + +RDEPEND="${CDEPEND} + sci-electronics/electronics-menu" + +DOCS="AUTHORS README NEWS ChangeLog" + +pkg_setup() { + if use gtk && use motif; then + elog "Can only build for GTK+ or Motif/Lesstif GUI. GTK+ has priority." + fi + if !(use gtk || use motif); then + elog "Building without GUI, make sure you know what you are doing." + fi + if use dbus && !(use gtk || use motif); then + elog "dbus needs GTK or Motif/Lesstif GUI. Try USE=-dbus or USE=gtk or USE=motif." + fi + if use opengl && !(use gtk); then + elog "GL drawing needs GTK" + fi + if (use gtk || (! use gtk && ! use motif)) && (use xrender); then + elog "The XRender extension is only usable with the Motif/Lesstif GUI." + fi +} + +src_prepare() { + if use test; then + # adapt the list of tests to run according to USE flag settings + if ! use png; then + sed -i '/^hid_png/d' tests/tests.list || die + fi + if ! use gcode; then + sed -i '/^hid_gcode/d' tests/tests.list || die + fi + fi + # Backport from upstream + # http://git.geda-project.org/pcb/commit/?id=a34b40add60310a51780f359cc90d9c5ee75752c + # (do not install static GTS library) + sed -i -e 's/lib_LIBRARIES/noinst_LIBRARIES/' -e 's/include_HEADERS/noinst_HEADERS/' gts/Makefile.am || die + + # fix bad syntax in Makefile.am and configure.ac before running eautoreconf + sed -i -e 's/:=/=/' Makefile.am || die + epatch "${FILESDIR}"/${PN}-20110918-fix-config.diff + eautoreconf +} + +src_configure() { + local myconf + if use gtk ; then + myconf="--with-gui=gtk $(use_enable dbus) $(use_enable opengl gl) --disable-xrender" + elif use motif ; then + myconf="--with-gui=lesstif $(use_enable dbus) $(use_enable xrender)" + else + myconf="--with-gui=batch --disable-xrender --disable-dbus" + fi + + local exporters="bom gerber ps" + if (use png || use jpeg || use gif) ; then + exporters="${exporters} png" + fi + use nelma && exporters="${exporters} nelma" + use gcode && exporters="${exporters} gcode" + use tk || export WISH="${EPREFIX}/bin/true" + + econf \ + ${myconf} \ + $(use_enable doc) \ + $(use_enable gif) \ + $(use_enable jpeg) \ + $(use_enable png) \ + $(use_enable m4lib-png) \ + $(use_enable toporouter) \ + $(use_enable debug) \ + --enable-nls \ + --disable-toporouter-output \ + --with-exporters="${exporters}" \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-update-mime-database \ + --disable-update-desktop-database \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" +} +# toporouter-output USE flag removed, there seems to be no result +# $(use_enable toporouter-output) \ + +src_compile() { + emake AR="$(tc-getAR)" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} |