diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2008-11-30 15:31:50 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2008-11-30 15:31:50 +0000 |
commit | f7b7fecb42ea0aca0d895e2200df9328441cadd6 (patch) | |
tree | b486ccdba2e84c1c8a52d6134d1c50ae630a3001 /sci-electronics | |
parent | alpha stable wrt #248760 (diff) | |
download | historical-f7b7fecb42ea0aca0d895e2200df9328441cadd6.tar.gz historical-f7b7fecb42ea0aca0d895e2200df9328441cadd6.tar.bz2 historical-f7b7fecb42ea0aca0d895e2200df9328441cadd6.zip |
Version bump.
Package-Manager: portage-2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r2 i686
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/pcb/ChangeLog | 7 | ||||
-rw-r--r-- | sci-electronics/pcb/Manifest | 14 | ||||
-rw-r--r-- | sci-electronics/pcb/pcb-20081128.ebuild | 89 |
3 files changed, 98 insertions, 12 deletions
diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog index 13cf68519a1c..b642362d1716 100644 --- a/sci-electronics/pcb/ChangeLog +++ b/sci-electronics/pcb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/pcb # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.44 2008/10/10 22:06:35 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.45 2008/11/30 15:31:50 calchan Exp $ + +*pcb-20081128 (30 Nov 2008) + + 30 Nov 2008; Denis Dupeyron <calchan@gentoo.org> +pcb-20081128.ebuild: + Version bump. 10 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> pcb-20080202.ebuild: XML-Parser is unneeded, thanks leio. diff --git a/sci-electronics/pcb/Manifest b/sci-electronics/pcb/Manifest index 8de0a94948f5..7a6ceba06536 100644 --- a/sci-electronics/pcb/Manifest +++ b/sci-electronics/pcb/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST pcb-20080202.tar.gz 4240472 RMD160 ef54294eba3770b40ca19dd4a772c939aa0f74c8 SHA1 4eb538db7086ca1b1f29e03450ed6ad28abd5c42 SHA256 ac3359c845df2ec77652a1362f8d6cd70e78e666bf23b9820f9a4b619cf5778a +DIST pcb-20081128.tar.gz 4524268 RMD160 3a121a3fa991e6f6d40caf086704cb6de0f76752 SHA1 9fbb4feb4e7851b349dfa0fe434e5d5fd822b8df SHA256 2e55067741a5f48ca6962c135fcbe6d1c1b70b95c825156c7db046277929cf28 EBUILD pcb-20080202.ebuild 2490 RMD160 a39e7bcff88a014f06069a369169c692560a9fa0 SHA1 e60cad12accefcd563e5db33c23a9a129341ba01 SHA256 e53a3fd2a01f1ad4ba1ac9bd43a2726ecbe45de9cdc2b84797bd51afbe3351ed -MISC ChangeLog 7219 RMD160 bfbb802eb20d1946c03992bbc95288c6922c705d SHA1 91b798b392204ea433a0143399116b0c0ca818e7 SHA256 c176482dc87b88f554a707020c4864d0d7cdc1355d06f6be91261602312b33ce +EBUILD pcb-20081128.ebuild 2492 RMD160 ab7ecdff5c818d8874c2cb133aed9e632efc3d6f SHA1 1442e2dda31fa748bcba5d7cdb09cb4759c00a17 SHA256 0f3354d42e566efa1ebb7dc9846a1aee52a363d064d8dcc04a2e4375cc768572 +MISC ChangeLog 7336 RMD160 089d341d52bec19d938d527951f0648a4a3b6ba8 SHA1 b4056bb53f613a6843580529d6224ed8f9a9f10a SHA256 c5fe1802dbb900d761f1d0e4ea24f1175bc9a4d57495206cf57ba80723f97b91 MISC metadata.xml 513 RMD160 98df30c35418068f632e47bdb450782a3b4e6936 SHA1 aebd8669f7f068ab59503bfde3bcdb4709f3c700 SHA256 05c66e1d12b7db328791ef8b552a288bfeb7be0df14f8e575ff28d2381e7c7bc ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkjv0fEACgkQAiZjviIA2Xgu0wCfcpFiv0+2VGhEp5WLlQLSCH/v -1K0AoNXwBUjwBGNi3qEDsd6B2DMud6VQ -=DFYs ------END PGP SIGNATURE----- diff --git a/sci-electronics/pcb/pcb-20081128.ebuild b/sci-electronics/pcb/pcb-20081128.ebuild new file mode 100644 index 000000000000..56447eb77e9f --- /dev/null +++ b/sci-electronics/pcb/pcb-20081128.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20081128.ebuild,v 1.1 2008/11/30 15:31:50 calchan Exp $ + +inherit eutils fdo-mime + +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="dbus gif gtk jpeg motif png tk xrender" + +RDEPEND="dbus? ( sys-apps/dbus ) + gif? ( media-libs/gd ) + gtk? ( >=x11-libs/gtk+-2.4 + x11-libs/pango ) + jpeg? ( media-libs/gd ) + motif? ( !gtk? ( >=x11-libs/openmotif-2.3 + xrender? ( x11-libs/libXrender ) ) ) + png? ( media-libs/gd )" +DEPEND="${RDEPEND} + dev-util/intltool + dev-util/pkgconfig + x11-proto/xproto + tk? ( =dev-lang/tk-8* )" + +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 + local GUI="--without-x --without-gui" + local XRENDER="--disable-xrender" + use gtk || use motif || ewarn "Building without GUI, make sure you know what you are doing." + use gtk && use motif && elog "Can't build for GTK+ and Motif at the same time. Defaulting to GTK+..." + if use motif ; then + GUI="--with-x --with-gui=lesstif" + use xrender && XRENDER="--enable-xrender" + fi + if use gtk ; then + GUI="--with-x --with-gui=gtk" + use xrender && elog "The Xrender option is only available with Motif." + fi + use tk || export WISH="/bin/true" + econf \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-update-desktop-database \ + --disable-update-mime-database \ + $(use_enable dbus ) \ + $(use_enable gif ) \ + $(use_enable jpeg ) \ + $(use_enable png ) \ + --with-exporters="${EXPORTERS}" \ + ${GUI} ${XRENDER} \ + || die "Configuration failed" + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + dodoc AUTHORS ChangeLog NEWS README +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} |