summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2009-05-20 02:15:06 +0000
committerDenis Dupeyron <calchan@gentoo.org>2009-05-20 02:15:06 +0000
commitb8c127560f0d703d71028932601e4781b09594e6 (patch)
tree5b550268261118afe88b7e4914c79b10dcfcc1c7 /sci-electronics
parentNew split ebuild, thanks a lot to Stefan Salewski (bug #266358). (diff)
downloadgentoo-2-b8c127560f0d703d71028932601e4781b09594e6.tar.gz
gentoo-2-b8c127560f0d703d71028932601e4781b09594e6.tar.bz2
gentoo-2-b8c127560f0d703d71028932601e4781b09594e6.zip
New split ebuild, thanks a lot to Stefan Salewski (bug #266358).
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/geda-gschem/ChangeLog10
-rw-r--r--sci-electronics/geda-gschem/geda-gschem-1.4.3.ebuild65
-rw-r--r--sci-electronics/geda-gschem/metadata.xml13
3 files changed, 88 insertions, 0 deletions
diff --git a/sci-electronics/geda-gschem/ChangeLog b/sci-electronics/geda-gschem/ChangeLog
new file mode 100644
index 000000000000..c459d711dc80
--- /dev/null
+++ b/sci-electronics/geda-gschem/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-electronics/geda-gschem
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda-gschem/ChangeLog,v 1.1 2009/05/20 02:15:06 calchan Exp $
+
+*geda-gschem-1.4.3 (20 May 2009)
+
+ 20 May 2009; Denis Dupeyron <calchan@gentoo.org>
+ +geda-gschem-1.4.3.ebuild, +metadata.xml:
+ New split ebuild, thanks a lot to Stefan Salewski (bug #266358).
+
diff --git a/sci-electronics/geda-gschem/geda-gschem-1.4.3.ebuild b/sci-electronics/geda-gschem/geda-gschem-1.4.3.ebuild
new file mode 100644
index 000000000000..a0ec674ae1d2
--- /dev/null
+++ b/sci-electronics/geda-gschem/geda-gschem-1.4.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda-gschem/geda-gschem-1.4.3.ebuild,v 1.1 2009/05/20 02:15:06 calchan Exp $
+
+EAPI="2"
+
+inherit fdo-mime versionator
+
+DESCRIPTION="GPL Electronic Design Automation: schematic editor"
+HOMEPAGE="http://www.gpleda.org/"
+SRC_URI="http://geda.seul.org/release/v$(get_version_component_range 1-2)/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="nls stroke threads"
+
+RDEPEND="=sci-libs/libgeda-${PV}*
+ =sci-electronics/geda-symbols-${PV}*
+ >=dev-libs/glib-2.4
+ >=x11-libs/gtk+-2.4
+ || ( =dev-scheme/guile-1.6* =dev-scheme/guile-1.8*[deprecated] )
+ nls? ( virtual/libintl )
+ stroke? ( >=dev-libs/libstroke-0.5.1 )"
+
+DEPEND="${RDEPEND}
+ !<sci-electronics/geda-1.4.3-r1
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.9
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ sed -i -e 's/ docs / /' Makefile.in || die "sed failed"
+}
+
+src_configure() {
+ # nls may not work if LINGUAS is set -- upstream bug, they use only variants
+ # like de_DE.po. See Debian bug #336796
+ use nls && unset LINGUAS
+ econf \
+ $(use_enable threads threads posix) \
+ $(use_enable stroke) \
+ $(use_enable nls) \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --disable-update-mime-database \
+ --disable-update-desktop-database
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS BUGS NEWS README
+ doman docs/gschem.1
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+}
+
diff --git a/sci-electronics/geda-gschem/metadata.xml b/sci-electronics/geda-gschem/metadata.xml
new file mode 100644
index 000000000000..77e10ce4aa9f
--- /dev/null
+++ b/sci-electronics/geda-gschem/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-electronics</herd>
+ <longdescription>
+ gschem is the schematic capture program part of the GPL Electronic
+ Design Automation tools (gEDA).
+ </longdescription>
+ <use>
+ <flag name='stroke'>enable mouse gesture support</flag>
+ </use>
+</pkgmetadata>
+