games-board/xmahjongg - 3.7 (gentoo)

Search

Install

Install this version:

emerge -a =games-board/xmahjongg-3.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-board/xmahjongg-3.7

Or alternatively:

emerge --autounmask-write -a =games-board/xmahjongg-3.7

Package Information

Description:
Friendly GUI version of xmahjongg
Homepage:
https://www.lcdf.org/xmahjongg/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
3.7 8 ~amd64 ~mips ~x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools desktop

DESCRIPTION="Friendly GUI version of xmahjongg"
HOMEPAGE="https://www.lcdf.org/xmahjongg/"
SRC_URI="https://www.lcdf.org/xmahjongg/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~mips ~x86"

RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}
	x11-libs/libXt"

PATCHES=(
	"${FILESDIR}"/${P}-autotools.patch
	"${FILESDIR}"/${P}-drop-register-keyword.patch
)

src_prepare() {
	default
	mv configure.{in,ac} || die
	eautoreconf
}

src_install() {
	default

	newicon share/tiles/small.gif ${PN}.gif
	make_desktop_entry xmahjongg "Xmahjongg" /usr/share/pixmaps/${PN}.gif
}

Inherited Eclasses

Dependencies

DEPEND

x11-libs/libX11
	x11-libs/libXt

RDEPEND

x11-libs/libX11

Manifest for 3.7

Type File Size Source URLs
DIST xmahjongg-3.7.tar.gz 551834 bytes https://www.lcdf.org/xmahjongg/xmahjongg-3.7.tar.gz