Gentoo Archives: gentoo-commits

From: Mikhail Pukhlikov <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/dotnet:master commit in: net-irc/smuxi/
Date: Thu, 03 Aug 2017 07:58:26
Message-Id: 1501539613.3fb1509a1ea5944e8bd5ec888499276490935822.cynede@gentoo
1 commit: 3fb1509a1ea5944e8bd5ec888499276490935822
2 Author: sam <sam <AT> cmpct <DOT> info>
3 AuthorDate: Mon Jul 31 22:20:13 2017 +0000
4 Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 31 22:20:13 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=3fb1509a
7
8 net-irc/smuxi: add 1.0.7
9
10 net-irc/smuxi/smuxi-1.0.7.ebuild | 84 ++++++++++++++++++++++++++++++++++++++++
11 1 file changed, 84 insertions(+)
12
13 diff --git a/net-irc/smuxi/smuxi-1.0.7.ebuild b/net-irc/smuxi/smuxi-1.0.7.ebuild
14 new file mode 100644
15 index 0000000..c88c7fd
16 --- /dev/null
17 +++ b/net-irc/smuxi/smuxi-1.0.7.ebuild
18 @@ -0,0 +1,84 @@
19 +# Copyright 1999-2017 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI=6
23 +inherit eutils gnome2-utils mono-env dotnet versionator autotools git-r3
24 +
25 +DESCRIPTION="A flexible, irssi-like and user-friendly IRC client for the Gnome Desktop"
26 +HOMEPAGE="http://www.smuxi.org/main/"
27 +EGIT_REPO_URI="https://github.com/meebey/smuxi"
28 +# https://github.com/meebey/smuxi/releases/tag/1.0.7
29 +EGIT_COMMIT="a63e6236bb241c018633c380c99554c38a83f6ad"
30 +EGIT_BRANCH="release/1.0"
31 +
32 +SRC_URI="https://github.com/meebey/smuxi/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~x86"
35 +IUSE="dbus debug gtk libnotify spell nls"
36 +LICENSE="|| ( GPL-2 GPL-3 )"
37 +
38 +CDEPEND=">=dev-lang/mono-4.0.2.5
39 + >=dev-dotnet/smartirc4net-1.0
40 + dev-libs/stfl
41 + >=dev-dotnet/log4net-1.2.10
42 + >=dev-dotnet/nini-1.1.0-r2
43 + gtk? ( >=dev-dotnet/gtk-sharp-2.12.21:2 )
44 + libnotify? ( >=dev-dotnet/notify-sharp-0.4 )
45 + libnotify? ( <dev-dotnet/notify-sharp-3 )
46 + dbus? ( >=dev-dotnet/dbus-sharp-glib-0.6:* )
47 + spell? ( >=app-text/gtkspell-2.0.9:2 )
48 +"
49 +DEPEND="${CDEPEND}
50 + >=dev-util/intltool-0.25
51 + >=sys-devel/gettext-0.17
52 + virtual/pkgconfig
53 +"
54 +RDEPEND="${CDEPEND}"
55 +
56 +pkg_preinst() {
57 + gnome2_icon_savelist
58 +}
59 +
60 +src_prepare() {
61 + default
62 +
63 + # https://github.com/meebey/smuxi/issues/86
64 + # eautoreconf
65 + ./autogen.sh | die "Could not run autogen.sh"
66 +}
67 +
68 +src_configure() {
69 + # Our dev-dotnet/db4o is completely unmaintained
70 + # We don't have ubuntu stuff
71 + econf \
72 + --enable-engine-irc \
73 + --without-indicate \
74 + --with-vendor-package-version="Gentoo ${PV}" \
75 + --with-db4o=included \
76 + --with-messaging-menu=no \
77 + --with-indicate=no \
78 + $(use_enable debug) \
79 + $(use_enable gtk frontend-gnome) \
80 + $(use_enable nls) \
81 + $(use_with libnotify notify) \
82 + $(use_with spell gtkspell)
83 +
84 + touch README
85 +}
86 +
87 +src_compile() {
88 + default
89 +}
90 +
91 +src_install() {
92 + default
93 + # desktop icon is installed with /usr/share/applications/smuxi-frontend-gnome.desktop
94 +}
95 +
96 +pkg_postinst() {
97 + gnome2_icon_cache_update
98 +}
99 +
100 +pkg_postrm() {
101 + gnome2_icon_cache_update
102 +}