Add makefile for linux build

This commit is contained in:
dariasteam 2018-04-11 14:44:40 +01:00
parent 59e63febf4
commit de4d2f3819
11 changed files with 154 additions and 5 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
*~
.directory
godot
build

28
Makefile Normal file
View file

@ -0,0 +1,28 @@
prefix ?= /usr/local
all:
echo "making"
mkdir -p build
cd build; git clone -b 2.1 --single-branch https://github.com/godotengine/godot || true
cd build/godot; git reset --hard a524cc92e7cccd012d028d870e4648c59473d04e
cd build/godot; scons -j `nproc` platform=server use_llvm=yes
cd build/godot; scons platform=x11 tools=no target=release_debug bits=64 use_llvm=yes -j `nproc`
mkdir -p ~/.godot/templates/
cp build/godot/bin/godot.x11.opt.debug.64.llvm ~/.godot/templates/linux_x11_64_release
build/godot/bin/godot_server.server.tools.64 -export "Linux X11" build/cowsrevenge
install:
mkdir -p $(prefix)/bin/
mkdir -p $(prefix)/share/applications/
mkdir -p $(prefix)/share/metainfo/
mkdir -p $(prefix)/share/icons/hicolor/64x64/apps/
mkdir -p $(prefix)/share/icons/hicolor/128x128/apps/
cp cowsrevenge $(prefix)/bin/
cp com.github.dariasteam.cowsrevenge.desktop $(prefix)/share/applications/
cp com.github.dariasteam.cowsrevenge.appdata.xml $(prefix)/share/metainfo/
cp cowsrevenge_icon_64.png $(prefix)/share/icons/hicolor/64x64/apps/com.github.dariasteam.cowsrevenge.png
cp cowsrevenge_icon_128.png $(prefix)/share/icons/hicolor/128x128/apps/com.github.dariasteam.cowsrevenge.png
clean:
rm -rf build

View file

@ -3387,7 +3387,6 @@ time = 1.0
[node name="fog_border" type="Sprite" parent="."]
visibility/visible = false
visibility/light_mask = 14
transform/pos = Vector2( -190, -2570 )
transform/scale = Vector2( 114.865, 2.36304 )

View file

@ -104,6 +104,4 @@ func load_game():
retro_effect = current_line["retro_effect"]
unlocked_levels = 100

View file

@ -212,8 +212,8 @@ user_permissions/6=""
user_permissions/7=""
user_permissions/8=""
user_permissions/9=""
version/code=4
version/name="1.0.3"
version/code=6
version/name="1.0.4"
[platform:BlackBerry 10]

9
linux_build/Makefile Normal file
View file

@ -0,0 +1,9 @@
# Makefile: A standard Makefile for hello.c
all: cowsrevenge
install:
cp cowsrevenge /usr/local/bin/
cp org.pipoypipagames.cowsrevenge.desktop /usr/share/applications
cp org.pipoypipagames.cowsrevenge.appdata.xml /usr/share/metainfo/
cp cowsrevenge_icon.png /usr/share/icons/hicolor/64x64/apps/

View file

@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2018 Daniel Darias -->
<component type="desktop-app">
<translation>
es
</translation>
<languages>
<lang percentage="100%">es</lang>
<lang percentage="100%">en</lang>
</languages>
<id>com.github.dariasteam.cowsrevenge.desktop</id>
<name>Cow's Revenge</name>
<name lang="es">Cow's Revenge</name>
<summary>Indie Platformer Pixel Art Game</summary>
<summary lang="es">Juego de plataformas indie con estética pixel art</summary>
<developer_name>Pipo y Pipa Games</developer_name>
<description>
<p>
You are a cow abducted and genetically improved by aliens which now have the
opportunity to rebel against livestock industry by freeing the encaged hens and
killing butchers. You used to be a regular cow raised as a dairy cow, but you
ain't that anymore. You have become better. You are... THE COWEST.
</p>
</description>
<description lang="es">
<p>
Eres una vaca que ha sido abducida y mejorada genéticamente por alienígenas que
ahora tiene la oprtunidad de rebelarse contra la industrica ganadera liberando a
las gallinas enjauladas y matando a los carniceros. Solías ser una vaca normal
y corriente criada como tal, pero esos tiempos quedaron atrás.
Ahora te has vuelto mejor. Ahora eres... THE COWEST.
</p>
</description>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0</project_license>
<url type="bugtracker">https://github.com/Dariasteam/Cows-Revenge/issues</url>
<url type="homepage">https://pipoypipagames.itch.io/cows-revenge</url>
<launchable type="desktop-id">com.github.dariasteam.cowsrevenge</launchable>
<provides>
<binary>cowsrevenge</binary>
</provides>
<keyword>game</keyword>
<keyword lang="es">game</keyword>
<keyword>platform</keyword>
<keyword>2D</keyword>
<keyword>pixelart</keyword>
<releases>
<release version="1.3" date="2018-04-9">
<description>
8 Playable levels
</description>
</release>
</releases>
<screenshots>
<screenshot type="default">
<caption>XXX: Describe another screenshot</caption>
<image>https://i.imgur.com/w2aFnSV.jpg</image>
</screenshot>
<screenshot>
<caption>XXX: Describe the default screenshot</caption>
<image>https://i.imgur.com/Ftj3Whe.png</image>
</screenshot>
</screenshots>
<update_contact>pipoypipagames@gmail.com</update_contact>
<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">intense</content_attribute>
<content_attribute id="violence-fantasy">intense</content_attribute>
<content_attribute id="violence-realistic">moderate</content_attribute>
<content_attribute id="violence-bloodshed">mild</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="language-profanity">mild</content_attribute>
<content_attribute id="language-humor">mild</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
</component>

View file

@ -0,0 +1,8 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Cow's Revenge
Exec=cowsrevenge
Icon=com.github.dariasteam.cowsrevenge
Type=Application
Categories=Game;
Comment=Indie Platformer Pixel Art Game

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB