From 6b29461fa2f3de2961d639683f27257cd7f48331 Mon Sep 17 00:00:00 2001 From: ormorph Date: Mon, 29 Apr 2024 20:04:27 +0300 Subject: Fix loading styles for twin Solved issue #373 The library name must start with twin3 Signed-off-by: ormorph --- trinity-apps/tde-style-polyester/tde-style-polyester-14.1.2.ebuild | 6 ++++++ .../twin-style-fahrenheit/twin-style-fahrenheit-14.1.2.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/trinity-apps/tde-style-polyester/tde-style-polyester-14.1.2.ebuild b/trinity-apps/tde-style-polyester/tde-style-polyester-14.1.2.ebuild index d366f4c5..d6b96737 100644 --- a/trinity-apps/tde-style-polyester/tde-style-polyester-14.1.2.ebuild +++ b/trinity-apps/tde-style-polyester/tde-style-polyester-14.1.2.ebuild @@ -20,6 +20,12 @@ if [[ ${PV} != *9999* ]] ; then KEYWORDS="~amd64 ~arm64 ~x86" fi +src_prepare() { + sed 's/twin_polyester/twin3_polyester/' -i "${S}/client/CMakeLists.txt" || die + sed 's/twin_polyester/twin3_polyester/' -i "${S}/client/polyester.desktop" || die + trinity-base-2_src_prepare +} + src_configure() { local mycmakeargs=( -DBUILD_TRANSLATIONS=ON diff --git a/trinity-apps/twin-style-fahrenheit/twin-style-fahrenheit-14.1.2.ebuild b/trinity-apps/twin-style-fahrenheit/twin-style-fahrenheit-14.1.2.ebuild index 10c710b2..834acc74 100644 --- a/trinity-apps/twin-style-fahrenheit/twin-style-fahrenheit-14.1.2.ebuild +++ b/trinity-apps/twin-style-fahrenheit/twin-style-fahrenheit-14.1.2.ebuild @@ -23,6 +23,12 @@ fi DEPEND="~trinity-base/twin-${PV}" RDEPEND="${DEPEND}" +src_prepare() { + sed 's/twin_fahrenheit/twin3_fahrenheit/' -i "${S}/client/CMakeLists.txt" || die + sed 's/twin_fahrenheit/twin3_fahrenheit/' -i "${S}/client/fahrenheit.desktop" || die + trinity-base-2_src_prepare +} + src_configure() { local mycmakeargs=( -DBUILD_TRANSLATIONS=ON -- cgit v1.2.1