muh working
This commit is contained in:
parent
b2f5f8e7d0
commit
2741e1afaa
|
@ -4,3 +4,4 @@ Name=discord-screenaudio
|
||||||
Exec=discord-screenaudio
|
Exec=discord-screenaudio
|
||||||
Icon=discord
|
Icon=discord
|
||||||
Terminal=false
|
Terminal=false
|
||||||
|
Categories=Audio;
|
||||||
|
|
|
@ -9,7 +9,7 @@ if [ ! -f /.dockerenv ]; then
|
||||||
echo "Error: Docker is not available."
|
echo "Error: Docker is not available."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
docker run --rm -v "$PWD":/work discord-screenaudio-buildenv bash /work/scripts/build-appimage.sh
|
docker run --rm -u $(id -u) -v "$PWD":/work discord-screenaudio-buildenv bash /work/scripts/build-appimage.sh
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -22,4 +22,4 @@ DESTDIR="$appdir" cmake --install "$builddir" --prefix "/usr"
|
||||||
mkdir -p "$appdir/usr/share/doc/libc6"
|
mkdir -p "$appdir/usr/share/doc/libc6"
|
||||||
touch "$appdir/usr/share/doc/libc6/copyright"
|
touch "$appdir/usr/share/doc/libc6/copyright"
|
||||||
|
|
||||||
linuxdeployqt "$appdir/usr/share/applications/discord-screenaudio.desktop" -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so -unsupported-allow-new-glibc
|
VERSION="$(cat version)" linuxdeployqt "$appdir/usr/share/applications/discord-screenaudio.desktop" -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so -unsupported-allow-new-glibc
|
||||||
|
|
|
@ -16,7 +16,7 @@ fi
|
||||||
echo "-> Installing dependencies with apt..."
|
echo "-> Installing dependencies with apt..."
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y curl build-essential qtbase5-dev qtwebengine5-dev qt5-qmake cmake pkg-config git libpipewire-0.3-dev
|
apt-get install -y curl build-essential qtbase5-dev qtwebengine5-dev qt5-qmake cmake pkg-config git libpipewire-0.3-dev file
|
||||||
|
|
||||||
echo "-> Installing linuxdeployqt..."
|
echo "-> Installing linuxdeployqt..."
|
||||||
tmpdir="$(mktemp -d)"
|
tmpdir="$(mktemp -d)"
|
||||||
|
|
Loading…
Reference in New Issue