Closed VortexAcherontic closed 2 years ago
Good point, I'll add something like this. Or I may even switch completely to a submodule.
With version 1.0.0-rc6 I consider this as closed as there is no need to manually patch the CMakeList.txt anymore.
Many thanks for the fast work ❤️
@VortexAcherontic just letting you know, for v1.0.0 I implemented a mechanism which automatically pulls the current version from git tags. If you build from a tarball, you have to provide it manually like in the PKGBUILD.
@maltejur Thanks for letting me know. Already doing this since RC 5 😄
Hello there, while attempting to build this project on OBS (open build service) I noticed you do use git submodules and cloning some git release of rohrkabel directly into your discord-screeaudio source directory at build time.
This is generally a bad idea as most build services like those for openSUSE (OBS), Debian, Fedora, Ubuntu, flatpak and others do build their packages offline.
In order to allow for offline building I do the following:
latestrohrkabel1.2source archive at the currently required git revisionPatch the discord-screenaudio CMakeLists.txt as follows:
-FetchContent_Declare(
GIT_TAG "d87403f48d3a95aa4bcf4cd60112d9e4bb090d5d" -) -FetchContent_MakeAvailable(rohrkabel) +add_subdirectory(rohrkabel)
add_executable(discord-screenaudio ${discord-screenaudio_SRC})
The final source directory then looks as follows:
It would be great to allow for build flags to swap between offline build and online build.
Kind regards,
V.