summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2010-10-22 18:37:25 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2010-10-22 18:37:25 +0000
commit12e056a88b8d8fc84a8d7846b370f273f9c52fa2 (patch)
treea4b48432d6095b89e1a6be34098cc5e715bfd7f9 /sci-electronics/pcb
parentppc64 stable wrt #340023 (diff)
downloadhistorical-12e056a88b8d8fc84a8d7846b370f273f9c52fa2.tar.gz
historical-12e056a88b8d8fc84a8d7846b370f273f9c52fa2.tar.bz2
historical-12e056a88b8d8fc84a8d7846b370f273f9c52fa2.zip
Version bump (bug #341489)
Package-Manager: portage-2.1.9.21/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics/pcb')
-rw-r--r--sci-electronics/pcb/ChangeLog8
-rw-r--r--sci-electronics/pcb/Manifest16
-rw-r--r--sci-electronics/pcb/metadata.xml1
-rw-r--r--sci-electronics/pcb/pcb-20100929.ebuild120
4 files changed, 132 insertions, 13 deletions
diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog
index cc6250a300ba..987aec03a669 100644
--- a/sci-electronics/pcb/ChangeLog
+++ b/sci-electronics/pcb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/pcb
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.54 2010/10/10 21:36:08 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.55 2010/10/22 18:37:25 tomjbe Exp $
+
+*pcb-20100929 (22 Oct 2010)
+
+ 22 Oct 2010; Thomas Beierlein <tomjbe@gentoo.org> +pcb-20100929.ebuild,
+ metadata.xml:
+ Version bump (bug #341489)
10 Oct 2010; Ulrich Mueller <ulm@gentoo.org> pcb-20081128-r1.ebuild,
pcb-20091103.ebuild:
diff --git a/sci-electronics/pcb/Manifest b/sci-electronics/pcb/Manifest
index 1ae0e13e6193..417d1ea048ac 100644
--- a/sci-electronics/pcb/Manifest
+++ b/sci-electronics/pcb/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX pcb-20091103-png.patch 654 RMD160 df78bcc4b84a2d08aa702fbc569a5df18b840b51 SHA1 58856014cbace34b25fa0da1574d74f0a9910c00 SHA256 6ccd6a9995b1241efd6ff5a9a583fc29fb318264edd3fb23a3b093f18774b4d4
DIST pcb-20081128.tar.gz 4524268 RMD160 3a121a3fa991e6f6d40caf086704cb6de0f76752 SHA1 9fbb4feb4e7851b349dfa0fe434e5d5fd822b8df SHA256 2e55067741a5f48ca6962c135fcbe6d1c1b70b95c825156c7db046277929cf28
DIST pcb-20091103.tar.gz 4503621 RMD160 6e0cd1a4e1bf92a403f3d805aa3b0649360cb04e SHA1 49b1bf551b0e4d8811abf55af515d77a59797e31 SHA256 db8cf094b6eb25dce78393c3dcc604ab2372bec793e6de8840e4b2db0df5ddc3
+DIST pcb-20100929.tar.gz 4704263 RMD160 516b4c9200a812b89aa41352dfec12446ccdd864 SHA1 e7f921ba2af8d36d0d5f02eb3e49ce16f3d17cbe SHA256 c3d9cd171a0534e53bc915f8d562882034cc58474a50adcf848c7f0b934c47de
EBUILD pcb-20081128-r1.ebuild 3051 RMD160 5c835cc1352e2b92020abfb59dc753890f15b2ec SHA1 165008dc9db42e7f5b638161888c3e32a8342e52 SHA256 ab981c8e3fea5c187f105b7814a1da8fff84a67d48c698e70810f0d3e3185254
EBUILD pcb-20091103.ebuild 4159 RMD160 3ee1fc0b50155c2967fd59dbfc2b9de8c6c53ba6 SHA1 04562a9ef8182561c4266078bca1aaa183b5037c SHA256 bf2f3baf8cc8366ed3b45a34e32889443759c547219e814d4b9333fc2b925b4b
-MISC ChangeLog 8605 RMD160 668b1bc92c102b6d4a8b8eed67d9dc37b7a60ff0 SHA1 639d55dfa32db908936431973046f785a6eaa577 SHA256 91dde0cc5e130cb85db5edc52a6a69e7e2cc36e9d6fc52d162a2f951063b2f02
-MISC metadata.xml 810 RMD160 673ec0a37b4748cc0128e579c4eaaccc9eefaf90 SHA1 f357e6ff7f02449a7135cff3b7d73643c4a89616 SHA256 cabcb0c8d85ac5dd0aff6997ad546d3f8064ce05e806c4b131d84a6890b2530a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAkyyMjwACgkQOeoy/oIi7uwogACgmn/5edRLVt8dBebuvNn0Vg+s
-SyMAmgJnt5q+wy/IzDozwzizDWhVeYNQ
-=VVr+
------END PGP SIGNATURE-----
+EBUILD pcb-20100929.ebuild 3390 RMD160 38ababc75367fb4175bb7349c03fe46976cf44b8 SHA1 24b014ae03faf8e7f14cab513b8e95bb5f3b123d SHA256 826a55cc69099efce2c6d2a28f2e0be9932896c0350c43cd5471dd30f2a45690
+MISC ChangeLog 8757 RMD160 9a2b0b714a17d78dd392f010f9f821f4cdf9b394 SHA1 7ac63250e07d5e1966d0d0c91d5bc0fb4ba19392 SHA256 561b879520096b6e82af66644a6b584d403bd249201c4c67ee0f5ca43c4cefa3
+MISC metadata.xml 856 RMD160 0b67a388be0d9b7ddc672e388167a0882b0f5cea SHA1 3b9fe749e7b065d416ec473964202df1f3801912 SHA256 d84cb88624d6f7c6ee0c9cf9fa3142df9c185eb5de260fcc74017b7a5a32cb81
diff --git a/sci-electronics/pcb/metadata.xml b/sci-electronics/pcb/metadata.xml
index 6f54d581493c..9213198f33b1 100644
--- a/sci-electronics/pcb/metadata.xml
+++ b/sci-electronics/pcb/metadata.xml
@@ -11,6 +11,7 @@
<flag name='jpeg'>JPEG graphics export</flag>
<flag name='nelma'>NELMA file export</flag>
<flag name='png'>PNG graphics export</flag>
+ <flag name='gcode'>gcode file export</flag>
<flag name='tk'>Build tcl/tk graphical QFP footprint generator</flag>
<flag name='xrender'>Translucent PCB display for Motif/Lesstif GUI</flag>
<flag name='m4lib-png'>Enable creating png previews for the m4 library</flag>
diff --git a/sci-electronics/pcb/pcb-20100929.ebuild b/sci-electronics/pcb/pcb-20100929.ebuild
new file mode 100644
index 000000000000..88f52327727b
--- /dev/null
+++ b/sci-electronics/pcb/pcb-20100929.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20100929.ebuild,v 1.1 2010/10/22 18:37:25 tomjbe Exp $
+
+EAPI="2"
+
+inherit fdo-mime gnome2-utils
+
+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 ~sparc ~x86 ~x86-macos"
+IUSE="dbus doc gif gtk jpeg m4lib-png motif nelma gcode nls png xrender test tk toporouter debug"
+# toporouter-output USE flag removed, there seems to be no result
+
+CDEPEND="gif? ( >=media-libs/gd-2.0.23 )
+ gtk? ( >=x11-libs/gtk+-2.4 x11-libs/pango
+ dbus? ( sys-apps/dbus ) )
+ jpeg? ( >=media-libs/gd-2.0.23[jpeg] )
+ motif? ( !gtk? (
+ >=x11-libs/openmotif-2.3:0
+ dbus? ( sys-apps/dbus )
+ xrender? ( >=x11-libs/libXrender-0.9 ) ) )
+ nelma? ( >=media-libs/gd-2.0.23 )
+ gcode? ( >=media-libs/gd-2.0.23 )
+ nls? ( virtual/libintl )
+ png? ( >=media-libs/gd-2.0.23[png] )
+ m4lib-png? ( >=media-libs/gd-2.0.23[png] )
+ test? (
+ || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick )
+ sci-electronics/gerbv
+ )
+ tk? ( >=dev-lang/tk-8 )"
+#toporouter-output? ( x11-libs/cairo )
+
+DEPEND="${CDEPEND}
+ >=dev-util/intltool-0.35
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+RDEPEND="${CDEPEND}
+ sci-electronics/electronics-menu"
+
+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 gtk || (! use gtk && ! use motif)) && (use xrender); then
+ elog "The XRender extension is only usable with the Motif/Lesstif GUI."
+ fi
+}
+
+src_configure() {
+ local myconf
+ if use gtk ; then
+ myconf="--with-gui=gtk $(use_enable dbus) --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="/bin/true"
+
+ econf \
+ ${myconf} \
+ $(use_enable doc) \
+ $(use_enable gif) \
+ $(use_enable jpeg) \
+ $(use_enable nls) \
+ $(use_enable png) \
+ $(use_enable m4lib-png) \
+ $(use_enable toporouter) \
+ $(use_enable debug) \
+ --disable-toporouter-output \
+ --with-exporters="${exporters}" \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --disable-update-mime-database \
+ --disable-update-desktop-database \
+ --docdir="/usr/share/doc/${PF}"
+}
+# toporouter-output USE flag removed, there seems to be no result
+# $(use_enable toporouter-output) \
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS README NEWS ChangeLog
+}
+
+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
+}