pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libretro-glsl-shaders: Install stock shaders



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Mon Jun 12 16:01:54 2017 +0100
Changeset:	808ac720141f91615a804f2588fa0ff728b3af29

Modified Files:
	libretro-glsl-shaders/Makefile
	libretro-glsl-shaders/PLIST

Log Message:
libretro-glsl-shaders: Install stock shaders

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=808ac720141f91615a804f2588fa0ff728b3af29

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libretro-glsl-shaders/Makefile | 7 +++++++
 libretro-glsl-shaders/PLIST    | 2 ++
 2 files changed, 9 insertions(+)

diffs:
diff --git a/libretro-glsl-shaders/Makefile b/libretro-glsl-shaders/Makefile
index 768f153b12..4d07a5b270 100644
--- a/libretro-glsl-shaders/Makefile
+++ b/libretro-glsl-shaders/Makefile
@@ -123,11 +123,18 @@ SHADER_DIRS+=	xsal/shaders
 SHADER_DIRS+=	xsoft
 SHADER_DIRS+=	xsoft/shaders
 
+INSTALLATION_DIRS+=	share/libretro/shaders
 .for i in ${SHADER_DIRS}
 INSTALLATION_DIRS+=	share/libretro/shaders/${i}
 .endfor
 
 do-install:
+.for type in glsl glslp
+	if ${LS} -1 ${WRKSRC} | ${GREP} -q .${type}$$ ; then \
+	    ${INSTALL_DATA} ${WRKSRC}/*.${type} \
+	    ${DESTDIR}${PREFIX}/share/libretro/shaders ; \
+	fi
+.endfor
 .for dir in ${SHADER_DIRS}
 .for type in glsl glslp md png
 	if ${LS} -1 ${WRKSRC}/${dir} | ${GREP} -q .${type}$$ ; then \
diff --git a/libretro-glsl-shaders/PLIST b/libretro-glsl-shaders/PLIST
index 240f7905a3..5d5c0d2a6b 100644
--- a/libretro-glsl-shaders/PLIST
+++ b/libretro-glsl-shaders/PLIST
@@ -553,6 +553,8 @@ share/libretro/shaders/scalenx/shaders/scale3x.glsl
 share/libretro/shaders/scalenx/shaders/scale3xSFX.glsl
 share/libretro/shaders/sharpen/adaptive-sharpen.glslp
 share/libretro/shaders/sharpen/shaders/adaptive-sharpen.glsl
+share/libretro/shaders/slang-conversion-template.glsl
+share/libretro/shaders/stock.glsl
 share/libretro/shaders/windowed/jinc2-sharp.glslp
 share/libretro/shaders/windowed/jinc2-sharper.glslp
 share/libretro/shaders/windowed/jinc2.glslp


Home | Main Index | Thread Index | Old Index