diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /sci-electronics/gerbv/gerbv-2.7.0.ebuild | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'sci-electronics/gerbv/gerbv-2.7.0.ebuild')
-rw-r--r-- | sci-electronics/gerbv/gerbv-2.7.0.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sci-electronics/gerbv/gerbv-2.7.0.ebuild b/sci-electronics/gerbv/gerbv-2.7.0.ebuild new file mode 100644 index 000000000000..48379be86259 --- /dev/null +++ b/sci-electronics/gerbv/gerbv-2.7.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools xdg + +DESCRIPTION="A RS-274X (Gerber) and NC drill (Excellon) file viewer" +HOMEPAGE="http://gerbv.geda-project.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc examples unit-mm" +RESTRICT="test" + +RDEPEND=" + x11-libs/gtk+:2 + x11-libs/cairo" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-2.7.0-fno-common-gcc10.patch ) + +src_configure() { + econf \ + --disable-static \ + --disable-update-desktop-database \ + $(use_enable unit-mm) +} + +src_install() { + rm README-{git,release,win32}.txt || die + default + dodoc CONTRIBUTORS HACKING + + rm doc/Doxyfile.nopreprocessing || die + if use doc; then + find doc -name 'Makefile*' -delete || die + dodoc -r doc/. + fi + + if use examples; then + find example -name 'Makefile*' -delete || die + dodoc -r example/. + fi + + # no static archives + find "${D}" -name '*.la' -delete || die +} |