commit:     e668d37e19499365d10393b85e2647fbb83570da
Author:     Mike Auty <ikelos <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  1 19:23:01 2018 +0000
Commit:     Mike Auty <ikelos <AT> gentoo <DOT> org>
CommitDate: Sun Jul  1 19:23:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e668d37e

dev-util/bless: Ensure mono-env_pkg_setup is called

This resolves bug 659424.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/bless/bless-0.6.0-r3.ebuild | 52 ++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/dev-util/bless/bless-0.6.0-r3.ebuild 
b/dev-util/bless/bless-0.6.0-r3.ebuild
new file mode 100644
index 00000000000..d4c3ef7205f
--- /dev/null
+++ b/dev-util/bless/bless-0.6.0-r3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools gnome2 mono-env
+
+DESCRIPTION="GTK# Hex Editor"
+HOMEPAGE="https://github.com/bwrsandman/Bless/";
+SRC_URI="https://dev.gentoo.org/~ikelos/devoverlay-distfiles/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+       >=dev-lang/mono-1.1.14
+       >=dev-dotnet/gtk-sharp-2.12.21
+"
+DEPEND="${RDEPEND}
+       app-text/rarian
+       >=sys-devel/gettext-0.15
+       virtual/pkgconfig
+"
+
+# See bug 278162
+# Waiting on nunit ebuild entering the tree
+RESTRICT="test"
+
+pkg_setup() {
+       # Stolen from enlightenment.eclass
+       cp $(type -p gettextize) "${T}/" || die "Could not copy gettextize"
+       sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize"
+
+       mono-env_pkg_setup
+}
+
+src_prepare() {
+       einfo "Running gettextize -f --no-changelog..."
+       ( "${T}/gettextize" -f --no-changelog > /dev/null ) || die "gettexize 
failed"
+       eapply "${FILESDIR}/${P}-pixmap.patch"
+       eapply "${FILESDIR}/${P}-docpath.patch"
+       eapply "${FILESDIR}/${P}-mono-4.patch"
+       eautoreconf
+       gnome2_src_prepare
+}
+
+src_configure() {
+       gnome2_src_configure \
+               --enable-unix-specific \
+               $(use_enable debug)
+}

Reply via email to