From ee4888685c0608e09945125efc9887d719d97b32 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 Apr 2020 19:02:20 +0300 Subject: [PATCH] readme: clarify Fedora build instructions Add more formatting (spoilers!), some details about terms and external links. --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a2f8827ea..79b737ed7 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,11 @@ You most likely have to rebuild ffmpeg with `--enable-swresample --enable-swscal After that, go to the [next section](#configuring-and-building). #### Fedora: +For more convenient work with building on Fedora, it's recommended to build it from our [RPM spec file][RPM]. + +
+ 1. Installing and configuring RPM tools + ```console # dnf install rpm-build rpmdevtools mock mock-rpmfusion-free ``` @@ -69,22 +74,24 @@ Create RPM build base directories: ```bash rpmdev-setuptree ``` +
-Download sources: +2. Download sources: ```bash spectool -g -R kepka.spec ``` -Generate SRPM: +3. Generate SRPM (Source RPM for building from sources): ```bash rpmbuild -bs kepka.spec ``` -Start mock build sequence: +4. Start mock build sequence: ```bash mock -r fedora-$(rpm -E %fedora)-$(uname -m)-rpmfusion_free --rebuild ~/rpmbuild/SRPMS/kepka*.src.rpm ``` + #### Configuring and building Provide paths to OpenAL-soft and Qt5 in CMAKE_PREFIX_PATH variable when configuring. @@ -157,3 +164,4 @@ The Kepka logo is available by CC-BY-SA 4.0 License. (c) 2018 leha-bot. The full [preview_image]: docs/assets/preview.png [vcpkg]: https://github.com/Microsoft/vcpkg [visual-studio]: https://www.visualstudio.com/ +[RPM]: https://rpm.org/