Install this version:
emerge -a =games-board/xfreecell-1.0.5b
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-board/xfreecell-1.0.5b
Or alternatively:
emerge --autounmask-write -a =games-board/xfreecell-1.0.5b
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop toolchain-funcs
DESCRIPTION="A freecell game for X"
HOMEPAGE="http://www2.giganet.net/~nakayama/"
SRC_URI="http://www2.giganet.net/~nakayama/${P}.tgz
http://www2.giganet.net/~nakayama/MSNumbers.gz
https://dev.gentoo.org/~dilfridge/distfiles/${P}-gcc6.patch.xz"
S="${WORKDIR}"/${PN}
LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
RDEPEND="
media-fonts/font-misc-misc
x11-libs/libXext
"
DEPEND="
${RDEPEND}
x11-base/xorg-proto
"
PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-gcc43.patch
"${WORKDIR}"/${P}-gcc6.patch
"${FILESDIR}"/${P}-ar-ranlib.patch
)
src_configure() {
tc-export AR CXX RANLIB
}
src_install() {
dobin xfreecell
insinto /usr/share/${PN}
doins "${WORKDIR}"/MSNumbers
dodoc CHANGES README mshuffle.txt
doman xfreecell.6
make_desktop_entry xfreecell XFreecell
}
pkg_postinst() {
einfo "Remember to restart X if this is the first time you've installed media-fonts/font-misc-misc"
}
media-fonts/font-misc-misc x11-libs/libXext x11-base/xorg-proto
media-fonts/font-misc-misc x11-libs/libXext
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | MSNumbers.gz | 1212278 bytes | http://www2.giganet.net/~nakayama/MSNumbers.gz |
| DIST | xfreecell-1.0.5b-gcc6.patch.xz | 18888 bytes | https://dev.gentoo.org/~dilfridge/distfiles/xfreecell-1.0.5b-gcc6.patch.xz |
| DIST | xfreecell-1.0.5b.tgz | 49367 bytes | http://www2.giganet.net/~nakayama/xfreecell-1.0.5b.tgz |