games-puzzle/gtkballs - 3.1.5 (gentoo)

Search

Install

Install this version:

emerge -a =games-puzzle/gtkballs-3.1.5

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

autounmask =games-puzzle/gtkballs-3.1.5

Or alternatively:

emerge --autounmask-write -a =games-puzzle/gtkballs-3.1.5

Package Information

Description:
An entertaining game based on the old DOS game lines
Homepage:
http://gtkballs.antex.ru/
License:
GPL-2+

Ebuild Details

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

EAPI=8

inherit desktop

DESCRIPTION="An entertaining game based on the old DOS game lines"
HOMEPAGE="http://gtkballs.antex.ru/"
SRC_URI="http://gtkballs.antex.ru/dist/${P}.tar.gz"

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

RDEPEND="
	x11-libs/gtk+:2
	nls? ( virtual/libintl )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
	nls? ( >=sys-devel/gettext-0.10.38 )
"

src_prepare() {
	default
	sed -i \
		-e '/^nlsdir=/s:=.*:=/usr/share/locale:' \
		-e '/^localedir/s:=.*:=/usr/share/locale:' \
		configure po/Makefile.in.in || die "sed locale failed"
}

src_configure() {
	econf $(use_enable nls)
}

src_install() {
	default
	newicon gnome-gtkballs.png ${PN}.png
	make_desktop_entry gtkballs "GTK Balls"
}

USE Flags

Manage flags for this package: euse -i <flag> -p games-puzzle/gtkballs | euse -E <flag> -p games-puzzle/gtkballs | euse -D <flag> -p games-puzzle/gtkballs

Global/Standard Flags

nls

Inherited Eclasses

Dependencies

DEPEND

	x11-libs/gtk+:2
	nls? ( virtual/libintl )

RDEPEND

	x11-libs/gtk+:2
	nls? ( virtual/libintl )

BDEPEND

virtual/pkgconfig
	nls? ( >=sys-devel/gettext-0.10.38 )

Manifest for 3.1.5

Type File Size Source URLs
DIST gtkballs-3.1.5.tar.gz 1176977 bytes http://gtkballs.antex.ru/dist/gtkballs-3.1.5.tar.gz