Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/geda/
Date: Wed, 02 Mar 2022 12:35:14
Message-Id: 1646224494.dbf9debbe4c86a5b84f0342147d554fde250d264.andrewammerlaan@gentoo
1 commit: dbf9debbe4c86a5b84f0342147d554fde250d264
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 12:34:19 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 12:34:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbf9debb
7
8 sci-electronics/geda: add version 1.10.2
9
10 Closes: https://bugs.gentoo.org/701898
11 Bug: https://bugs.gentoo.org/824970
12 Bug: https://bugs.gentoo.org/643822
13 Bug: https://bugs.gentoo.org/681768
14 Bug: https://bugs.gentoo.org/717436
15 Bug: https://bugs.gentoo.org/779808
16 Bug: https://bugs.gentoo.org/704768
17 Bug: https://bugs.gentoo.org/642464
18 Package-Manager: Portage-3.0.30, Repoman-3.0.3
19 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
20
21 sci-electronics/geda/Manifest | 1 +
22 sci-electronics/geda/geda-1.10.2.ebuild | 89 +++++++++++++++++++++++++++++++++
23 2 files changed, 90 insertions(+)
24
25 diff --git a/sci-electronics/geda/Manifest b/sci-electronics/geda/Manifest
26 index d10e265b6bb7..4639d6ec8227 100644
27 --- a/sci-electronics/geda/Manifest
28 +++ b/sci-electronics/geda/Manifest
29 @@ -1 +1,2 @@
30 +DIST geda-gaf-1.10.2.tar.gz 14441491 BLAKE2B d6ecc4bc1390ff457396ae406fdeee909418f63d8c50e537215fa0a1131cfda91339f44ddc2c91ca0f3772f4416be1c4448fea45336c78bb601fb9b4df399b14 SHA512 c7beabf019762d9d3b4faa63f1345fb064ebbb6e0203a6c5bcab6b740d20db9f3cedf85c2f99e3ab1cb5396c06886fad1dbd5201eb7bad9e77c03511cf23b1a1
31 DIST geda-gaf-1.9.2.tar.gz 10612225 BLAKE2B d09accde32f672b984bc2541404efccc886edb15e985bab287b4a619f11fc10cfd2b3ce3074d82c1a61811c4df9e515ecfbc61bd537c6943188b130062bda97f SHA512 5e26ea2cffffe50bd4f0bdb4594af9cc4510386d29c715c2b4ea99c6522838a08cc2045bf65e8b1da01ab33a266fc9f03da42e28b8cc4d5c030001777ab077e3
32
33 diff --git a/sci-electronics/geda/geda-1.10.2.ebuild b/sci-electronics/geda/geda-1.10.2.ebuild
34 new file mode 100644
35 index 000000000000..3f4d3e11c4d2
36 --- /dev/null
37 +++ b/sci-electronics/geda/geda-1.10.2.ebuild
38 @@ -0,0 +1,89 @@
39 +# Copyright 1999-2022 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=8
43 +
44 +DOCS_BUILDER="doxygen"
45 +DOCS_DEPEND="media-gfx/graphviz"
46 +inherit autotools docs xdg
47 +
48 +MY_PN=${PN}-gaf
49 +MY_P=${MY_PN}-${PV}
50 +
51 +DESCRIPTION="GPL Electronic Design Automation (gEDA):gaf core package"
52 +HOMEPAGE="http://wiki.geda-project.org/geda:gaf"
53 +SRC_URI="http://ftp.geda-project.org/${MY_PN}/stable/v$(ver_cut 1-2)/${PV}/${MY_P}.tar.gz"
54 +S="${WORKDIR}/${MY_P}"
55 +
56 +LICENSE="GPL-2"
57 +SLOT="0"
58 +KEYWORDS="~amd64 ~ppc ~x86"
59 +IUSE="debug examples fam nls stroke threads"
60 +
61 +RDEPEND="
62 + dev-libs/glib:2
63 + dev-scheme/guile
64 + sci-electronics/electronics-menu
65 + x11-libs/cairo
66 + x11-libs/gdk-pixbuf
67 + x11-libs/gtk+:2
68 + x11-libs/pango
69 + nls? ( virtual/libintl )
70 + stroke? ( dev-libs/libstroke )
71 + fam? ( app-admin/gamin )
72 +"
73 +
74 +DEPEND="${RDEPEND}
75 + dev-util/desktop-file-utils
76 + x11-misc/shared-mime-info"
77 +BDEPEND="
78 + sys-apps/groff
79 + virtual/pkgconfig
80 + nls? ( sys-devel/gettext )
81 +"
82 +
83 +src_prepare() {
84 + default
85 +
86 + if ! use doc ; then
87 + sed -i -e '/^SUBDIRS = /s/docs//' Makefile.in || die
88 + fi
89 + if ! use examples ; then
90 + sed -i -e 's/\texamples$//' Makefile.in || die
91 + fi
92 +
93 + # add missing GIO_LIB Bug #684870
94 + sed -i -e 's/gsymcheck_LDFLAGS =/gsymcheck_LDFLAGS = $(GIO_LIBS)/' \
95 + gsymcheck/src/Makefile.am || die
96 +
97 + sed -i -e 's/gnetlist_LDFLAGS =/gnetlist_LDFLAGS = $(GIO_LIBS)/' \
98 + gnetlist-legacy/src/Makefile.am || die
99 +
100 + sed -i -e 's/gschlas_LDFLAGS =/gschlas_LDFLAGS = $(GIO_LIBS)/' \
101 + utils/gschlas/Makefile.am || die
102 +
103 + sed -i -e 's/sarlacc_schem_LDFLAGS =/sarlacc_schem_LDFLAGS = $(GIO_LIBS)/' \
104 + contrib/sarlacc_schem/Makefile.am || die
105 +
106 + # remove compressed files, compressed by portage in install phase
107 + rm docs/wiki/media/geda/gsch2pcb-libs.tar.gz || die
108 + rm docs/wiki/media/geda/pcb_plugin_template.tar.gz || die
109 + rm docs/wiki/media/pcb/plugin_debug_window.tar.gz || die
110 +
111 + eautoreconf
112 +}
113 +
114 +src_configure() {
115 + local myconf=(
116 + --disable-rpath
117 + --disable-update-xdg-database
118 + $(use_enable doc doxygen)
119 + $(use_enable debug assert)
120 + $(use_enable nls)
121 + $(use_enable threads threads posix)
122 + $(use_with stroke libstroke)
123 + $(use_with fam libfam)
124 + )
125 +
126 + econf "${myconf[@]}"
127 +}