games-board/openriichi - 0.2.1.1 (guru)

Search

Install

Install this version:

emerge -a =games-board/openriichi-0.2.1.1

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

autounmask =games-board/openriichi-0.2.1.1

Or alternatively:

emerge --autounmask-write -a =games-board/openriichi-0.2.1.1

Package Information

Description:
OpenRiichi is an open source Japanese Mahjong client
Homepage:
https://github.com/FluffyStuff/OpenRiichi
License:
GPL-3

Ebuild Details

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

EAPI=8

inherit desktop flag-o-matic meson vala xdg

Engine_sha="e495846970a1b38d00c81a3f74568030f976ed31"
MY_PN="OpenRiichi"

DESCRIPTION="OpenRiichi is an open source Japanese Mahjong client"
HOMEPAGE="https://github.com/FluffyStuff/OpenRiichi"
SRC_URI="
	https://github.com/FluffyStuff/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/FluffyStuff/Engine/archive/${Engine_sha}.tar.gz -> ${P}-Engine.tar.gz
"
S="${WORKDIR}/${MY_PN}-${PV}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	$(vala_depend)
	dev-libs/libgee:0.8
	media-libs/glew:0
	media-libs/libsdl2[haptic,joystick,opengl,sound,video]
	media-libs/sdl2-image[jpeg,png,tiff,webp]
	media-libs/sdl2-mixer
	x11-libs/gtk+:3
	x11-libs/pango
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	default
	mv -T "${WORKDIR}/Engine-${Engine_sha}" "${S}/Engine" || die

	#switch vsync ON by default
	sed -i -e "s/v_sync = OnOffEnum.OFF/v_sync = OnOffEnum.ON/" "${S}/source/Game/Options.vala" || die

	# bugs 887645, 945214 (fix clang, gcc-{14.3.0,15.2.0} 'integer to pointer conversion' build error)
	append-cflags -Wno-int-conversion
	vala_setup
}

src_install() {
	meson_src_install

	newicon -s 64 "bin/Data/Icon.png" "${MY_PN}.png"
	make_desktop_entry "${MY_PN}" "${MY_PN}" "${MY_PN}" "Game;BoardGame"
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	$(vala_depend)
	dev-libs/libgee:0.8
	media-libs/glew:0
	media-libs/libsdl2[haptic,joystick,opengl,sound,video]
	media-libs/sdl2-image[jpeg,png,tiff,webp]
	media-libs/sdl2-mixer
	x11-libs/gtk+:3
	x11-libs/pango

RDEPEND

	$(vala_depend)
	dev-libs/libgee:0.8
	media-libs/glew:0
	media-libs/libsdl2[haptic,joystick,opengl,sound,video]
	media-libs/sdl2-image[jpeg,png,tiff,webp]
	media-libs/sdl2-mixer
	x11-libs/gtk+:3
	x11-libs/pango

BDEPEND

virtual/pkgconfig

Manifest for 0.2.1.1

Type File Size Source URLs
DIST openriichi-0.2.1.1-Engine.tar.gz 218488 bytes https://github.com/FluffyStuff/Engine/archive/e495846970a1b38d00c81a3f74568030f976ed31.tar.gz
DIST openriichi-0.2.1.1.tar.gz 43434864 bytes https://github.com/FluffyStuff/OpenRiichi/archive/v0.2.1.1.tar.gz