public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: media-sound/nulloy/, media-sound/nulloy/files/
@ 2022-07-11  6:54 Andrew Ammerlaan
  0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2022-07-11  6:54 UTC (permalink / raw
  To: gentoo-commits

commit:     fde97c7e5637424e146fba67974862ca33ad6f87
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sun Jul 10 10:44:08 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 10:44:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fde97c7e

media-sound/nulloy: do not strip

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

 media-sound/nulloy/files/add-nostrip.patch |  9 ---------
 media-sound/nulloy/nulloy-0.9.3.ebuild     |  6 ++++++
 media-sound/nulloy/nulloy-9999.ebuild      | 12 ++++++------
 3 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/media-sound/nulloy/files/add-nostrip.patch b/media-sound/nulloy/files/add-nostrip.patch
deleted file mode 100644
index 39b78be70..000000000
--- a/media-sound/nulloy/files/add-nostrip.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- 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-0.9.3.ebuild b/media-sound/nulloy/nulloy-0.9.3.ebuild
index bfce51ba0..e7e7056ae 100644
--- a/media-sound/nulloy/nulloy-0.9.3.ebuild
+++ b/media-sound/nulloy/nulloy-0.9.3.ebuild
@@ -58,6 +58,12 @@ src_configure() {
 	)
 
 	QMAKE=/usr/bin/qmake5 LRELEASE=/usr/lib64/qt5/bin/lrelease ./configure "${myconfargs[@]}" || die
+
+	# 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
+	echo "CONFIG += nostrip" >> $WORKDIR/$P/.qmake.cache
 }
 
 src_install() {

diff --git a/media-sound/nulloy/nulloy-9999.ebuild b/media-sound/nulloy/nulloy-9999.ebuild
index 7408f0030..8932c9364 100644
--- a/media-sound/nulloy/nulloy-9999.ebuild
+++ b/media-sound/nulloy/nulloy-9999.ebuild
@@ -45,12 +45,6 @@ src_unpack() {
 src_prepare() {
 	default
 
-	# 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
-
 	if use skins ; then
 		eapply $FILESDIR/add-dark-theme.patch
 		cp -r $WORKDIR/night src/skins
@@ -71,6 +65,12 @@ src_configure() {
 	)
 
 	QMAKE=/usr/bin/qmake5 LRELEASE=/usr/lib64/qt5/bin/lrelease ./configure "${myconfargs[@]}" || die
+
+	# 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
+	echo "CONFIG += nostrip" >> $WORKDIR/$P/.qmake.cache
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-11  6:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-11  6:54 [gentoo-commits] repo/proj/guru:master commit in: media-sound/nulloy/, media-sound/nulloy/files/ Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox