commit:     4a77d3442afbd30769a7b8f3ba0ad239f11d236d
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 29 16:58:48 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue Mar 29 16:59:06 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a77d344

games-board/xfreecell: make sure media-fonts/font-misc-misc is installed (bug 
#577178)

Package-Manager: portage-2.2.26

 games-board/xfreecell/xfreecell-1.0.5b.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/games-board/xfreecell/xfreecell-1.0.5b.ebuild 
b/games-board/xfreecell/xfreecell-1.0.5b.ebuild
index ed49c80..02af2cc 100644
--- a/games-board/xfreecell/xfreecell-1.0.5b.ebuild
+++ b/games-board/xfreecell/xfreecell-1.0.5b.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,7 +15,8 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc ppc64 x86"
 IUSE=""
 
-RDEPEND="x11-libs/libXext"
+RDEPEND="x11-libs/libXext
+       media-fonts/font-misc-misc"
 DEPEND="${RDEPEND}
        x11-proto/xextproto"
 
@@ -33,5 +34,11 @@ src_install() {
        doins "${WORKDIR}"/MSNumbers
        dodoc CHANGES README mshuffle.txt
        doman xfreecell.6
+       make_desktop_entry xfreecell XFreecell
        prepgamesdirs
 }
+
+pkg_postinst() {
+       games_pkg_postinst
+       einfo "Remember to restart X if this is the first time you've installed 
media-fonts/font-misc-misc"
+}

Reply via email to