Gentoo Archives: gentoo-commits

From: Mike Auty <ikelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bless/
Date: Sun, 01 Jul 2018 19:23:52
Message-Id: 1530473013.e668d37e19499365d10393b85e2647fbb83570da.ikelos@gentoo
1 commit: e668d37e19499365d10393b85e2647fbb83570da
2 Author: Mike Auty <ikelos <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 1 19:23:01 2018 +0000
4 Commit: Mike Auty <ikelos <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 1 19:23:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e668d37e
7
8 dev-util/bless: Ensure mono-env_pkg_setup is called
9
10 This resolves bug 659424.
11
12 Package-Manager: Portage-2.3.40, Repoman-2.3.9
13
14 dev-util/bless/bless-0.6.0-r3.ebuild | 52 ++++++++++++++++++++++++++++++++++++
15 1 file changed, 52 insertions(+)
16
17 diff --git a/dev-util/bless/bless-0.6.0-r3.ebuild b/dev-util/bless/bless-0.6.0-r3.ebuild
18 new file mode 100644
19 index 00000000000..d4c3ef7205f
20 --- /dev/null
21 +++ b/dev-util/bless/bless-0.6.0-r3.ebuild
22 @@ -0,0 +1,52 @@
23 +# Copyright 1999-2018 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +inherit autotools gnome2 mono-env
28 +
29 +DESCRIPTION="GTK# Hex Editor"
30 +HOMEPAGE="https://github.com/bwrsandman/Bless/"
31 +SRC_URI="https://dev.gentoo.org/~ikelos/devoverlay-distfiles/${P}.tar.gz"
32 +
33 +LICENSE="GPL-2"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE="debug"
37 +
38 +RDEPEND="
39 + >=dev-lang/mono-1.1.14
40 + >=dev-dotnet/gtk-sharp-2.12.21
41 +"
42 +DEPEND="${RDEPEND}
43 + app-text/rarian
44 + >=sys-devel/gettext-0.15
45 + virtual/pkgconfig
46 +"
47 +
48 +# See bug 278162
49 +# Waiting on nunit ebuild entering the tree
50 +RESTRICT="test"
51 +
52 +pkg_setup() {
53 + # Stolen from enlightenment.eclass
54 + cp $(type -p gettextize) "${T}/" || die "Could not copy gettextize"
55 + sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize"
56 +
57 + mono-env_pkg_setup
58 +}
59 +
60 +src_prepare() {
61 + einfo "Running gettextize -f --no-changelog..."
62 + ( "${T}/gettextize" -f --no-changelog > /dev/null ) || die "gettexize failed"
63 + eapply "${FILESDIR}/${P}-pixmap.patch"
64 + eapply "${FILESDIR}/${P}-docpath.patch"
65 + eapply "${FILESDIR}/${P}-mono-4.patch"
66 + eautoreconf
67 + gnome2_src_prepare
68 +}
69 +
70 +src_configure() {
71 + gnome2_src_configure \
72 + --enable-unix-specific \
73 + $(use_enable debug)
74 +}