Ryan Fox
8541949537
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>
35 lines
740 B
Bash
35 lines
740 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_unpack() {
|
|
default
|
|
mv "${WORKDIR}/glslViewer-${PV}" "${WORKDIR}/${P}"
|
|
}
|
|
|
|
src_install() {
|
|
dobin "${S}/bin/glslScreenSaver"
|
|
dobin "${S}/bin/glslLoader"
|
|
dobin "${S}/bin/glslViewer"
|
|
}
|