summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-01-05 01:19:47 +0200
committerMart Raudsepp <leio@gentoo.org>2019-01-05 01:35:29 +0200
commit73c55a1afea38d8139ed073379989b16e7bc2532 (patch)
tree83647d8b476b1d33288c9f0767b5fed396d3aeca /games-mud
parentdev-python/pallets-sphinx-themes: Add ~s390 keyword wrt bug #668990 (diff)
downloadgentoo-73c55a1afea38d8139ed073379989b16e7bc2532.tar.gz
gentoo-73c55a1afea38d8139ed073379989b16e7bc2532.tar.bz2
gentoo-73c55a1afea38d8139ed073379989b16e7bc2532.zip
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>
Diffstat (limited to 'games-mud')
-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 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
}