not working but better
This commit is contained in:
parent
c4c32b1615
commit
b2f5f8e7d0
|
@ -33,5 +33,6 @@ target_link_libraries(${CMAKE_PROJECT_NAME} Qt5::Widgets Qt5::WebEngineWidgets r
|
||||||
|
|
||||||
install(TARGETS ${CMAKE_PROJECT_NAME} DESTINATION bin)
|
install(TARGETS ${CMAKE_PROJECT_NAME} DESTINATION bin)
|
||||||
install(PROGRAMS assets/${CMAKE_PROJECT_NAME}.desktop DESTINATION share/applications)
|
install(PROGRAMS assets/${CMAKE_PROJECT_NAME}.desktop DESTINATION share/applications)
|
||||||
|
install(FILES assets/discord.png DESTINATION share/pixmaps)
|
||||||
|
|
||||||
add_custom_target(appimage ${CMAKE_SOURCE_DIR}/scripts/build-appimage.sh WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
add_custom_target(appimage ${CMAKE_SOURCE_DIR}/scripts/build-appimage.sh WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
|
@ -19,5 +19,7 @@ appdir="$tmpdir/AppDir"
|
||||||
cmake -B "$builddir" -S "$PWD"
|
cmake -B "$builddir" -S "$PWD"
|
||||||
cmake --build "$builddir" --config Release
|
cmake --build "$builddir" --config Release
|
||||||
DESTDIR="$appdir" cmake --install "$builddir" --prefix "/usr"
|
DESTDIR="$appdir" cmake --install "$builddir" --prefix "/usr"
|
||||||
|
mkdir -p "$appdir/usr/share/doc/libc6"
|
||||||
|
touch "$appdir/usr/share/doc/libc6/copyright"
|
||||||
|
|
||||||
linuxdeployqt "$appdir/usr/share/applications/discord-screenaudio.desktop" -appimage -extra-plugins=iconengines,platformthemes/libqgtk3.so
|
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 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
|
||||||
|
|
||||||
echo "-> Installing linuxdeployqt..."
|
echo "-> Installing linuxdeployqt..."
|
||||||
tmpdir="$(mktemp -d)"
|
tmpdir="$(mktemp -d)"
|
||||||
|
|
Loading…
Reference in New Issue