commit:     ceafffcacd1fe1fe14c1e4b1ad52662f97a96eaf
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sat Jul  9 22:10:49 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 22:12:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ceafffca

media-sound/nulloy: do not strip by default

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 .../nulloy/files/{nulloy.patch => add-dark-theme.patch}        |  0
 media-sound/nulloy/files/add-nostrip.patch                     | 10 ++++++++++
 media-sound/nulloy/nulloy-9999.ebuild                          |  8 +++++++-
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/media-sound/nulloy/files/nulloy.patch 
b/media-sound/nulloy/files/add-dark-theme.patch
similarity index 100%
rename from media-sound/nulloy/files/nulloy.patch
rename to media-sound/nulloy/files/add-dark-theme.patch

diff --git a/media-sound/nulloy/files/add-nostrip.patch 
b/media-sound/nulloy/files/add-nostrip.patch
new file mode 100644
index 000000000..0078b64ce
--- /dev/null
+++ b/media-sound/nulloy/files/add-nostrip.patch
@@ -0,0 +1,10 @@
+index 795269f..5d59711 100644
+--- a/nulloy.pro
++++ b/nulloy.pro
+@@ -1,5 +1,5 @@
+ TEMPLATE = subdirs
+-CONFIG += ordered
++CONFIG += ordered nostrip
+ 
+ isEmpty(N_CONFIG_SUCCESS) {
+     unix:error("Please run './configure'")

diff --git a/media-sound/nulloy/nulloy-9999.ebuild 
b/media-sound/nulloy/nulloy-9999.ebuild
index fb893764d..583be7996 100644
--- a/media-sound/nulloy/nulloy-9999.ebuild
+++ b/media-sound/nulloy/nulloy-9999.ebuild
@@ -46,7 +46,13 @@ src_prepare() {
        if use skins ; then
                default
 
-               eapply "${FILESDIR}"/nulloy.patch
+               # Because stripping should not be done by the build tools,
+               # because Portage does it when the install phase is run to be 
able
+               # to support the `splitdebug` and `installsources` FEATURES.
+               # See related issue https://bugs.gentoo.org/856292
+               eapply "${FILESDIR}"/add-nostrip.patch
+
+               eapply "${FILESDIR}"/add-dark-theme.patch
                cp -r $WORKDIR/night src/skins
        fi
 }

Reply via email to