-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games/libretro-shaders-slang: udpate g20231023 → g20240719
Changes to the port: - take maintainership - update COMMENT and pkg-descr to point out that the shaders originate from the libretro project but that they can also be used for other projects, e.g. librashader - update LICENSE in accordance to libretro/slang-shaders#150 (it's actual unclear which shader has which license for the most part) - add DOCS option which handles README.md - update files/patch-Makefile to also delete Makefile.orig, or else it will be listed in pkg-plist Comparing changes: https://github.com/libretro/slang-shaders/compare/3c28137..7d6751a PR: 280439
- Loading branch information
Showing
5 changed files
with
441 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,33 @@ | ||
PORTNAME= libretro-shaders-slang | ||
DISTVERSION= g20231023 | ||
DISTVERSION= g20240719 | ||
CATEGORIES= games | ||
|
||
MAINTAINER= ports@FreeBSD.org | ||
COMMENT= Collection of slang (Vulkan) shaders for libretro | ||
MAINTAINER= bsdcode@disroot.org | ||
COMMENT= Collection of slang shaders from libretro | ||
WWW= https://github.com/libretro/slang-shaders | ||
|
||
LICENSE= GPLv3 | ||
# https://github.com/libretro/slang-shaders/issues/150 | ||
LICENSE= GPLv1+ GPLv2+ GPLv3+ MIT PD | ||
LICENSE_COMB= multi | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= libretro | ||
GH_PROJECT= slang-shaders | ||
GH_TAGNAME= 3c281372a31e7cc72fdbea699dc09047439386ce | ||
GH_TAGNAME= 7d6751a | ||
|
||
PORTDOCS= README.md | ||
|
||
OPTIONS_DEFINE= DOCS | ||
|
||
# DOCS files are "in-tree", therefore we must handle them in pre-install | ||
# targets instead of the more commonly used post-install targets, and | ||
# they must be deleted from the WRKSRC directory in any case. | ||
pre-install-DOCS-on: | ||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} | ||
${RM} ${WRKSRC}/README.md | ||
|
||
pre-install-DOCS-off: | ||
${RM} ${WRKSRC}/README.md | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1698244349 | ||
SHA256 (libretro-slang-shaders-g20231023-3c281372a31e7cc72fdbea699dc09047439386ce_GH0.tar.gz) = dae90d05d13bcab6cbc59fcd9735ff2d0fbc5593615e902f3db626d0cf9cb9eb | ||
SIZE (libretro-slang-shaders-g20231023-3c281372a31e7cc72fdbea699dc09047439386ce_GH0.tar.gz) = 60730528 | ||
TIMESTAMP = 1721901450 | ||
SHA256 (libretro-slang-shaders-g20240719-7d6751a_GH0.tar.gz) = 1b25137b375b94172a70f24e2eeb7cd11f201983f292d130dc052ad5dfd899f6 | ||
SIZE (libretro-slang-shaders-g20240719-7d6751a_GH0.tar.gz) = 44089441 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
--- Makefile.orig 2018-04-06 18:44:11 UTC | ||
--- Makefile.orig 2024-07-25 10:09:23 UTC | ||
+++ Makefile | ||
@@ -1,4 +1,4 @@ | ||
-PREFIX := /usr | ||
+PREFIX ?= /usr | ||
INSTALLDIR := $(PREFIX)/share/libretro/shaders/shaders_slang | ||
|
||
all: | ||
@@ -6,7 +6,7 @@ all: | ||
@@ -6,8 +6,8 @@ install: | ||
|
||
install: | ||
mkdir -p $(DESTDIR)$(INSTALLDIR) | ||
mkdir -p $(DESTDIR)$(INSTALLDIR) | ||
- cp -ar -t $(DESTDIR)$(INSTALLDIR) * | ||
- rm -f $(DESTDIR)$(INSTALLDIR)/Makefile \ | ||
+ cp -a * $(DESTDIR)$(INSTALLDIR) | ||
rm -f $(DESTDIR)$(INSTALLDIR)/Makefile \ | ||
$(DESTDIR)$(INSTALLDIR)/configure | ||
+ rm -f $(DESTDIR)$(INSTALLDIR)/Makefile* \ | ||
$(DESTDIR)$(INSTALLDIR)/configure | ||
|
||
test-install: all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
Vulkan GLSL RetroArch shader system | ||
This is a collection of the slang (Vulkan GLSL) shaders from the libretro | ||
project. Every program or library implementing the RetroArch shader pipeline can | ||
use these shaders. RetroArch and librashader are two examples of those projects. |
Oops, something went wrong.