1
0
flewkey-overlay/media-gfx/glslviewer/glslviewer-9999.ebuild
Ryan Fox 8541949537
media-gfx/glslviewer: New package
I feel like playing with shaders today.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2020-11-09 00:20:38 +00:00

30 lines
661 B
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/patriciogonzalezvivo/glslViewer/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/patriciogonzalezvivo/glslViewer.git"
fi
DESCRIPTION="Console-based sandbox for GLSL shaders"
HOMEPAGE="http://patriciogonzalezvivo.com/2015/glslViewer/"
LICENSE="BSD"
SLOT="0"
DEPEND="
media-libs/glfw
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
dobin "${S}/bin/glslScreenSaver"
dobin "${S}/bin/glslLoader"
dobin "${S}/bin/glslViewer"
}