games-action/violetland - 0.5 (gentoo)

Search

Install

Install this version:

emerge -a =games-action/violetland-0.5

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

autounmask =games-action/violetland-0.5

Or alternatively:

emerge --autounmask-write -a =games-action/violetland-0.5

Package Information

Description:
Help a girl named Violet in the struggle with hordes of monsters
Homepage:
https://violetland.github.io/
License:
GPL-3 CC-BY-SA-3.0

Ebuild Details

Version EAPI Keywords Slot
0.5 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 cmake desktop xdg

DESCRIPTION="Help a girl named Violet in the struggle with hordes of monsters"
HOMEPAGE="https://violetland.github.io/"
SRC_URI="https://github.com/ooxi/${PN}/releases/download/${PV}/${P}-source-with-dependencies.tar.gz"

LICENSE="GPL-3 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	dev-libs/boost:=
	media-libs/libglvnd
	media-libs/libsdl[opengl,sound,video]
	media-libs/sdl-image[png]
	media-libs/sdl-mixer[vorbis]
	media-libs/sdl-ttf
"

DEPEND="${RDEPEND}"

BDEPEND="
	sys-devel/gettext
"

PATCHES=(
	"${FILESDIR}"/${P}-boost1.8{5,9}.patch # bug 964390
	"${FILESDIR}"/${P}-cmake4.patch
)

src_prepare() {
	cmake_src_prepare

	# Bizarrely fcitx is only bundled for a CMake module to find libintl
	# but let's make sure the rest remains unused.
	rm -r lib/fcitx/src || die
}

src_configure() {
	local mycmakeargs=(
		-DDATA_INSTALL_DIR="${EPREFIX}/usr/share/${PN}"
		-DLOCALE_INSTALL_DIR=share/locale
	)

	cmake_src_configure
}

src_install() {
	cmake_src_install
	dodoc CHANGELOG.md CONTRIBUTORS.md

	# Remove duplicate READMEs.
	rm -r "${ED}"/usr/share/${PN}/README* || die

	newicon -s 64 icon-light.png ${PN}.png
	make_desktop_entry ${PN} Violetland
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	dev-libs/boost:=
	media-libs/libglvnd
	media-libs/libsdl[opengl,sound,video]
	media-libs/sdl-image[png]
	media-libs/sdl-mixer[vorbis]
	media-libs/sdl-ttf

RDEPEND

	dev-libs/boost:=
	media-libs/libglvnd
	media-libs/libsdl[opengl,sound,video]
	media-libs/sdl-image[png]
	media-libs/sdl-mixer[vorbis]
	media-libs/sdl-ttf

BDEPEND

	sys-devel/gettext

Manifest for 0.5

Type File Size Source URLs
DIST violetland-0.5-source-with-dependencies.tar.gz 11495885 bytes https://github.com/ooxi/violetland/releases/download/0.5/violetland-0.5-source-with-dependencies.tar.gz