summaryrefslogtreecommitdiff
blob: 762658ae94b08a2c95e1dc848980888f761e7006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
GNOME_TARBALL_SUFFIX="bz2"
GNOME2_EAUTORECONF="yes"

inherit gnome2

DESCRIPTION="GNOME MUD client"
HOMEPAGE="https://wiki.gnome.org/Apps/GnomeMud"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86 ~x86-fbsd"
IUSE="gstreamer"

RDEPEND="virtual/libintl
	dev-libs/libpcre
	dev-perl/XML-Parser
	gnome-base/gconf:2
	>=gnome-base/libglade-2.0.1:2.0
	gstreamer? ( media-libs/gstreamer:1.0 )
	net-libs/gnet:2
	x11-libs/gtk+:2
	>=x11-libs/vte-0.11:0"
DEPEND="${RDEPEND}
	virtual/pkgconfig
	app-text/rarian
	>=dev-util/intltool-0.23
	>=sys-devel/gettext-0.11.5"

PATCHES=(
	"${FILESDIR}"/${PV}-telopts-reenable.patch #616000
	"${FILESDIR}"/${PV}-gst1.patch # Needs eautoreconf
)

src_configure() {
	gnome2_src_configure \
		$(use_enable gstreamer)
}

src_install() {
	DOCS="AUTHORS BUGS ChangeLog NEWS PLUGIN.API README ROADMAP" \
		gnome2_src_install
}

pkg_preinst() {
	gnome2_pkg_preinst
}

pkg_postinst() {
	gnome2_pkg_postinst
	echo
	elog "For proper plugin operation, please create ~/.gnome-mud/plugins/"
	elog "if that directory doesn't already exist."
	elog "The command to do that is:"
	elog "    mkdir -p ~/.gnome-mud/plugins/"
	echo
}