diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2008-02-04 19:40:49 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2008-02-04 19:40:49 +0000 |
commit | 09bb807d97c489f0dd7ffec5fedfd7dfb5d573c7 (patch) | |
tree | 946f128b1efa40bb9f188c022f9a6b413b980d6e /sci-electronics | |
parent | Added local USE flag xrender for sci-electronics/pcb. (diff) | |
download | historical-09bb807d97c489f0dd7ffec5fedfd7dfb5d573c7.tar.gz historical-09bb807d97c489f0dd7ffec5fedfd7dfb5d573c7.tar.bz2 historical-09bb807d97c489f0dd7ffec5fedfd7dfb5d573c7.zip |
Version bump. Bugs #41333, #201512 and #208581 fixed.
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/pcb/ChangeLog | 9 | ||||
-rw-r--r-- | sci-electronics/pcb/Manifest | 4 | ||||
-rw-r--r-- | sci-electronics/pcb/pcb-20080202.ebuild | 89 |
3 files changed, 99 insertions, 3 deletions
diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog index b1f7b65ca06a..773a5d2ba91c 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.35 2007/09/16 08:33:01 calchan Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.36 2008/02/04 19:40:49 calchan Exp $ + +*pcb-20080202 (04 Feb 2008) + + 04 Feb 2008; Denis Dupeyron <calchan@gentoo.org> +pcb-20080202.ebuild: + Version bump. Bugs #41333, #201512 and #208581 fixed. *pcb-20070912 (16 Sep 2007) diff --git a/sci-electronics/pcb/Manifest b/sci-electronics/pcb/Manifest index 5d2f594165d0..64b890f2ef49 100644 --- a/sci-electronics/pcb/Manifest +++ b/sci-electronics/pcb/Manifest @@ -1,8 +1,10 @@ DIST pcb-20060822.tar.gz 3229845 RMD160 65318c31a99b4ab4e38d2140f8c9a2bb5913a797 SHA1 e7ba587033f5ef4fb9a5372fe84c4e6d69aca75b SHA256 3e3e79674a3bc4a3196e8c4fc3299a1c67e844ee2310b36933b2b15444b43bcd DIST pcb-20070208.tar.gz 3725678 RMD160 e624b4d8d891dbd8a7c1ca596b5228c27991874c SHA1 3544c6ea5cb6fd90343189d27701ed9d25c31059 SHA256 0b7dcbe0c366d36ba178844af227c013fbeedb1fc1fecab60e5d0bbfb7f7c60a DIST pcb-20070912.tar.gz 3836056 RMD160 63df0117d5cc0d995a530c444c6333d46ad6d815 SHA1 3df27a8c0afaddfef96ef1be4fedd9b5333a8229 SHA256 3aa562a29332bf5174f9fb86c85427b14009f6468042a64effcb026ae058fc4a +DIST pcb-20080202.tar.gz 4240472 RMD160 ef54294eba3770b40ca19dd4a772c939aa0f74c8 SHA1 4eb538db7086ca1b1f29e03450ed6ad28abd5c42 SHA256 ac3359c845df2ec77652a1362f8d6cd70e78e666bf23b9820f9a4b619cf5778a EBUILD pcb-20060822.ebuild 1118 RMD160 72a71914cea3b1ce8b5033a61eede421eb01bb0c SHA1 4376e9811049f567d47c652e0d637ac2266c54c6 SHA256 ef3747702d0dbf889e940f55e156f273d1b7af5c119470c097fc9967e2474d42 EBUILD pcb-20070208.ebuild 1643 RMD160 0944cf76292c7a80dc9570051da50c978dfabed5 SHA1 5c1c02af7cc6e42b8efba677d628ad9bac25d02f SHA256 89de72af0c5d0ab5f593dcd168201d66bbcc5c57e3c02fe1834fd2d663fdc2e6 EBUILD pcb-20070912.ebuild 1643 RMD160 51ab326c402b0fd104a80b9023ec505932e47d7c SHA1 1e8197933890d0ef3f71e90be77a68249fda3a70 SHA256 baa077cba1c31c4412261ad131b56547e339a86ca017f2bea5c5b559a891d86d -MISC ChangeLog 6090 RMD160 c590255c4adf8d011318fb6763d309367baf747e SHA1 849115f3d247ad3d6aefa02e88038ffa53b9bc9d SHA256 2e4f93d37354401a004439b16b508edf4c0153b2cfd3bebda085937e12b863be +EBUILD pcb-20080202.ebuild 2474 RMD160 243c8816b2dd6f1b480629bd6905aa7ae2f42e77 SHA1 a21dfed27851aa06e3f6e798e8c2f0ce379de1c6 SHA256 a67e608c8247f6ad6ed3b77223e8893f80126765780cf21b622b93e04b63dd9a +MISC ChangeLog 6249 RMD160 ccb996147999dc31e9c6baebbdd0f0ca88b9db71 SHA1 da850a4c597b61aeee0efcd435dcdfeacdebc472 SHA256 f8ced6efb7c1241f68572e16fe2504d966af1a9881bc4c70bc3ccc537d254655 MISC metadata.xml 415 RMD160 7ed7e675f4d2538d061aa9dde44ea78a88b2214c SHA1 f4e31fcaa11fe41e4a5a0ad6a0a77179a8eaf771 SHA256 9d7159f9f71d7cd1cb7e02fa1585a92fb2f71035093eccd4227704e7e26d1bb8 diff --git a/sci-electronics/pcb/pcb-20080202.ebuild b/sci-electronics/pcb/pcb-20080202.ebuild new file mode 100644 index 000000000000..710fc9dfb2f4 --- /dev/null +++ b/sci-electronics/pcb/pcb-20080202.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-20080202.ebuild,v 1.1 2008/02/04 19:40:49 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/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 +} + |