summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2007-09-16 08:33:01 +0000
committerDenis Dupeyron <calchan@gentoo.org>2007-09-16 08:33:01 +0000
commit782001f17e4ec3d19f3437e4b05db59713a84799 (patch)
tree9ec5a53c28e747f552dce58c0ec25fe4a32f9ef1 /sci-electronics/pcb
parentSplitting jdom's jaxen class to jdom-jaxen to resolve circular dependencies (diff)
downloadgentoo-2-782001f17e4ec3d19f3437e4b05db59713a84799.tar.gz
gentoo-2-782001f17e4ec3d19f3437e4b05db59713a84799.tar.bz2
gentoo-2-782001f17e4ec3d19f3437e4b05db59713a84799.zip
Version bump, thanks to Stefan Salewski (bug #192608).
(Portage version: 2.1.3.9)
Diffstat (limited to 'sci-electronics/pcb')
-rw-r--r--sci-electronics/pcb/ChangeLog7
-rw-r--r--sci-electronics/pcb/files/digest-pcb-200709123
-rw-r--r--sci-electronics/pcb/pcb-20070912.ebuild63
3 files changed, 72 insertions, 1 deletions
diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog
index a21e93485fb3..b1f7b65ca06a 100644
--- a/sci-electronics/pcb/ChangeLog
+++ b/sci-electronics/pcb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/pcb
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.34 2007/07/29 09:02:44 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.35 2007/09/16 08:33:01 calchan Exp $
+
+*pcb-20070912 (16 Sep 2007)
+
+ 16 Sep 2007; Denis Dupeyron <calchan@gentoo.org> +pcb-20070912.ebuild:
+ Version bump, thanks to Stefan Salewski (bug #192608).
29 Jul 2007; Denis Dupeyron <calchan@gentoo.org> pcb-20060822.ebuild,
pcb-20070208.ebuild:
diff --git a/sci-electronics/pcb/files/digest-pcb-20070912 b/sci-electronics/pcb/files/digest-pcb-20070912
new file mode 100644
index 000000000000..6fe2901324b6
--- /dev/null
+++ b/sci-electronics/pcb/files/digest-pcb-20070912
@@ -0,0 +1,3 @@
+MD5 b24334b19ec007d43ef7c581c473f6b0 pcb-20070912.tar.gz 3836056
+RMD160 63df0117d5cc0d995a530c444c6333d46ad6d815 pcb-20070912.tar.gz 3836056
+SHA256 3aa562a29332bf5174f9fb86c85427b14009f6468042a64effcb026ae058fc4a pcb-20070912.tar.gz 3836056
diff --git a/sci-electronics/pcb/pcb-20070912.ebuild b/sci-electronics/pcb/pcb-20070912.ebuild
new file mode 100644
index 000000000000..a995b789c182
--- /dev/null
+++ b/sci-electronics/pcb/pcb-20070912.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20070912.ebuild,v 1.1 2007/09/16 08:33:01 calchan Exp $
+
+inherit eutils
+
+DESCRIPTION="tool for the layout of printed circuit boards"
+HOMEPAGE="http://pcb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pcb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="gif jpeg png"
+
+RDEPEND=">=x11-libs/gtk+-2.4
+ gif? ( media-libs/gd )
+ jpeg? ( media-libs/gd )
+ png? ( media-libs/gd )"
+DEPEND="${RDEPEND}
+ =dev-lang/tk-8*
+ x11-proto/xproto
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ if use jpeg ; then
+ built_with_use media-libs/gd jpeg || die "You need to emerge media-libs/gd with USE=jpeg"
+ fi
+ if use png ; then
+ echo "Using png"
+ built_with_use media-libs/gd png || die "You need to emerge media-libs/gd with USE=png"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i 's/\(^START-INFO\)/INFO-DIR-SECTION Miscellaneous\n\1/' doc/pcb.info || die "sed failed"
+}
+
+src_compile() {
+ local EXPORTERS
+ if (use gif) || (use jpeg) || (use png) ; then
+ EXPORTERS="bom gerber png ps"
+ else
+ EXPORTERS="bom gerber ps"
+ fi
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable gif ) \
+ $(use_enable jpeg ) \
+ $(use_enable png ) \
+ --with-exporters="${EXPORTERS}" \
+ || die "Configuration failed"
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "Installation failed"
+ dodoc AUTHORS ChangeLog NEWS README
+ newicon win32/pcb_icon_big.xpm pcb.xpm
+ make_desktop_entry pcb PCB pcb.xpm "Application;Engineering;Electronics"
+}