games-emulation/retroarch-assets - 1.22.0 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =games-emulation/retroarch-assets-1.22.0

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

autounmask =games-emulation/retroarch-assets-1.22.0

Or alternatively:

emerge --autounmask-write -a =games-emulation/retroarch-assets-1.22.0

Package Information

Description:
Assets needed for RetroArch. Also contains the official branding.
Homepage:
https://github.com/libretro/retroarch-assets
License:
CC-BY-4.0

Ebuild Details

Version EAPI Keywords Slot
1.22.0 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

LIBRETRO_REPO_NAME="libretro/${PN}"

DESCRIPTION="Assets needed for RetroArch. Also contains the official branding."
HOMEPAGE="https://github.com/libretro/retroarch-assets"

if [[ "${PV}" == *9999 ]]; then
	EGIT_REPO_URI="https://github.com/${LIBRETRO_REPO_NAME}.git"
	inherit git-r3
else
	SRC_URI="https://github.com/${LIBRETRO_REPO_NAME}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm64 ~x86"
fi

LICENSE="CC-BY-4.0"
SLOT="0"

IUSE="materialui ozone rgui xmb"

src_prepare() {
	default

	sed -i -e "s/libretro/retroarch/g" Makefile || die

	declare -A FLAGS=( [materialui]=glui [ozone]="" [rgui]="" [xmb]="" )
	for flag in "${!FLAGS[@]}"; do
		if ! use "${flag}"; then
			local folder="${FLAGS[$flag]:-$flag}"
			rm -r "${folder}" || die
		fi
	done
}

USE Flags

Manage flags for this package: euse -i <flag> -p games-emulation/retroarch-assets | euse -E <flag> -p games-emulation/retroarch-assets | euse -D <flag> -p games-emulation/retroarch-assets

Global/Standard Flags

xmb

Inherited Eclasses

Manifest for 1.22.0

Type File Size Source URLs
DIST retroarch-assets-1.22.0.tar.gz 219257805 bytes https://github.com/libretro/retroarch-assets/archive/refs/tags/v1.22.0.tar.gz