From aecae388f667c82eebac21fe1cdcf39d6df93147 Mon Sep 17 00:00:00 2001 From: Adel KARA SLIMANE Date: Sat, 13 Apr 2024 17:53:07 +0200 Subject: games-util/mangohud: minor ebuild code improvement Signed-off-by: Adel KARA SLIMANE --- games-util/mangohud/mangohud-0.7.1.ebuild | 18 ++++++++++++------ games-util/mangohud/mangohud-9999.ebuild | 18 ++++++++++++------ 2 files changed, 24 insertions(+), 12 deletions(-) (limited to 'games-util') diff --git a/games-util/mangohud/mangohud-0.7.1.ebuild b/games-util/mangohud/mangohud-0.7.1.ebuild index 5260457e4..56583d775 100644 --- a/games-util/mangohud/mangohud-0.7.1.ebuild +++ b/games-util/mangohud/mangohud-0.7.1.ebuild @@ -16,17 +16,23 @@ HOMEPAGE="https://github.com/flightlessmango/MangoHud" VK_HEADERS_VER="1.2.158" VK_HEADERS_MESON_WRAP_VER="2" SPDLOG_VER="1.13.0" +SPDLOG_WRAP_VER="1" IMPLOT_VER="0.16" +IMPLOT_WRAP_VER="1" SRC_URI=" https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz -> vulkan-headers-${VK_HEADERS_VER}.tar.gz https://wrapdb.mesonbuild.com/v2/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}/get_patch -> vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip - https://github.com/gabime/spdlog/archive/refs/tags/v${SPDLOG_VER}.tar.gz -> spdlog-${SPDLOG_VER}.tar.gz - https://wrapdb.mesonbuild.com/v2/spdlog_${SPDLOG_VER}-1/get_patch -> spdlog-${SPDLOG_VER}-1-wrap.zip - https://github.com/epezent/implot/archive/refs/tags/v${IMPLOT_VER}.tar.gz -> implot-${IMPLOT_VER}.tar.gz - https://wrapdb.mesonbuild.com/v2/implot_${IMPLOT_VER}-1/get_patch -> implot-${IMPLOT_VER}-1-wrap.zip + https://github.com/gabime/spdlog/archive/refs/tags/v${SPDLOG_VER}.tar.gz + -> spdlog-${SPDLOG_VER}.tar.gz + https://wrapdb.mesonbuild.com/v2/spdlog_${SPDLOG_VER}-${SPDLOG_WRAP_VER}/get_patch + -> spdlog-${SPDLOG_VER}-${SPDLOG_WRAP_VER}-wrap.zip + https://github.com/epezent/implot/archive/refs/tags/v${IMPLOT_VER}.tar.gz + -> implot-${IMPLOT_VER}.tar.gz + https://wrapdb.mesonbuild.com/v2/implot_${IMPLOT_VER}-${IMPLOT_WRAP_VER}/get_patch + -> implot-${IMPLOT_VER}-${IMPLOT_WRAP_VER}-wrap.zip " if [[ ${PV} == 9999 ]]; then @@ -101,11 +107,11 @@ src_unpack() { # fix build error by using upstream submodule version of spdlog unpack spdlog-${SPDLOG_VER}.tar.gz - unpack spdlog-${SPDLOG_VER}-1-wrap.zip + unpack spdlog-${SPDLOG_VER}-${SPDLOG_WRAP_VER}-wrap.zip mv "${WORKDIR}/spdlog-${SPDLOG_VER}" "${S}/subprojects/" || die unpack implot-${IMPLOT_VER}.tar.gz - unpack implot-${IMPLOT_VER}-1-wrap.zip + unpack implot-${IMPLOT_VER}-${IMPLOT_WRAP_VER}-wrap.zip mv "${WORKDIR}/implot-${IMPLOT_VER}" "${S}/subprojects/" || die } diff --git a/games-util/mangohud/mangohud-9999.ebuild b/games-util/mangohud/mangohud-9999.ebuild index 5260457e4..56583d775 100644 --- a/games-util/mangohud/mangohud-9999.ebuild +++ b/games-util/mangohud/mangohud-9999.ebuild @@ -16,17 +16,23 @@ HOMEPAGE="https://github.com/flightlessmango/MangoHud" VK_HEADERS_VER="1.2.158" VK_HEADERS_MESON_WRAP_VER="2" SPDLOG_VER="1.13.0" +SPDLOG_WRAP_VER="1" IMPLOT_VER="0.16" +IMPLOT_WRAP_VER="1" SRC_URI=" https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VK_HEADERS_VER}.tar.gz -> vulkan-headers-${VK_HEADERS_VER}.tar.gz https://wrapdb.mesonbuild.com/v2/vulkan-headers_${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}/get_patch -> vulkan-headers-${VK_HEADERS_VER}-${VK_HEADERS_MESON_WRAP_VER}-meson-wrap.zip - https://github.com/gabime/spdlog/archive/refs/tags/v${SPDLOG_VER}.tar.gz -> spdlog-${SPDLOG_VER}.tar.gz - https://wrapdb.mesonbuild.com/v2/spdlog_${SPDLOG_VER}-1/get_patch -> spdlog-${SPDLOG_VER}-1-wrap.zip - https://github.com/epezent/implot/archive/refs/tags/v${IMPLOT_VER}.tar.gz -> implot-${IMPLOT_VER}.tar.gz - https://wrapdb.mesonbuild.com/v2/implot_${IMPLOT_VER}-1/get_patch -> implot-${IMPLOT_VER}-1-wrap.zip + https://github.com/gabime/spdlog/archive/refs/tags/v${SPDLOG_VER}.tar.gz + -> spdlog-${SPDLOG_VER}.tar.gz + https://wrapdb.mesonbuild.com/v2/spdlog_${SPDLOG_VER}-${SPDLOG_WRAP_VER}/get_patch + -> spdlog-${SPDLOG_VER}-${SPDLOG_WRAP_VER}-wrap.zip + https://github.com/epezent/implot/archive/refs/tags/v${IMPLOT_VER}.tar.gz + -> implot-${IMPLOT_VER}.tar.gz + https://wrapdb.mesonbuild.com/v2/implot_${IMPLOT_VER}-${IMPLOT_WRAP_VER}/get_patch + -> implot-${IMPLOT_VER}-${IMPLOT_WRAP_VER}-wrap.zip " if [[ ${PV} == 9999 ]]; then @@ -101,11 +107,11 @@ src_unpack() { # fix build error by using upstream submodule version of spdlog unpack spdlog-${SPDLOG_VER}.tar.gz - unpack spdlog-${SPDLOG_VER}-1-wrap.zip + unpack spdlog-${SPDLOG_VER}-${SPDLOG_WRAP_VER}-wrap.zip mv "${WORKDIR}/spdlog-${SPDLOG_VER}" "${S}/subprojects/" || die unpack implot-${IMPLOT_VER}.tar.gz - unpack implot-${IMPLOT_VER}-1-wrap.zip + unpack implot-${IMPLOT_VER}-${IMPLOT_WRAP_VER}-wrap.zip mv "${WORKDIR}/implot-${IMPLOT_VER}" "${S}/subprojects/" || die } -- cgit v1.2.3-65-gdbad