Added support for juergen/pixelfoo
This commit is contained in:
parent
e6bf90667d
commit
d941445ad9
15
config.py
15
config.py
@ -29,13 +29,16 @@ Apps = [
|
||||
{"guiname": "Strobo", "name": "strobo", "cmd": "apps/strobo.py"},
|
||||
{"guiname": "Beispiel", "name": "example", "cmd": "apps/example.py"},
|
||||
|
||||
|
||||
#{"guiname": "Colored noise", "name": "cnoise", "cmd": "apps/cnoise", "persistent": False},
|
||||
#{"guiname": "Dual Moodlight", "name": "bimood", "cmd": "apps/bimood", "persistent": False},
|
||||
#{"guiname": "Maze", "name": "maze", "cmd": "apps/maze", "persistent": False},
|
||||
#{"guiname": "Dual Maze", "name": "dualmaze", "cmd": "apps/dualmaze", "persistent": False, "persistent": False},
|
||||
# juergen/pixelfoo
|
||||
{"guiname": "Colored noise", "name": "cnoise", "cmd": "apps/cnoise", "persistent": False},
|
||||
{"guiname": "Dual Moodlight", "name": "bimood", "cmd": "apps/bimood", "persistent": False},
|
||||
{"guiname": "Maze", "name": "maze", "cmd": "apps/maze", "persistent": False},
|
||||
{"guiname": "Dual Maze", "name": "dualmaze", "cmd": "apps/dualmaze", "persistent": False, "persistent": False},
|
||||
{"guiname": "Predator & Prey", "name": "predprey", "cmd": "apps/predprey", "persistent": False},
|
||||
|
||||
|
||||
#{"guiname": "Fibonacci Clock", "name": "fibonacci-clock", "cmd": "apps/fibonacci-clock.py"},
|
||||
#{"guiname": "Predator & Prey", "name": "predprey", "cmd": "apps/predprey", "persistent": False},
|
||||
|
||||
#{"guiname": "Stream", "name": "stream", "cmd": "apps/stream.sh", "persistent": False},
|
||||
#{"guiname": "Wget Video/Gif/Images", "name": "wget", "cmd": "apps/wget.sh", "persistent": False},
|
||||
#{"guiname": "Tetris", "name": "tetris", "cmd": "apps/deckentetris/deckentetris.py", "persistent": False},
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
|
||||
# Set executable attributes
|
||||
echo "Setting Attributes for script"
|
||||
chmod +x apps/pong.py
|
||||
chmod +x apps/swifthohenberg.py
|
||||
chmod +x apps/strobo.py
|
||||
@ -9,12 +9,35 @@ chmod +x apps/example.py
|
||||
chmod +x apps/youtubedl.sh
|
||||
|
||||
|
||||
# build c apps
|
||||
echo "Building c/c++ apps"
|
||||
mkdir -p build/c
|
||||
pushd build/c
|
||||
cmake ../../apps/c-src
|
||||
make
|
||||
popd
|
||||
mv build/c/fbcp apps/
|
||||
mv build/c/flicker apps/
|
||||
mv build/c/pixelflut apps/
|
||||
mv -f build/c/fbcp apps/
|
||||
mv -f build/c/flicker apps/
|
||||
mv -f build/c/pixelflut apps/
|
||||
|
||||
if hash cargo 2>/dev/null; then
|
||||
echo "Building juergen/pixelfoo"
|
||||
# get juergens apps
|
||||
mkdir -p external
|
||||
pushd external
|
||||
if [ ! -d "pixelfoo" ]; then
|
||||
git clone https://git.chaospott.de/juergen/pixelfoo.git
|
||||
fi
|
||||
pushd pixelfoo
|
||||
git pull
|
||||
cargo build --release
|
||||
popd
|
||||
popd
|
||||
|
||||
cp -f external/pixelfoo/target/release/cnoise apps/
|
||||
cp -f external/pixelfoo/target/release/bimood apps/
|
||||
cp -f external/pixelfoo/target/release/predprey apps/
|
||||
cp -f external/pixelfoo/target/release/maze apps/
|
||||
cp -f external/pixelfoo/target/release/dualmaze apps/
|
||||
fi
|
||||
|
||||
echo "Setup done"
|
Loading…
Reference in New Issue
Block a user