summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Kylie McClain <somasis@exherbo.org> 2016-05-14 14:30:29 -0400
committerAvatar Kylie McClain <somasis@exherbo.org> 2016-05-14 15:11:06 -0400
commitb6018b7541d54ee441ef0690bc77ccf3c0b2d828 (patch)
tree757e97cf54a0f3bd8d62ba0a595445eaf16e325f
parent19f5f9df07b7c1fda205c1b69b5a95def64e4a82 (diff)
downloadgames-b6018b7541d54ee441ef0690bc77ccf3c0b2d828.tar.gz
games-b6018b7541d54ee441ef0690bc77ccf3c0b2d828.tar.xz
the-powder-toy: initial exheres, 91.3.328
-rw-r--r--packages/games-simulation/the-powder-toy/files/icons/128x128/apps/the-powder-toy.pngbin0 -> 19809 bytes
-rw-r--r--packages/games-simulation/the-powder-toy/files/icons/16x16/apps/the-powder-toy.pngbin0 -> 349 bytes
-rw-r--r--packages/games-simulation/the-powder-toy/files/icons/24x24/apps/the-powder-toy.pngbin0 -> 681 bytes
-rw-r--r--packages/games-simulation/the-powder-toy/files/icons/256x256/apps/the-powder-toy.pngbin0 -> 58118 bytes
-rw-r--r--packages/games-simulation/the-powder-toy/files/icons/32x32/apps/the-powder-toy.pngbin0 -> 1140 bytes
-rw-r--r--packages/games-simulation/the-powder-toy/files/icons/48x48/apps/the-powder-toy.pngbin0 -> 2242 bytes
-rw-r--r--packages/games-simulation/the-powder-toy/files/icons/64x64/apps/the-powder-toy.pngbin0 -> 6310 bytes
-rw-r--r--packages/games-simulation/the-powder-toy/files/icons/96x96/apps/the-powder-toy.pngbin0 -> 12200 bytes
-rw-r--r--packages/games-simulation/the-powder-toy/files/the-powder-toy.desktop10
-rw-r--r--packages/games-simulation/the-powder-toy/the-powder-toy-91.3.328.exheres-079
10 files changed, 89 insertions, 0 deletions
diff --git a/packages/games-simulation/the-powder-toy/files/icons/128x128/apps/the-powder-toy.png b/packages/games-simulation/the-powder-toy/files/icons/128x128/apps/the-powder-toy.png
new file mode 100644
index 0000000..7bc20f3
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/files/icons/128x128/apps/the-powder-toy.png
Binary files differ
diff --git a/packages/games-simulation/the-powder-toy/files/icons/16x16/apps/the-powder-toy.png b/packages/games-simulation/the-powder-toy/files/icons/16x16/apps/the-powder-toy.png
new file mode 100644
index 0000000..0197658
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/files/icons/16x16/apps/the-powder-toy.png
Binary files differ
diff --git a/packages/games-simulation/the-powder-toy/files/icons/24x24/apps/the-powder-toy.png b/packages/games-simulation/the-powder-toy/files/icons/24x24/apps/the-powder-toy.png
new file mode 100644
index 0000000..8bc4a49
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/files/icons/24x24/apps/the-powder-toy.png
Binary files differ
diff --git a/packages/games-simulation/the-powder-toy/files/icons/256x256/apps/the-powder-toy.png b/packages/games-simulation/the-powder-toy/files/icons/256x256/apps/the-powder-toy.png
new file mode 100644
index 0000000..de24865
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/files/icons/256x256/apps/the-powder-toy.png
Binary files differ
diff --git a/packages/games-simulation/the-powder-toy/files/icons/32x32/apps/the-powder-toy.png b/packages/games-simulation/the-powder-toy/files/icons/32x32/apps/the-powder-toy.png
new file mode 100644
index 0000000..fc81a42
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/files/icons/32x32/apps/the-powder-toy.png
Binary files differ
diff --git a/packages/games-simulation/the-powder-toy/files/icons/48x48/apps/the-powder-toy.png b/packages/games-simulation/the-powder-toy/files/icons/48x48/apps/the-powder-toy.png
new file mode 100644
index 0000000..eb53b1d
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/files/icons/48x48/apps/the-powder-toy.png
Binary files differ
diff --git a/packages/games-simulation/the-powder-toy/files/icons/64x64/apps/the-powder-toy.png b/packages/games-simulation/the-powder-toy/files/icons/64x64/apps/the-powder-toy.png
new file mode 100644
index 0000000..e7fc3e9
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/files/icons/64x64/apps/the-powder-toy.png
Binary files differ
diff --git a/packages/games-simulation/the-powder-toy/files/icons/96x96/apps/the-powder-toy.png b/packages/games-simulation/the-powder-toy/files/icons/96x96/apps/the-powder-toy.png
new file mode 100644
index 0000000..1fdb128
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/files/icons/96x96/apps/the-powder-toy.png
Binary files differ
diff --git a/packages/games-simulation/the-powder-toy/files/the-powder-toy.desktop b/packages/games-simulation/the-powder-toy/files/the-powder-toy.desktop
new file mode 100644
index 0000000..a89d222
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/files/the-powder-toy.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=The Powder Toy
+GenericName="Falling Sand" physics sandbox
+Comment=A physics sandbox, simulating different materials and elements
+Exec=the-powder-toy
+Icon=the-powder-toy
+Type=Application
+Terminal=0
+Categories=Game;Simulation
diff --git a/packages/games-simulation/the-powder-toy/the-powder-toy-91.3.328.exheres-0 b/packages/games-simulation/the-powder-toy/the-powder-toy-91.3.328.exheres-0
new file mode 100644
index 0000000..19f3983
--- /dev/null
+++ b/packages/games-simulation/the-powder-toy/the-powder-toy-91.3.328.exheres-0
@@ -0,0 +1,79 @@
+# Copyright 2016 Kylie McClain <somasis@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require gtk-icon-cache flag-o-matic scons
+require lua [ whitelist='5.1 5.2' with_opt=true ]
+require github [ user='simtr' pn="The-Powder-Toy" tag="v${PV}" ]
+
+SUMMARY="Falling sand physics sandbox, simulating air pressure, velocity, heat, and other interactions"
+SLOT="0"
+LICENCES="GPL-3"
+
+# OpenGL isn't recommended by upstream at this point in time
+
+MYOPTIONS="
+ platform:
+ amd64
+"
+# opengl
+
+PLATFORMS="~amd64"
+
+DEPENDENCIES="
+ build+run:
+ sci-libs/fftw
+ media-libs/SDL:0
+ x11-libs/libX11
+ lua? ( dev-lang/LuaJIT )
+"
+# opengl? (
+# media-libs/glew
+# x11-dri/mesa
+# x11-dri/glu
+# )
+
+src_prepare() {
+ default
+ edo sed \
+ -e "s|pkg-config|${PKG_CONFIG}|" \
+ -i SConscript
+}
+
+# f scons
+src_configure() { :; }
+
+src_compile() {
+ escons \
+ --jobs ${EXJOBS:-1} \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ --lin \
+ --release \
+ --tool=$(exhost --tool-prefix) \
+ --output="the-powder-toy" \
+ --save-version=$(ever range 1) \
+ --minor-version=$(ever range 2) \
+ --build-number=$(ever range 3) \
+ $(option platform:amd64 --64bit) \
+ $(option lua --luajit --nolua) \
+ $(option lua_abis:5.2 --lua52) \
+ $(if [[ "$(get-flag -mtune)" == native ]];then
+ echo "--native"
+ else
+ echo "--no-sse"
+ fi)
+# $(option opengl --opengl) \
+# $(option opengl --opengl-renderer) \
+}
+
+src_install() {
+ insinto /usr/share/applications
+ doins "${FILES}"/the-powder-toy.desktop
+ insinto /usr/share/icons/hicolor
+ doins -r "${FILES}"/icons/*
+
+ dobin build/the-powder-toy
+ emagicdocs
+}
+