From 4d50b0c47d57d8009e7230f121dd1f5f679b3b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sat, 7 Sep 2024 19:19:59 +0200 Subject: [PATCH 1/7] Enable pdfium in qt6 builds --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3d2982a9..a4317eb8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -102,7 +102,7 @@ jobs: - script: | qtchooser -list-versions export DEFINES_VAR=DEFINES+\=\"BUILD_NUMBER=\\\\\\\"$(Build.BuildNumber)\\\\\\\"\" - qmake6 CONFIG+="unarr no_pdf" $DEFINES_VAR + qmake6 CONFIG+="unarr" $DEFINES_VAR qmake6 -v make displayName: 'Build' @@ -132,7 +132,7 @@ jobs: - script: | qtchooser -list-versions export DEFINES_VAR=DEFINES+\=\"BUILD_NUMBER=\\\\\\\"$(Build.BuildNumber)\\\\\\\"\" - qmake6 CONFIG+="7zip no_pdf" $DEFINES_VAR + qmake6 CONFIG+="7zip" $DEFINES_VAR qmake6 -v make displayName: 'Build' From c3fe4fbedb85e546fc5d34ea1fedb3058efb7ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sat, 7 Sep 2024 19:34:05 +0200 Subject: [PATCH 2/7] Specify pdfium --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a4317eb8..b7965503 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -102,7 +102,7 @@ jobs: - script: | qtchooser -list-versions export DEFINES_VAR=DEFINES+\=\"BUILD_NUMBER=\\\\\\\"$(Build.BuildNumber)\\\\\\\"\" - qmake6 CONFIG+="unarr" $DEFINES_VAR + qmake6 CONFIG+="unarr pdfium" $DEFINES_VAR qmake6 -v make displayName: 'Build' @@ -132,7 +132,7 @@ jobs: - script: | qtchooser -list-versions export DEFINES_VAR=DEFINES+\=\"BUILD_NUMBER=\\\\\\\"$(Build.BuildNumber)\\\\\\\"\" - qmake6 CONFIG+="7zip" $DEFINES_VAR + qmake6 CONFIG+="7zip pdfium" $DEFINES_VAR qmake6 -v make displayName: 'Build' From d54396dfb72d96c375d3f19200aa578394ce9132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 8 Sep 2024 11:55:05 +0200 Subject: [PATCH 3/7] Check if Ubuntu 24.04 is available --- azure-pipelines.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b7965503..8e399f46 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -91,7 +91,7 @@ jobs: timeoutInMinutes: 90 dependsOn: CodeFormatValidation pool: - vmImage: 'ubuntu-22.04' + vmImage: 'ubuntu-24.04' steps: - script: | sudo apt-get update @@ -102,7 +102,7 @@ jobs: - script: | qtchooser -list-versions export DEFINES_VAR=DEFINES+\=\"BUILD_NUMBER=\\\\\\\"$(Build.BuildNumber)\\\\\\\"\" - qmake6 CONFIG+="unarr pdfium" $DEFINES_VAR + qmake6 CONFIG+="unarr" $DEFINES_VAR qmake6 -v make displayName: 'Build' @@ -118,21 +118,20 @@ jobs: timeoutInMinutes: 90 dependsOn: CodeFormatValidation pool: - vmImage: 'ubuntu-22.04' + vmImage: 'ubuntu-24.04' steps: - script: | sudo apt-get update sudo apt-get install -y qtchooser qt6-tools-dev qt6-base-dev-tools qmake6 qmake6-bin \ qt6-base-dev qt6-multimedia-dev qt6-tools-dev-tools libgl-dev qt6-l10n-tools \ - libqt6opengl6-dev libunarr-dev qt6-declarative-dev libqt6svg6-dev libqt6core5compat6-dev - mkdir $(Build.SourcesDirectory)\compressed_archive + libqt6opengl6-dev libunarr-dev qt6-declarative-dev libqt6svg6-dev libqt6core5compat6-dev libpoppler-qt6-dev mkdir $(Build.SourcesDirectory)\compressed_archive wget "https://github.com/YACReader/yacreader-7z-deps/blob/main/7z2301-src.7z?raw=true" -O $(Build.SourcesDirectory)/compressed_archive/7z2301-src.7z 7z x $(Build.SourcesDirectory)/compressed_archive/7z2301-src.7z -o$(Build.SourcesDirectory)/compressed_archive/lib7zip displayName: 'Install dependencies' - script: | qtchooser -list-versions export DEFINES_VAR=DEFINES+\=\"BUILD_NUMBER=\\\\\\\"$(Build.BuildNumber)\\\\\\\"\" - qmake6 CONFIG+="7zip pdfium" $DEFINES_VAR + qmake6 CONFIG+="7zip" $DEFINES_VAR qmake6 -v make displayName: 'Build' From 3c103b5c2b9c4293e535d4cff6d417fa0ec8ecf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 8 Sep 2024 12:03:54 +0200 Subject: [PATCH 4/7] Missing new line --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8e399f46..f5c39678 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -124,7 +124,8 @@ jobs: sudo apt-get update sudo apt-get install -y qtchooser qt6-tools-dev qt6-base-dev-tools qmake6 qmake6-bin \ qt6-base-dev qt6-multimedia-dev qt6-tools-dev-tools libgl-dev qt6-l10n-tools \ - libqt6opengl6-dev libunarr-dev qt6-declarative-dev libqt6svg6-dev libqt6core5compat6-dev libpoppler-qt6-dev mkdir $(Build.SourcesDirectory)\compressed_archive + libqt6opengl6-dev libunarr-dev qt6-declarative-dev libqt6svg6-dev libqt6core5compat6-dev libpoppler-qt6-dev + mkdir $(Build.SourcesDirectory)\compressed_archive wget "https://github.com/YACReader/yacreader-7z-deps/blob/main/7z2301-src.7z?raw=true" -O $(Build.SourcesDirectory)/compressed_archive/7z2301-src.7z 7z x $(Build.SourcesDirectory)/compressed_archive/7z2301-src.7z -o$(Build.SourcesDirectory)/compressed_archive/lib7zip displayName: 'Install dependencies' From d54602c72fd03455e00e847bec925e87932fbe5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 8 Sep 2024 12:08:40 +0200 Subject: [PATCH 5/7] Install libpoppler-qt6-dev in Ubuntu 24.04 images --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f5c39678..055289ac 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -97,7 +97,7 @@ jobs: sudo apt-get update sudo apt-get install -y qtchooser qt6-tools-dev qt6-base-dev-tools qmake6 qmake6-bin \ qt6-base-dev qt6-multimedia-dev qt6-tools-dev-tools libgl-dev qt6-l10n-tools \ - libqt6opengl6-dev libunarr-dev qt6-declarative-dev libqt6svg6-dev libqt6core5compat6-dev + libqt6opengl6-dev libunarr-dev qt6-declarative-dev libqt6svg6-dev libqt6core5compat6-dev libpoppler-qt6-dev displayName: 'Install dependencies' - script: | qtchooser -list-versions From 5715801616202366f87db489993c0275e05d6dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 8 Sep 2024 12:23:27 +0200 Subject: [PATCH 6/7] Always use 7zip instead of p7zip --- YACReaderLibrary/initial_comic_info_extractor.cpp | 8 ++++---- YACReaderLibrary/library_creator.cpp | 2 +- YACReaderLibrary/main.cpp | 2 +- YACReaderLibrary/xml_info_library_scanner.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/YACReaderLibrary/initial_comic_info_extractor.cpp b/YACReaderLibrary/initial_comic_info_extractor.cpp index eb543397..7cacf466 100644 --- a/YACReaderLibrary/initial_comic_info_extractor.cpp +++ b/YACReaderLibrary/initial_comic_info_extractor.cpp @@ -156,15 +156,15 @@ void InitialComicInfoExtractor::saveCover(const QString &path, const QImage &cov { QImage scaled; if (cover.width() > cover.height()) { - scaled = cover.scaledToWidth(640, Qt::SmoothTransformation); + scaled = cover.scaledToWidth(820, Qt::SmoothTransformation); } else { auto aspectRatio = static_cast(cover.width()) / static_cast(cover.height()); auto maxAllowedAspectRatio = 0.5; if (aspectRatio < maxAllowedAspectRatio) { // cover is too tall, e.g. webtoon - scaled = cover.scaledToHeight(960, Qt::SmoothTransformation); + scaled = cover.scaledToHeight(1220, Qt::SmoothTransformation); } else { - scaled = cover.scaledToWidth(480, Qt::SmoothTransformation); + scaled = cover.scaledToWidth(640, Qt::SmoothTransformation); } } - scaled.save(_target, 0, 75); + scaled.save(_target, "WEBP", 75); } diff --git a/YACReaderLibrary/library_creator.cpp b/YACReaderLibrary/library_creator.cpp index c6953bab..609c91db 100644 --- a/YACReaderLibrary/library_creator.cpp +++ b/YACReaderLibrary/library_creator.cpp @@ -143,7 +143,7 @@ void LibraryCreator::run() #if !defined use_unarr && !defined use_libarchive // check for 7z lib #if defined Q_OS_UNIX && !defined Q_OS_MACOS - QLibrary *sevenzLib = new QLibrary(QString(LIBDIR) + "/p7zip/7z.so"); + QLibrary *sevenzLib = new QLibrary(QString(LIBDIR) + "/7zip/7z.so"); #else QLibrary *sevenzLib = new QLibrary(QCoreApplication::applicationDirPath() + "/utils/7z"); #endif diff --git a/YACReaderLibrary/main.cpp b/YACReaderLibrary/main.cpp index 5aae101b..b5c14281 100644 --- a/YACReaderLibrary/main.cpp +++ b/YACReaderLibrary/main.cpp @@ -47,7 +47,7 @@ void logSystemAndConfig() #ifdef Q_OS_WIN if (QLibrary::isLibrary(QApplication::applicationDirPath() + "/utils/7z.dll")) #elif defined Q_OS_UNIX && !defined Q_OS_MACOS - if (QLibrary::isLibrary(QString(LIBDIR) + "/yacreader/7z.so") | QLibrary::isLibrary(QString(LIBDIR) + "/p7zip/7z.so")) + if (QLibrary::isLibrary(QString(LIBDIR) + "/yacreader/7z.so") | QLibrary::isLibrary(QString(LIBDIR) + "/7zip/7z.so")) #else if (QLibrary::isLibrary(QApplication::applicationDirPath() + "/utils/7z.so")) #endif diff --git a/YACReaderLibrary/xml_info_library_scanner.cpp b/YACReaderLibrary/xml_info_library_scanner.cpp index 47fc6fcb..3f59e254 100644 --- a/YACReaderLibrary/xml_info_library_scanner.cpp +++ b/YACReaderLibrary/xml_info_library_scanner.cpp @@ -47,7 +47,7 @@ void XMLInfoLibraryScanner::run() #if !defined use_unarr && !defined use_libarchive // check for 7z lib #if defined Q_OS_UNIX && !defined Q_OS_MACOS - QLibrary *sevenzLib = new QLibrary(QString(LIBDIR) + "/p7zip/7z.so"); + QLibrary *sevenzLib = new QLibrary(QString(LIBDIR) + "/7zip/7z.so"); #else QLibrary *sevenzLib = new QLibrary(QCoreApplication::applicationDirPath() + "/utils/7z"); #endif From a66d5d1cd7b2c37447d41a5aefd8367cc9888366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 8 Sep 2024 12:25:14 +0200 Subject: [PATCH 7/7] Add some scripts for building and install YACReader on Ubuntu 22 and 24 --- build_scripts/ubuntu_22.04/README.md | 6 ++ build_scripts/ubuntu_22.04/build.sh | 88 ++++++++++++++++++++++++++++ build_scripts/ubuntu_24.04/README.md | 6 ++ build_scripts/ubuntu_24.04/build.sh | 74 +++++++++++++++++++++++ 4 files changed, 174 insertions(+) create mode 100644 build_scripts/ubuntu_22.04/README.md create mode 100644 build_scripts/ubuntu_22.04/build.sh create mode 100644 build_scripts/ubuntu_24.04/README.md create mode 100644 build_scripts/ubuntu_24.04/build.sh diff --git a/build_scripts/ubuntu_22.04/README.md b/build_scripts/ubuntu_22.04/README.md new file mode 100644 index 00000000..4b29e1e4 --- /dev/null +++ b/build_scripts/ubuntu_22.04/README.md @@ -0,0 +1,6 @@ +## Ubuntu 22.04 build script +You can use `build.sh` to build YACReader from scratch in `Ubuntu 22.04` with `7zip` (including `RAR5` support) and `poppler` (pdf). This build uses Qt5. + +The script will create a folder next to it where all the downloads and building will happen, it will also install all the required dependencies. 7zip 23.01 is not available in `Ubuntu 22.04` so the script builds it and installs 7z.so in /usr/lib/7zip/. Once the scrip finishes succesfully `YACReader`, `YACReaderLibrary` and `YACReaderLibraryServer` should be installed in your system. + +WARNIG: This doesn't work with the latest release (9.14), there is a bug and some of the code is still looking for the old p7zip library, you need to build from develop, to do so run: `build.sh develop`. \ No newline at end of file diff --git a/build_scripts/ubuntu_22.04/build.sh b/build_scripts/ubuntu_22.04/build.sh new file mode 100644 index 00000000..3153fb50 --- /dev/null +++ b/build_scripts/ubuntu_22.04/build.sh @@ -0,0 +1,88 @@ +#!/bin/bash + +# Exit immediately if a command exits with a non-zero status +set -e + +# Define variables +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +BUILD_DIR="$SCRIPT_DIR/yacreader_build" +YACREADER_DIR="$BUILD_DIR/yacreader" +COMPRESSED_ARCHIVE_DIR="$YACREADER_DIR/compressed_archive" +YACREADER_REPO="https://github.com/YACReader/yacreader.git" +SEVENZIP_URL="https://github.com/YACReader/yacreader-7z-deps/blob/main/7z2301-src.7z?raw=true" +SEVENZIP_ARCHIVE="$COMPRESSED_ARCHIVE_DIR/7z2301-src.7z" +SEVENZIP_DIR="$COMPRESSED_ARCHIVE_DIR/lib7zip" + +# Function to download the latest release source tarball +download_latest_release() { + echo "Fetching the latest release information..." + LATEST_RELEASE_URL=$(curl -s https://api.github.com/repos/YACReader/yacreader/releases/latest | grep "browser_download_url.*src.tar.xz" | cut -d '"' -f 4 | head -n 1) + if [ -z "$LATEST_RELEASE_URL" ]; then + echo "Failed to fetch the latest release information." + exit 1 + fi + echo "Downloading the latest release source tarball..." + wget "$LATEST_RELEASE_URL" -O "$BUILD_DIR/latest_release_src.tar.xz" + echo "Extracting the latest release source tarball..." + mkdir -p "$YACREADER_DIR" + tar -xf "$BUILD_DIR/latest_release_src.tar.xz" -C "$YACREADER_DIR" --strip-components=1 +} + +# Step 1: Create a folder for the build process +if [ -d "$BUILD_DIR" ]; then + echo "Removing existing build directory..." + rm -rf "$BUILD_DIR" +fi +echo "Creating build directory..." +mkdir -p "$BUILD_DIR" +mkdir -p "$COMPRESSED_ARCHIVE_DIR" + +# Step 2: Install required packages +echo "Updating package list and installing required packages..." +sudo apt-get update +sudo apt-get install -y qtchooser qtbase5-dev-tools qt5-qmake \ + qtbase5-dev qtmultimedia5-dev libpoppler-qt5-dev qttools5-dev-tools \ + libqt5opengl5-dev qtdeclarative5-dev libqt5svg5-dev qtquickcontrols2-5-dev \ + qt5-image-formats-plugins qml-module-qtquick-controls2 qml-module-qtquick-layouts \ + qml-module-qtgraphicaleffects qml-module-qtquick2 qml-module-qtquick-controls \ + libqt5multimedia5-plugins qt5-image-formats-plugins qml-module-qtquick-controls2 qml-module-qtquick-layouts \ + qml-module-qtgraphicaleffects qml-module-qtquick2 qml-module-qtquick-controls \ + git build-essential + +# Step 3: Download YACReader source code +if [ "$1" == "develop" ]; then + if [ -d "$YACREADER_DIR" ]; then + echo "Removing existing YACReader directory..." + rm -rf "$YACREADER_DIR" + fi + echo "Cloning YACReader repository..." + git clone "$YACREADER_REPO" "$YACREADER_DIR" +else + download_latest_release +fi + +# Step 4: Download and extract 7zip source code +echo "Downloading 7zip source code..." +wget "$SEVENZIP_URL" -O "$SEVENZIP_ARCHIVE" +echo "Extracting 7zip source code..." +7z x "$SEVENZIP_ARCHIVE" -o"$SEVENZIP_DIR" + +# Step 5: Build and install 7z.so with RAR support +echo "Building and installing 7z.so with RAR support..." +cd "$SEVENZIP_DIR/CPP/7zip/Bundles/Format7zF" +make -f makefile.gcc +sudo mkdir -p /usr/lib/7zip +sudo cp ./_o/7z.so /usr/lib/7zip + +# Step 6: Build YACReader +echo "Building YACReader..." +cd "$YACREADER_DIR" +export DEFINES_VAR=DEFINES+\=\"BUILD_NUMBER=\\\\\\\"CUSTOM_BUILD\\\\\\\"\" +qmake CONFIG+="7zip" $DEFINES_VAR +make + +# Step 7: Install YACReader +echo "Installing YACReader..." +sudo make install + +echo "YACReader build and installation complete." \ No newline at end of file diff --git a/build_scripts/ubuntu_24.04/README.md b/build_scripts/ubuntu_24.04/README.md new file mode 100644 index 00000000..58d87385 --- /dev/null +++ b/build_scripts/ubuntu_24.04/README.md @@ -0,0 +1,6 @@ +## Ubuntu 24.04 build script +You can use `build.sh` to build YACReader from scratch in `Ubuntu 24.04` with `7zip` (including `RAR5` support) and `poppler` (pdf). This build uses `Qt6`. + +The script will create a folder next to it where all the downloads and building will happen, it will also install all the required dependencies. Once the scrip finishes succesfully `YACReader`, `YACReaderLibrary` and `YACReaderLibraryServer` should be installed in your system. + +WARNIG: This doesn't work with the latest release (9.14), there is a bug and some of the code is still looking for the old p7zip library, you need to build from develop, to do so run: `build.sh develop`. \ No newline at end of file diff --git a/build_scripts/ubuntu_24.04/build.sh b/build_scripts/ubuntu_24.04/build.sh new file mode 100644 index 00000000..ecb1b9fc --- /dev/null +++ b/build_scripts/ubuntu_24.04/build.sh @@ -0,0 +1,74 @@ +#!/bin/bash + +# Exit immediately if a command exits with a non-zero status +set -e + +# Define variables +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +BUILD_DIR="$SCRIPT_DIR/yacreader_build" +YACREADER_DIR="$BUILD_DIR/yacreader" +COMPRESSED_ARCHIVE_DIR="$YACREADER_DIR/compressed_archive" +YACREADER_REPO="https://github.com/YACReader/yacreader.git" +SEVENZIP_URL="https://github.com/YACReader/yacreader-7z-deps/blob/main/7z2301-src.7z?raw=true" +SEVENZIP_ARCHIVE="$COMPRESSED_ARCHIVE_DIR/7z2301-src.7z" +SEVENZIP_DIR="$COMPRESSED_ARCHIVE_DIR/lib7zip" + +# Function to download the latest release source tarball +download_latest_release() { + echo "Fetching the latest release information..." + LATEST_RELEASE_URL=$(curl -s https://api.github.com/repos/YACReader/yacreader/releases/latest | grep "browser_download_url.*src.tar.xz" | cut -d '"' -f 4 | head -n 1) + if [ -z "$LATEST_RELEASE_URL" ]; then + echo "Failed to fetch the latest release information." + exit 1 + fi + echo "Downloading the latest release source tarball..." + wget "$LATEST_RELEASE_URL" -O "$BUILD_DIR/latest_release_src.tar.xz" + echo "Extracting the latest release source tarball..." + mkdir -p "$YACREADER_DIR" + tar -xf "$BUILD_DIR/latest_release_src.tar.xz" -C "$YACREADER_DIR" --strip-components=1 +} + +# Step 1: Create a folder for the build process +if [ -d "$BUILD_DIR" ]; then + echo "Removing existing build directory..." + rm -rf "$BUILD_DIR" +fi +echo "Creating build directory..." +mkdir -p "$BUILD_DIR" +mkdir -p "$COMPRESSED_ARCHIVE_DIR" + +# Step 2: Install required packages +echo "Updating package list and installing required packages..." +sudo apt-get update +sudo apt-get install -y qtchooser qt6-tools-dev qt6-base-dev-tools qmake6 qmake6-bin qt6-base-dev qt6-multimedia-dev qt6-tools-dev-tools libgl-dev qt6-l10n-tools libqt6opengl6-dev qt6-declarative-dev libqt6svg6-dev libqt6core5compat6-dev qml6-module-qt5compat-graphicaleffects qt6-5compat-dev libpoppler-qt6-dev qt6-image-formats-plugins qml6-module-qtquick-controls qml6-module-qtquick-layouts qml6-module-qtqml-workerscript qml6-module-qtquick-templates p7zip-full p7zip-rar git build-essential + +# Step 3: Download YACReader source code +if [ "$1" == "develop" ]; then + if [ -d "$YACREADER_DIR" ]; then + echo "Removing existing YACReader directory..." + rm -rf "$YACREADER_DIR" + fi + echo "Cloning YACReader repository..." + git clone "$YACREADER_REPO" "$YACREADER_DIR" +else + download_latest_release +fi + +# Step 4: Download and extract 7zip source code +echo "Downloading 7zip source code..." +wget "$SEVENZIP_URL" -O "$SEVENZIP_ARCHIVE" +echo "Extracting 7zip source code..." +7z x "$SEVENZIP_ARCHIVE" -o"$SEVENZIP_DIR" + +# Step 5: Build YACReader +echo "Building YACReader..." +cd "$YACREADER_DIR" +export DEFINES_VAR=DEFINES+\=\"BUILD_NUMBER=\\\\\\\"CUSTOM_BUILD\\\\\\\"\" +qmake6 CONFIG+="7zip" $DEFINES_VAR +make + +# Step 6: Install YACReader +echo "Installing YACReader..." +sudo make install + +echo "YACReader build and installation complete." \ No newline at end of file