summaryrefslogtreecommitdiff
path: root/sci-electronics/gerbv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-electronics/gerbv
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-electronics/gerbv')
-rw-r--r--sci-electronics/gerbv/Manifest8
-rw-r--r--sci-electronics/gerbv/files/gerbv-2.6.1-ru.patch12
-rw-r--r--sci-electronics/gerbv/gerbv-2.6.0.ebuild54
-rw-r--r--sci-electronics/gerbv/gerbv-2.6.1.ebuild65
-rw-r--r--sci-electronics/gerbv/metadata.xml21
5 files changed, 160 insertions, 0 deletions
diff --git a/sci-electronics/gerbv/Manifest b/sci-electronics/gerbv/Manifest
new file mode 100644
index 000000000000..8fd14865be44
--- /dev/null
+++ b/sci-electronics/gerbv/Manifest
@@ -0,0 +1,8 @@
+AUX gerbv-2.6.1-ru.patch 341 SHA256 ade4454095cc6bfb78ef9f946cb8aa0c91447f4263ea4f66b0045f40705793b5 SHA512 7cd39b1648f67bbf28a56afe03975ce0f57afeec8021f14f0a56e6ea015e5148c245ad960db7d544a2c5b8e2e33d682ee5ae5b00a6384d303494f3430933a3bb WHIRLPOOL 877775a149cb1dd5646399369c18d2f9ae83dd89938112956a760a6bf2bd75f8d809b7b550bfc3ea8373fa291ca4eb4b46fb76faa845aea77004c59570ed42f3
+DIST gerbv-2.6.0.tar.gz 2346299 SHA256 5c55425c3493bc8407949be8b4e572434a6b378f5727cc0dcef97dc2e7574dd0 SHA512 a2d7601b44c8ed16a89d18713f451c0298bee65e2ea76b87e3d9d573af63d3b57758cb7cfcfb2177a22aecc7d9fdaaca3d369ea051446651af4dc542065a4377 WHIRLPOOL 07fd10e35d7f384bfdf8d16c9e1a42bdf3010dcd45c2cb3cb359f7c0478b0739c784900e8448c117841511e7d6fed2fe5bd69051fd61e2c64750f83e931909c4
+DIST gerbv-2.6.1.tar.gz 4432481 SHA256 7aa6a2c622dc9ff7acd88411dddf95ae25ae3b5d97020f3ea91e97d82bf0d96c SHA512 cbf4ce4fd2b401d65ffc6bb5a7f9da0e6fa31cb3f754ea12092c86f197c72c833805eb395562b286f6d03c2eb38e363b649f8aa1040a6207baf975fa15e48b29 WHIRLPOOL c59feee8a6c5879cf9686bebb79adcd15b55d73e65641866c90c85d8b757113a7e119cf3b58f08f40e8c0c532fde23411ed9245ee0b011698364da974f9b65fa
+EBUILD gerbv-2.6.0.ebuild 1066 SHA256 8578530f089c14bec2fd6f1a9174224f255d479383019f8c06e7aef8891112ef SHA512 76a62c8201c33c26bcba495d7ab38f317e1f2f29d696b466a188d22a21a3973c758738540a18daa8a236ee0879bbaac086c4245d6e0dccfd14f9059e447a832f WHIRLPOOL f6cba12741d69f0b6f48e457a04342e1ec12ef42eb313947843a4aeedff98aeea05bd0790f7637fdbbbd007c194a3a6edea7f7e1cee782b58668485d3cf86141
+EBUILD gerbv-2.6.1.ebuild 1229 SHA256 66524857cc8fbfbe86fe72f572ef1a5da60e5bbaf59c14409343f6008a39371d SHA512 ba40e1e2b5df7e6d866c8a46e30acafc669bb8f3e4d3019aa17c2dfc188635b1aa474233c2690bf2574ceec36514a19cb52dfb22f6c08e355b81ff90350990f9 WHIRLPOOL 4881a7ba989e5aef204878f0f9f02cb66926a5e6caaaaadef592e2440bf519b290979fe602e3c706954706299acf200d59da3993688fc4e8861e2acbd5091ec2
+MISC ChangeLog 2610 SHA256 1a7e8aea295c4fc22916e6d1aa9546f7e56084d8e174937b74e34166f50f117c SHA512 24f99cd0509c9b8d92a085da7ca1fcbbdcd4429bb5cc9faef9fddebccef4cec9760a9ca6ea62c5380ca5910729b0a06bb3f636ac8edb8f300b90dfd3ffe8060d WHIRLPOOL 8af9e8bd28e2bd00a5efd04b17399d896d6af986f90f8f0f3c4993816c665a8f83a3e5139caee621ae01c096c6a25a075f100173454bd431fb8fb59363ee3db6
+MISC ChangeLog-2015 7176 SHA256 559922e6362d437e60f00eb86db26df12315798f813d2ff35f8172068ce4f736 SHA512 f8ed747fefb836f2aa38cd70db447eed882099e3f5ec588420a612703b31bc6f01b8446a6a3330323ee84ef1b838d9be58a75df9d2516fdfb1c9e2b687520cb8 WHIRLPOOL ca0107601db8350030006844da7b2396bfd8a0bc2e8f08f822a76a6c4764d52de3707e3f411a939a256121ed323c5206bed0034b6d0e4bb898e8aec4e0fdf57f
+MISC metadata.xml 802 SHA256 9f13001793dd923c2005dc3f153bed4a31985c79c5d588d0692434fc92634d57 SHA512 cd322dbcdba34e76f450b4368e2a3eb63885726c09f8b8baad3137cc8e5e8e8537776fd776b86112b2fb71ae5720490dda586ca805e0ba8662744703eed25982 WHIRLPOOL 5dbc3a77aa7418ad2851fa4a13525514055526beda87254c7977b2deff0a15a96fb97fac1271619bb006feeec641a8cd77b63ec3c97b139dc9b4505ab2133417
diff --git a/sci-electronics/gerbv/files/gerbv-2.6.1-ru.patch b/sci-electronics/gerbv/files/gerbv-2.6.1-ru.patch
new file mode 100644
index 000000000000..a56f34333919
--- /dev/null
+++ b/sci-electronics/gerbv/files/gerbv-2.6.1-ru.patch
@@ -0,0 +1,12 @@
+--- a/man/Makefile.am
++++ b/man/Makefile.am
+@@ -19,8 +19,7 @@
+ ## along with this program; if not, write to the Free Software
+ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
+
+-man_MANS = gerbv.1 gerbv.ru.1
+-PO_FILES= gerbv.ru.1.in.po
++man_MANS = gerbv.1
+
+ MOSTLYCLEANFILES = *~
+ CLEANFILES = *~ *.pot $(man_MANS)
diff --git a/sci-electronics/gerbv/gerbv-2.6.0.ebuild b/sci-electronics/gerbv/gerbv-2.6.0.ebuild
new file mode 100644
index 000000000000..e2618cd1f896
--- /dev/null
+++ b/sci-electronics/gerbv/gerbv-2.6.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+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.geda-project.org/"
+
+IUSE="doc examples static-libs unit-mm"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86"
+RESTRICT="test"
+
+RDEPEND="
+ x11-libs/gtk+:2
+ x11-libs/cairo"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_enable unit-mm) \
+ --disable-update-desktop-database \
+ $(use_enable static-libs static)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS BUGS ChangeLog CONTRIBUTORS HACKING NEWS README* TODO
+
+ rm doc/Doxyfile.nopreprocessing
+ if use doc; then
+ find doc -name "Makefile*" -exec rm -f '{}' \;
+ dodoc -r doc/*
+ fi
+
+ if use examples; then
+ find example -name "Makefile*" -exec rm -f '{}' \;
+ dodoc -r example/*
+ fi
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/sci-electronics/gerbv/gerbv-2.6.1.ebuild b/sci-electronics/gerbv/gerbv-2.6.1.ebuild
new file mode 100644
index 000000000000..533305d55d40
--- /dev/null
+++ b/sci-electronics/gerbv/gerbv-2.6.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit autotools eutils fdo-mime
+
+DESCRIPTION="A RS-274X (Gerber) and NC drill (Excellon) file viewer"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://gerbv.geda-project.org/"
+
+IUSE="doc examples static-libs unit-mm"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+RESTRICT="test"
+
+RDEPEND="
+ x11-libs/gtk+:2
+ x11-libs/cairo"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # No Russian translation shipped
+ echo > po/LINGUAS || die
+ eapply "${FILESDIR}"/${P}-ru.patch
+
+ eapply_user
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable unit-mm) \
+ --disable-update-desktop-database
+}
+
+src_install () {
+ default
+
+ dodoc AUTHORS BUGS ChangeLog CONTRIBUTORS HACKING NEWS README* TODO
+
+ rm doc/Doxyfile.nopreprocessing
+ if use doc; then
+ find doc -name "Makefile*" -exec rm -f '{}' \;
+ dodoc -r doc/*
+ fi
+
+ if use examples; then
+ find example -name "Makefile*" -exec rm -f '{}' \;
+ dodoc -r example/*
+ fi
+
+ prune_libtool_files
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/sci-electronics/gerbv/metadata.xml b/sci-electronics/gerbv/metadata.xml
new file mode 100644
index 000000000000..bb3a21c18cb6
--- /dev/null
+++ b/sci-electronics/gerbv/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-electronics@gentoo.org</email>
+ <name>Gentoo Electronics Project</name>
+ </maintainer>
+ <longdescription>
+ Gerbv is a viewer for Gerber RS-274X files, Excellon drill files, and CSV
+ pick-and-place files. (Note: RS-274D files are not supported.)
+ The core functionality of gerbv is located in a separate library
+ (libgerbv), allowing developers to include Gerber
+ parsing/editing/exporting/rendering into other programs.
+ </longdescription>
+ <use>
+ <flag name="unit-mm">Set default unit for coordinates in status bar to mm</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gerbv</remote-id>
+ </upstream>
+</pkgmetadata>