summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-mud/gnome-mud/gnome-mud-9999.ebuild31
1 files 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
}