Last active
October 19, 2022 16:12
-
-
Save son-link/74ea84be1128c67068d8bade7bc24676 to your computer and use it in GitHub Desktop.
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
# This file is very lightly modified from son-link's original version | |
# I have made a few changes to make it work with the jenkins build | |
version: 1 | |
script: | | |
rm -rf AppDir | |
mkdir AppDir | |
mkdir -p AppDir/usr/share/applications | |
cp net.speed_dreams.desktop AppDir/usr/share/applications/net.speed_dreams.desktop | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DSD_BINDIR=/usr/bin -DSD_DATADIR=/usr/share/speed-dreams-2 -DSD_LOCALDIR:STRING=~/.speed-dreams-2 -DSD_LIBDIR=/usr/lib/speed-dreams-2 -DOPTION_OFFICIAL_ONLY=ON -D OPTION_TRACKEDITOR=OFF .. | |
make install DESTDIR=AppDir | |
mkdir -p AppDir/usr/share/icons | |
install -m644 AppDir/usr/share/speed-dreams-2/data/icons/icon.svg AppDir/usr/share/icons/speed-dreams.svg | |
install -m 644 raceengine.xml AppDir/usr/share/speed-dreams-2/config/raceengine.xml | |
rm -r AppDir/usr/include | |
AppDir: | |
path: ./AppDir | |
app_info: | |
id: net.speed_dreams | |
name: speed-dreams | |
icon: speed-dreams | |
version: "latest-trunk" | |
exec: usr/bin/speed-dreams-2 | |
exec_args: "-dd '$APPDIR/usr/share/speed-dreams-2' -ld '$APPDIR/usr/lib/speed-dreams-2' $@" | |
apt: | |
arch: amd64 | |
allow_unauthenticated: true | |
sources: | |
- sourceline: deb http://es.archive.ubuntu.com/ubuntu/ focal main restricted | |
- sourceline: deb http://es.archive.ubuntu.com/ubuntu/ focal-updates main restricted | |
- sourceline: deb http://es.archive.ubuntu.com/ubuntu/ focal universe | |
- sourceline: deb http://es.archive.ubuntu.com/ubuntu/ focal-updates universe | |
- sourceline: deb http://es.archive.ubuntu.com/ubuntu/ focal multiverse | |
- sourceline: deb http://es.archive.ubuntu.com/ubuntu/ focal-updates multiverse | |
- sourceline: deb http://es.archive.ubuntu.com/ubuntu/ focal-backports main restricted | |
universe multiverse | |
- sourceline: deb http://security.ubuntu.com/ubuntu focal-security main restricted | |
- sourceline: deb http://security.ubuntu.com/ubuntu focal-security universe | |
- sourceline: deb http://security.ubuntu.com/ubuntu focal-security multiverse | |
include: | |
- libcurl3-gnutls | |
- libelf1 | |
- libenet7 | |
- libexpat1 | |
- libgcrypt20 | |
- libglu1-mesa | |
- libhogweed5 | |
- libjack-jackd2-0 | |
- libjpeg62 | |
- libllvm11 | |
- liblz4-1 | |
- liblzma5 | |
- libnss-mdns | |
- libopenal1 | |
- libplib1 | |
- libpng16-16 | |
- libsasl2-2 | |
- libsdl2-2.0-0 | |
- libsdl2-mixer-2.0-0 | |
- libsensors5 | |
- libsystemd0 | |
- libudev1 | |
- libvorbis0a | |
- libvorbisfile3 | |
- libwayland-egl1 | |
- libxau6 | |
- libxcb-sync1 | |
- libxdamage1 | |
- libxdmcp6 | |
- libxext6 | |
- libxfixes3 | |
- libxinerama1 | |
- libxrender1 | |
- libxshmfence1 | |
- libxss1 | |
- libxxf86vm1 | |
- libzstd1 | |
- libopengl0 | |
- libopenscenegraph160 | |
exclude: [] | |
files: | |
exclude: | |
- usr/share/man | |
- usr/share/doc/*/README.* | |
- usr/share/doc/*/changelog.* | |
- usr/share/doc/*/NEWS.* | |
- usr/share/doc/*/TODO.* | |
- usr/include | |
- usr/odbcinst | |
- usr/bin/sd2-* | |
AppImage: | |
arch: x86_64 | |
sign-key: None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment