84 lines
1.6 KiB
YAML
84 lines
1.6 KiB
YAML
id: "ec"
|
|
aliases:
|
|
- "ecere"
|
|
- "ecp"
|
|
- "ecs"
|
|
- "ecc"
|
|
name: "eC"
|
|
|
|
install:
|
|
prepare:
|
|
apt:
|
|
- libasound2-dev
|
|
- libcurl4-openssl-dev
|
|
- libfontconfig1-dev
|
|
- libgif-dev
|
|
- libgl-dev
|
|
- libglx-dev
|
|
- libjpeg-dev
|
|
- libpng-dev
|
|
- libsqlite3-dev
|
|
- libssl-dev
|
|
- libxext-dev
|
|
- libxrender-dev
|
|
apt:
|
|
- libfontconfig1
|
|
- libfreetype6
|
|
- libgif7
|
|
- libgl1
|
|
- libjpeg-turbo8
|
|
- libpng16-16
|
|
- libxrender1
|
|
files:
|
|
"/opt/ec/skel/main.epj": |
|
|
{
|
|
"Version": 0.2,
|
|
"ModuleName": "main",
|
|
"Options": {
|
|
"Warnings": "All",
|
|
"TargetType": "Executable",
|
|
"TargetFileName": "main",
|
|
"Libraries": ["ecere"]
|
|
},
|
|
"Configurations": [
|
|
{
|
|
"Name": "Release",
|
|
"Options": {
|
|
"Debug": false,
|
|
"Optimization": "Speed",
|
|
"FastMath": true
|
|
}
|
|
}
|
|
],
|
|
"Files": ["main.ec"],
|
|
"ResourcesPath": "",
|
|
"Resources": []
|
|
}
|
|
# Release 0.44.15 failed to compile with "multiple definition"
|
|
# errors from ld, so use the master branch instead.
|
|
manual: |
|
|
git clone https://github.com/ecere/ecere-sdk.git
|
|
pushd ecere-sdk
|
|
make
|
|
make install prefix="${pkg}/usr/local"
|
|
popd
|
|
|
|
main: "main.ec"
|
|
template: |
|
|
class Main : Application
|
|
{
|
|
void Main()
|
|
{
|
|
PrintLn("Hello, world!");
|
|
}
|
|
}
|
|
|
|
setup: |
|
|
cp -R /opt/ec/skel/* "$PWD/"
|
|
epj2make -o Makefile main.epj >/dev/null
|
|
|
|
compile: |
|
|
make LD_LIBRARY_PATH=/usr/local/lib/ec
|
|
run: |
|
|
./obj/release.linux/main
|