From 73c55a1afea38d8139ed073379989b16e7bc2532 Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <leio@gentoo.org>
Date: Sat, 5 Jan 2019 01:19:47 +0200
Subject: games-mud/gnome-mud-9999: update to meson

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
---
 games-mud/gnome-mud/gnome-mud-9999.ebuild | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

(limited to 'games-mud/gnome-mud')

diff --git a/games-mud/gnome-mud/gnome-mud-9999.ebuild b/games-mud/gnome-mud/gnome-mud-9999.ebuild
index 041f91f40974..74f0b7fda2a8 100644
--- a/games-mud/gnome-mud/gnome-mud-9999.ebuild
+++ b/games-mud/gnome-mud/gnome-mud-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 GNOME2_EAUTORECONF="yes"
 
-inherit gnome2 git-r3
+inherit gnome2-utils git-r3 meson xdg
 
 DESCRIPTION="GNOME MUD client"
 HOMEPAGE="https://wiki.gnome.org/Apps/GnomeMud"
@@ -18,29 +18,32 @@ IUSE="debug gstreamer"
 
 RDEPEND="
 	>=dev-libs/glib-2.48:2
-	>=x11-libs/gtk+-3.4.0:3
+	>=x11-libs/gtk+-3.10:3
 	>=x11-libs/vte-0.37:2.91
 	dev-libs/libpcre
 	sys-libs/zlib
 	gstreamer? ( media-libs/gstreamer:1.0 )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig
-	app-text/rarian
-	>=dev-util/intltool-0.35.0
-	>=sys-devel/gettext-0.11.5"
+	>=sys-devel/gettext-0.19.8"
 
 src_configure() {
-	gnome2_src_configure \
-		--enable-mccp \
-		$(use_enable gstreamer) \
-		$(use_enable debug debug-logger)
+	local emesonargs=(
+		-Dmccp=enabled
+		-Dgstreamer=$(usex gstreamer enabled disabled)
+		$(meson_use debug debug-logger)
+	)
+	meson_src_configure
 }
 
-src_install() {
-	DOCS="AUTHORS BUGS ChangeLog NEWS README ROADMAP" \
-		gnome2_src_install
+pkg_postinst() {
+	xdg_pkg_postinst
+	gnome2_icon_cache_update
+	gnome2_schemas_update
 }
 
-pkg_preinst() {
-	gnome2_pkg_preinst
+pkg_postrm() {
+	xdg_pkg_postrm
+	gnome2_icon_cache_update
+	gnome2_schemas_update
 }
-- 
cgit v1.2.3-65-gdbad