-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
packages/atoms/gnome-games/games-board/stockfish/build.yaml
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
prelude: | ||
- |- | ||
export FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" && \ | ||
export JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} && \ | ||
eval 'mkdir -p /var/cache/portage/distfiles || true' && \ | ||
chown portage:portage -R /var/cache/portage/ && \ | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ | ||
{{- else }} | ||
emerge -j ${JOBS} {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ | ||
{{- end }} | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- else }} | ||
emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- end }} | ||
- export LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" && export LUET_PORTAGE_IGNORE_TAR_WARNING=1 | ||
&& export LUET_PORTAGE_PKGMETA=1 && export LUET_PORTAGE_PKGFILES=1 && eval 'rm -rf | ||
/pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage --dir /pkgdir/{{ | ||
.Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} && eval 'rm -v | ||
/var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true' | ||
package_dir: /pkgdir/{{ .Values.name }} | ||
excludes: | ||
- ^/var/cache/portage/ | ||
- ^/var/git/ | ||
requires: | ||
- name: sjeng | ||
version: '>=0' | ||
category: games-board |
23 changes: 23 additions & 0 deletions
23
packages/atoms/gnome-games/games-board/stockfish/definition.yaml
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: stockfish | ||
version: "10" | ||
category: games-board | ||
annotations: | ||
subsets: | ||
rules: | ||
devel: | ||
- ^/usr/include/ | ||
portage: | ||
- ^/var/db/pkg/ | ||
description: Free UCI chess engine, claimed to be the strongest in the world | ||
uri: | ||
- https://stockfishchess.org/ | ||
license: GPL-3 | ||
labels: | ||
DEPEND: '|| ( app-arch/unzip app-arch/zip )' | ||
IUSE: armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug general-32 | ||
general-64 +optimize | ||
emerge.packages: games-board/stockfish | ||
kit: games-kit | ||
original.package.name: games-board/stockfish | ||
original.package.slot: "0" | ||
original.package.version: "10" |