commit:     73c55a1afea38d8139ed073379989b16e7bc2532
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  4 23:19:47 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Jan  4 23:35:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c55a1a

games-mud/gnome-mud-9999: update to meson

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 games-mud/gnome-mud/gnome-mud-9999.ebuild | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/games-mud/gnome-mud/gnome-mud-9999.ebuild 
b/games-mud/gnome-mud/gnome-mud-9999.ebuild
index 041f91f4097..74f0b7fda2a 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
 }

Reply via email to