| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 7 | 0 |
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit libretro git-r3
DESCRIPTION="glsl shaders converted by hand from libretro's common-shaders repo"
HOMEPAGE="https://github.com/libretro/glsl-shaders"
KEYWORDS=""
EGIT_REPO_URI="https://github.com/libretro/glsl-shaders"
LICENSE="GPL-3"
SLOT="0"
RDEPEND="!<=games-emulation/libretro-common-shaders-1"
DEPEND="${RDEPEND}"
src_install() {
dodir "${LIBRETRO_DATA_DIR}"/shaders
# Remove unnecessary git files
[[ ! ${PV} == "1.0_pre"* ]] && rm -r .git
cp -R "${S}"/* "${D}${LIBRETRO_DATA_DIR}"/shaders/
}
!<=games-emulation/libretro-common-shaders-1
!<=games-emulation/libretro-common-shaders-1