games-puzzle/fbg - 0.9 (gentoo)

Search

Install

Install this version:

emerge -a =games-puzzle/fbg-0.9

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

autounmask =games-puzzle/fbg-0.9

Or alternatively:

emerge --autounmask-write -a =games-puzzle/fbg-0.9

Package Information

Description:
Tetris clone written in OpenGL
Homepage:
https://fbg.sourceforge.net/
License:
GPL-2

Ebuild Details

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

EAPI=8

inherit desktop

DESCRIPTION="Tetris clone written in OpenGL"
HOMEPAGE="https://fbg.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/fbg/${P}.tar.gz"

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

RDEPEND="
	dev-games/physfs
	media-libs/libmikmod
	media-libs/libsdl[opengl,video]
	virtual/glu
	virtual/opengl"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}"/${P}-missing-return.patch
)

src_prepare() {
	default

	sed -e "/FBGDATADIR=/s|=.*|=\"${EPREFIX}/usr/share/${PN}\"|" \
		-e '/^datadir=/d' \
		-i configure || die
}

src_configure() {
	econf --disable-fbglaunch --without-x
}

src_install() {
	default

	newicon startfbg/icon.xpm ${PN}.xpm
	make_desktop_entry ${PN} "Falling Block Game"

	rm -r "${ED}"/usr/doc || die
}

Inherited Eclasses

Dependencies

DEPEND

	dev-games/physfs
	media-libs/libmikmod
	media-libs/libsdl[opengl,video]
	virtual/glu
	virtual/opengl

RDEPEND

	dev-games/physfs
	media-libs/libmikmod
	media-libs/libsdl[opengl,video]
	virtual/glu
	virtual/opengl

Manifest for 0.9

Type File Size Source URLs
DIST fbg-0.9.tar.gz 1127384 bytes https://downloads.sourceforge.net/fbg/fbg-0.9.tar.gz