Install this version:
emerge -a =games-puzzle/wizznic-400
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-puzzle/wizznic-400
Or alternatively:
emerge --autounmask-write -a =games-puzzle/wizznic-400
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop toolchain-funcs xdg
DESCRIPTION="Block-clearing puzzle game"
HOMEPAGE="http://wizznic.org/"
SRC_URI="https://downloads.sourceforge.net/wizznic/Wizznic_src_build_${PV}.tar.bz2"
S="${WORKDIR}/Wizznic_src_build_${PV}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="opengl"
DEPEND="
media-libs/libsdl[sound,joystick,opengl?,video]
media-libs/sdl-image[png]
media-libs/sdl-mixer[vorbis]
opengl? ( media-libs/libglvnd[X] )
"
RDEPEND="
${DEPEND}
"
src_compile() {
emake -f Makefile.linux \
DATADIR="${EPREFIX}/usr/share/${PN}/" \
WITH_OPENGL=$(usex opengl true false) \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS} -Wall -std=c99" \
LDFLAGS="${LDFLAGS}" \
STRIP=true
}
src_install() {
emake -f Makefile.linux \
DESTDIR="${ED}" \
DATADIR="/usr/share/${PN}/" \
BINDIR="/usr/bin" \
install
dodoc doc/{changelog,credits,media-licenses,ports,readme}.txt
newicon -s 32 data/wmicon.png ${PN}.png
make_desktop_entry ${PN} ${PN^}
}
Manage flags for this package:
euse -i <flag> -p games-puzzle/wizznic |
euse -E <flag> -p games-puzzle/wizznic |
euse -D <flag> -p games-puzzle/wizznic
media-libs/libsdl[sound,joystick,opengl?,video] media-libs/sdl-image[png] media-libs/sdl-mixer[vorbis] opengl? ( media-libs/libglvnd[X] )
media-libs/libsdl[sound,joystick,opengl?,video] media-libs/sdl-image[png] media-libs/sdl-mixer[vorbis] opengl? ( media-libs/libglvnd[X] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | Wizznic_src_build_400.tar.bz2 | 38064791 bytes | https://downloads.sourceforge.net/wizznic/Wizznic_src_build_400.tar.bz2 |