From 50f4e693f64faa0035f7c5bbd9a4e5150f5c0731 Mon Sep 17 00:00:00 2001 From: Denis Dupeyron Date: Wed, 14 Feb 2007 19:33:13 +0000 Subject: [PATCH] Version bump, thanks Gabriel Deveny (bug #166678). Configuration polishing and fixes. Package-Manager: portage-2.1.2-r9 --- sci-electronics/pcb/ChangeLog | 8 ++- sci-electronics/pcb/Manifest | 16 +++-- sci-electronics/pcb/files/digest-pcb-20070208 | 3 + sci-electronics/pcb/pcb-20070208.ebuild | 66 +++++++++++++++++++ 4 files changed, 88 insertions(+), 5 deletions(-) create mode 100644 sci-electronics/pcb/files/digest-pcb-20070208 create mode 100644 sci-electronics/pcb/pcb-20070208.ebuild diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog index e2223c275f0a..8e184c811021 100644 --- a/sci-electronics/pcb/ChangeLog +++ b/sci-electronics/pcb/ChangeLog @@ -1,6 +1,12 @@ # 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.30 2007/01/28 10:30:09 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.31 2007/02/14 19:33:13 calchan Exp $ + +*pcb-20070208 (14 Feb 2007) + + 14 Feb 2007; Denis Dupeyron +pcb-20070208.ebuild: + Version bump, thanks Gabriel Deveny (bug #166678). Configuration polishing + and fixes. 28 Jan 2007; Denis Dupeyron pcb-20060822.ebuild: Added dependency to pkgconfig, bug #153620. diff --git a/sci-electronics/pcb/Manifest b/sci-electronics/pcb/Manifest index e6da554c2fa8..8b31230d4e02 100644 --- a/sci-electronics/pcb/Manifest +++ b/sci-electronics/pcb/Manifest @@ -1,12 +1,17 @@ DIST pcb-20060822.tar.gz 3229845 RMD160 65318c31a99b4ab4e38d2140f8c9a2bb5913a797 SHA1 e7ba587033f5ef4fb9a5372fe84c4e6d69aca75b SHA256 3e3e79674a3bc4a3196e8c4fc3299a1c67e844ee2310b36933b2b15444b43bcd +DIST pcb-20070208.tar.gz 3725678 RMD160 e624b4d8d891dbd8a7c1ca596b5228c27991874c SHA1 3544c6ea5cb6fd90343189d27701ed9d25c31059 SHA256 0b7dcbe0c366d36ba178844af227c013fbeedb1fc1fecab60e5d0bbfb7f7c60a EBUILD pcb-20060822.ebuild 1119 RMD160 baf4cefbd410563603f9bc7ef82293afe7dc0515 SHA1 37b73b5833b1d0f9edc163701da704db07ad5f24 SHA256 6aed1dbc1322d7fcf5e7659f4f5256f8b984af13297823ba4b864bf1482387d3 MD5 dfb7fefd624e9a99cdbd28a7c6ee9703 pcb-20060822.ebuild 1119 RMD160 baf4cefbd410563603f9bc7ef82293afe7dc0515 pcb-20060822.ebuild 1119 SHA256 6aed1dbc1322d7fcf5e7659f4f5256f8b984af13297823ba4b864bf1482387d3 pcb-20060822.ebuild 1119 -MISC ChangeLog 5396 RMD160 83591cd35ad19fc943ff6bfb8625ae57f1ae4e67 SHA1 204e31b624a16bb3dd5197627ed5ae64261ff578 SHA256 8d23455ad012c19968b6d19c725300017af7b137b17a26eba39fbea9676dbe33 -MD5 00e2349f1c9c7d7389bbdcb52ce20375 ChangeLog 5396 -RMD160 83591cd35ad19fc943ff6bfb8625ae57f1ae4e67 ChangeLog 5396 -SHA256 8d23455ad012c19968b6d19c725300017af7b137b17a26eba39fbea9676dbe33 ChangeLog 5396 +EBUILD pcb-20070208.ebuild 1640 RMD160 47351d87071e55ac850be639862e4966b0e89344 SHA1 aeca63f6724b46f07a2eaadf97f1e5575fb62315 SHA256 92671c1d7162121f426faf1f1d823524e6a80614273cf0fe6692c05f887eda90 +MD5 33066ede24a9fa5f5294502ae3b1f7cc pcb-20070208.ebuild 1640 +RMD160 47351d87071e55ac850be639862e4966b0e89344 pcb-20070208.ebuild 1640 +SHA256 92671c1d7162121f426faf1f1d823524e6a80614273cf0fe6692c05f887eda90 pcb-20070208.ebuild 1640 +MISC ChangeLog 5589 RMD160 6eb5841b0b6e165e5ee884f9551d0be24077852b SHA1 f7ba18591a2eb1ac0cacb61f27c0dfe937a7fb56 SHA256 68d0dfa58af943f00f9a5a97d6ae2ae31769c29ee51295caa33e694f925ca5d9 +MD5 bc1b9df0a254e0a6f8a0b0ac1cbe6d74 ChangeLog 5589 +RMD160 6eb5841b0b6e165e5ee884f9551d0be24077852b ChangeLog 5589 +SHA256 68d0dfa58af943f00f9a5a97d6ae2ae31769c29ee51295caa33e694f925ca5d9 ChangeLog 5589 MISC metadata.xml 415 RMD160 7ed7e675f4d2538d061aa9dde44ea78a88b2214c SHA1 f4e31fcaa11fe41e4a5a0ad6a0a77179a8eaf771 SHA256 9d7159f9f71d7cd1cb7e02fa1585a92fb2f71035093eccd4227704e7e26d1bb8 MD5 f0305025a7dc49753d69255e542fd426 metadata.xml 415 RMD160 7ed7e675f4d2538d061aa9dde44ea78a88b2214c metadata.xml 415 @@ -14,3 +19,6 @@ SHA256 9d7159f9f71d7cd1cb7e02fa1585a92fb2f71035093eccd4227704e7e26d1bb8 metadata MD5 94ce1d5427ec44b88eef2017e72c9823 files/digest-pcb-20060822 241 RMD160 0d48777dc60ed4650895da3ce521c38d90ca8094 files/digest-pcb-20060822 241 SHA256 06376f2986961f9ed150c8673df9b57b1043d35d702ab0ca9c8e7bfe4ef02760 files/digest-pcb-20060822 241 +MD5 00a282f7410f21a41127ccfa8c105bf2 files/digest-pcb-20070208 241 +RMD160 46efea3c195f10b027d0da4053f84d4295b6e325 files/digest-pcb-20070208 241 +SHA256 6ad5d9dc37de4b7aebd30d9e09945d9ab1cc68d99c00f8ba57666e3cb976c1ce files/digest-pcb-20070208 241 diff --git a/sci-electronics/pcb/files/digest-pcb-20070208 b/sci-electronics/pcb/files/digest-pcb-20070208 new file mode 100644 index 000000000000..c64529fdfcbb --- /dev/null +++ b/sci-electronics/pcb/files/digest-pcb-20070208 @@ -0,0 +1,3 @@ +MD5 9481015ada7240f1d598631429e63eb2 pcb-20070208.tar.gz 3725678 +RMD160 e624b4d8d891dbd8a7c1ca596b5228c27991874c pcb-20070208.tar.gz 3725678 +SHA256 0b7dcbe0c366d36ba178844af227c013fbeedb1fc1fecab60e5d0bbfb7f7c60a pcb-20070208.tar.gz 3725678 diff --git a/sci-electronics/pcb/pcb-20070208.ebuild b/sci-electronics/pcb/pcb-20070208.ebuild new file mode 100644 index 000000000000..ed8843e94815 --- /dev/null +++ b/sci-electronics/pcb/pcb-20070208.ebuild @@ -0,0 +1,66 @@ +# 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-20070208.ebuild,v 1.1 2007/02/14 19:33:13 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* + || ( + virtual/x11 + 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 Electronics +} -- 2.26.2