summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2010-04-16 23:51:43 +0000
committerDenis Dupeyron <calchan@gentoo.org>2010-04-16 23:51:43 +0000
commitdcd11da2fb07982d0f00ab904564f107acab29fd (patch)
tree993814d808523a18e6593c13af8900bff34fb9ed /sci-electronics/gerbv
parentVersion bump. ASIHPI has been updated. (diff)
downloadgentoo-2-dcd11da2fb07982d0f00ab904564f107acab29fd.tar.gz
gentoo-2-dcd11da2fb07982d0f00ab904564f107acab29fd.tar.bz2
gentoo-2-dcd11da2fb07982d0f00ab904564f107acab29fd.zip
Version bump, thanks to Stefan Salewski (bug #315673).
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics/gerbv')
-rw-r--r--sci-electronics/gerbv/ChangeLog7
-rw-r--r--sci-electronics/gerbv/gerbv-2.4.0.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/sci-electronics/gerbv/ChangeLog b/sci-electronics/gerbv/ChangeLog
index fa42dcabe9bf..65702810c71e 100644
--- a/sci-electronics/gerbv/ChangeLog
+++ b/sci-electronics/gerbv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/gerbv
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/ChangeLog,v 1.34 2010/04/05 16:59:47 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/ChangeLog,v 1.35 2010/04/16 23:51:43 calchan Exp $
+
+*gerbv-2.4.0 (16 Apr 2010)
+
+ 16 Apr 2010; Denis Dupeyron <calchan@gentoo.org> +gerbv-2.4.0.ebuild:
+ Version bump, thanks to Stefan Salewski (bug #315673).
05 Apr 2010; Raúl Porcel <armin76@gentoo.org> gerbv-2.3.0-r2.ebuild:
sparc stable wrt #270735
diff --git a/sci-electronics/gerbv/gerbv-2.4.0.ebuild b/sci-electronics/gerbv/gerbv-2.4.0.ebuild
new file mode 100644
index 000000000000..998b88fe2aa0
--- /dev/null
+++ b/sci-electronics/gerbv/gerbv-2.4.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/gerbv-2.4.0.ebuild,v 1.1 2010/04/16 23:51:43 calchan Exp $
+
+EAPI="2"
+
+inherit fdo-mime
+
+DESCRIPTION="A RS-274X (Gerber) and NC drill (Excellon) file viewer"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://gerbv.sourceforge.net/"
+
+IUSE="unit-mm doc examples"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+RESTRICT="test"
+
+RDEPEND=">=x11-libs/gtk+-2.4
+ >=x11-libs/cairo-1.2"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9"
+
+src_configure() {
+ econf \
+ $(use_enable unit-mm) \
+ --disable-dependency-tracking \
+ --disable-update-desktop-database
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog CONTRIBUTORS HACKING NEWS README* TODO BUGS
+
+ rm doc/Doxyfile.nopreprocessing
+ if use doc; then
+ find doc -name "Makefile*" -exec rm -f '{}' \;
+ find doc -name "*.txt" -exec ecompress '{}' \;
+ insinto /usr/share/doc/${PF}
+ doins -r doc/*
+ fi
+
+ if use examples; then
+ find example -name "Makefile*" -exec rm -f '{}' \;
+ find example -name "*.txt" -exec ecompress '{}' \;
+ insinto /usr/share/doc/${PF}/examples
+ doins -r example/*
+ fi
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}