summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2015-03-16 18:39:23 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2015-03-16 18:39:23 +0000
commit0dc4ff94e0bcb70857bc333197e0c2fb3509357e (patch)
tree9baabb37651e30a18d7558c178c1089575f924f6 /sci-electronics
parentdrop old (diff)
downloadgentoo-2-0dc4ff94e0bcb70857bc333197e0c2fb3509357e.tar.gz
gentoo-2-0dc4ff94e0bcb70857bc333197e0c2fb3509357e.tar.bz2
gentoo-2-0dc4ff94e0bcb70857bc333197e0c2fb3509357e.zip
drop old
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/pcb/ChangeLog6
-rw-r--r--sci-electronics/pcb/pcb-20100929.ebuild132
-rw-r--r--sci-electronics/pcb/pcb-20110918.ebuild152
3 files changed, 5 insertions, 285 deletions
diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog
index 3331cdb5c3b7..a51ed9070f97 100644
--- a/sci-electronics/pcb/ChangeLog
+++ b/sci-electronics/pcb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-electronics/pcb
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.79 2015/02/21 12:17:11 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.80 2015/03/16 18:39:23 tomjbe Exp $
+
+ 16 Mar 2015; Thomas Beierlein <tomjbe@gentoo.org> -pcb-20100929.ebuild,
+ -pcb-20110918.ebuild:
+ drop old
21 Feb 2015; Agostino Sarubbo <ago@gentoo.org> pcb-20140316.ebuild:
Stable for ppc, wrt bug #537368
diff --git a/sci-electronics/pcb/pcb-20100929.ebuild b/sci-electronics/pcb/pcb-20100929.ebuild
deleted file mode 100644
index 36030adf7359..000000000000
--- a/sci-electronics/pcb/pcb-20100929.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2012 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.11 2012/10/24 19:36:23 ulm Exp $
-
-EAPI="3"
-
-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 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 x11-libs/pango
- dbus? ( sys-apps/dbus ) )
- jpeg? ( >=media-libs/gd-2.0.23[jpeg] )
- motif? ( !gtk? (
- >=x11-libs/motif-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] )
- tk? ( >=dev-lang/tk-8 )"
-#toporouter-output? ( x11-libs/cairo )
-
-DEPEND="${CDEPEND}
- test? (
- || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick )
- sci-electronics/gerbv
- )
- >=dev-util/intltool-0.35
- virtual/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_prepare() {
- if use test; then
- # adapt the list of tests to run according to USE flag settings
- if ! use png; then
- sed -i '/^hid_png/d' tests/tests.list || die
- fi
- if ! use gcode; then
- sed -i '/^hid_gcode/d' tests/tests.list || die
- fi
- 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="${EPREFIX}/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="${EPREFIX}/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
-}
diff --git a/sci-electronics/pcb/pcb-20110918.ebuild b/sci-electronics/pcb/pcb-20110918.ebuild
deleted file mode 100644
index e2640beac909..000000000000
--- a/sci-electronics/pcb/pcb-20110918.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20110918.ebuild,v 1.9 2014/07/31 16:50:33 tomjbe Exp $
-
-EAPI="3"
-
-inherit autotools eutils fdo-mime gnome2-utils toolchain-funcs
-
-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 x86 ~x86-macos"
-IUSE="dbus debug doc gcode gif gtk jpeg m4lib-png motif nelma opengl png
-test tk toporouter xrender"
-# toporouter-output USE flag removed, there seems to be no result
-
-CDEPEND="dev-libs/glib:2
- gif? ( >=media-libs/gd-2.0.23 )
- gtk? ( x11-libs/gtk+:2 x11-libs/pango
- x11-libs/gtkglext
- dbus? ( sys-apps/dbus ) )
- jpeg? ( >=media-libs/gd-2.0.23[jpeg] )
- motif? ( !gtk? (
- >=x11-libs/motif-2.3:0
- dbus? ( sys-apps/dbus )
- xrender? ( >=x11-libs/libXrender-0.9 ) ) )
- nelma? ( >=media-libs/gd-2.0.23 )
- opengl? ( virtual/opengl )
- gcode? ( >=media-libs/gd-2.0.23 )
- virtual/libintl
- png? ( >=media-libs/gd-2.0.23[png] )
- m4lib-png? ( >=media-libs/gd-2.0.23[png] )
- tk? ( >=dev-lang/tk-8 )"
-#toporouter-output? ( x11-libs/cairo )
-
-DEPEND="${CDEPEND}
- test? (
- || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick )
- sci-electronics/gerbv
- )
- >=dev-util/intltool-0.35
- virtual/pkgconfig
- 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 opengl && !(use gtk); then
- elog "GL drawing needs GTK"
- 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_prepare() {
- if use test; then
- # adapt the list of tests to run according to USE flag settings
- if ! use png; then
- sed -i '/^hid_png/d' tests/tests.list || die
- fi
- if ! use gcode; then
- sed -i '/^hid_gcode/d' tests/tests.list || die
- fi
- fi
- # Backport from upstream
- # http://git.geda-project.org/pcb/commit/?id=a34b40add60310a51780f359cc90d9c5ee75752c
- # (do not install static GTS library)
- sed -i -e 's/lib_LIBRARIES/noinst_LIBRARIES/' -e 's/include_HEADERS/noinst_HEADERS/' gts/Makefile.am || die
-
- # fix bad syntax in Makefile.am and configure.ac before running eautoreconf
- sed -i -e 's/:=/=/' Makefile.am || die
- epatch "${FILESDIR}"/${P}-fix-config.diff
- eautoreconf
-}
-
-src_configure() {
- local myconf
- if use gtk ; then
- myconf="--with-gui=gtk $(use_enable dbus) $(use_enable opengl gl) --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="${EPREFIX}/bin/true"
-
- econf \
- ${myconf} \
- $(use_enable doc) \
- $(use_enable gif) \
- $(use_enable jpeg) \
- $(use_enable png) \
- $(use_enable m4lib-png) \
- $(use_enable toporouter) \
- $(use_enable debug) \
- --enable-nls \
- --disable-toporouter-output \
- --with-exporters="${exporters}" \
- --disable-dependency-tracking \
- --disable-rpath \
- --disable-update-mime-database \
- --disable-update-desktop-database \
- --docdir="${EPREFIX}/usr/share/doc/${PF}"
-}
-# toporouter-output USE flag removed, there seems to be no result
-# $(use_enable toporouter-output) \
-
-src_compile() {
- emake AR="$(tc-getAR)"
-}
-
-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
-}