x11-terms/terminology: fix xdg_environment_reset for 1.2.1
authorJoonas Niilola <juippis@gmail.com>
Thu, 17 May 2018 05:12:10 +0000 (08:12 +0300)
committerAaron Bauman <bman@gentoo.org>
Sun, 20 May 2018 00:36:09 +0000 (20:36 -0400)
Reported by Toralf Förster
Closes: https://bugs.gentoo.org/655902
Package-Manager: Portage[mgorny]-2.3.36.1
Closes: https://github.com/gentoo/gentoo/pull/8439

x11-terms/terminology/terminology-1.2.1.ebuild

index 30208be73e720783da18952d9beeb9a91faac9e7..dfc6458bbd59a78be9d282368ee2d9da71ea84a6 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit meson
+inherit meson xdg-utils
 
 DESCRIPTION="Feature rich terminal emulator using the Enlightenment Foundation Libraries"
 HOMEPAGE="https://www.enlightenment.org/about-terminology"
@@ -21,6 +21,12 @@ DEPEND="
        nls? ( sys-devel/gettext )
 "
 
+src_prepare() {
+       default
+
+       xdg_environment_reset
+}
+
 src_configure() {
        local emesonargs=(
                -D nls=$(usex nls true false)