games-puzzle/lmarbles - 1.0.8 (gentoo)

Search

Install

Install this version:

emerge -a =games-puzzle/lmarbles-1.0.8

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

autounmask =games-puzzle/lmarbles-1.0.8

Or alternatively:

emerge --autounmask-write -a =games-puzzle/lmarbles-1.0.8

Package Information

Description:
Puzzle game inspired by Atomix and written in SDL
Homepage:
https://lgames.sourceforge.io/LMarbles/
License:
GPL-2+

Ebuild Details

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

EAPI=8

inherit desktop

DESCRIPTION="Puzzle game inspired by Atomix and written in SDL"
HOMEPAGE="https://lgames.sourceforge.io/LMarbles/"
SRC_URI="
	https://download.sourceforge.net/lgames/${P}.tar.gz
	https://distfiles.gentoo.org/pub/dev/ionen@gentoo.org/${PN}.png"

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

RDEPEND="
	acct-group/gamestat
	media-libs/libsdl[sound,video]
	media-libs/sdl-mixer"
DEPEND="${RDEPEND}"

HTML_DOCS=( src/manual/. )

src_configure() {
	econf --localstatedir="${EPREFIX}"/var/games
}

src_install() {
	default

	fowners :gamestat /usr/bin/${PN} /var/games/lmarbles.prfs
	fperms g+s /usr/bin/${PN}
	fperms 660 /var/games/lmarbles.prfs

	# gif format is not valid for XDG icons, and .desktop hardcodes icon path
	doicon "${DISTDIR}"/${PN}.png
	make_desktop_entry ${PN} LMarbles
	rm "${ED}"/usr/share/{applications/${PN}.desktop,icons/lmarbles48.gif} || die
}

Inherited Eclasses

Dependencies

DEPEND

	acct-group/gamestat
	media-libs/libsdl[sound,video]
	media-libs/sdl-mixer

RDEPEND

	acct-group/gamestat
	media-libs/libsdl[sound,video]
	media-libs/sdl-mixer

Manifest for 1.0.8

Type File Size Source URLs
DIST lmarbles-1.0.8.tar.gz 914238 bytes https://download.sourceforge.net/lgames/lmarbles-1.0.8.tar.gz
DIST lmarbles.png 3300 bytes https://distfiles.gentoo.org/pub/dev/ionen@gentoo.org/lmarbles.png