summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2024-04-02 00:59:21 +0200
committerJason A. Donenfeld <zx2c4@gentoo.org>2024-04-02 00:59:21 +0200
commitf4f730bc7a927f902c83c01931e02a337ee09706 (patch)
treee5818014dd041763f33ad7b623dbbdcb2e114f47 /media-sound/reaper-bin
parentmedia-sound/reaper-bin: add 7.12, drop 7.11 (diff)
downloadgentoo-f4f730bc7a927f902c83c01931e02a337ee09706.tar.gz
gentoo-f4f730bc7a927f902c83c01931e02a337ee09706.tar.bz2
gentoo-f4f730bc7a927f902c83c01931e02a337ee09706.zip
media-sound/reaper-bin: add -Wl,-z,lazy for swell preloading
Swell loads GDK lazily in its ideal setting, which 11e9d2b71083 ("media-sound/reaper-bin: add 7.12, drop 7.11") unfortunately removed, because toolchain 23.0's -z,now caused the lazy loading to happen at dlopen() time. Fix this by explicitly setting -z,lazy. Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'media-sound/reaper-bin')
-rw-r--r--media-sound/reaper-bin/reaper-bin-7.12-r1.ebuild (renamed from media-sound/reaper-bin/reaper-bin-7.12.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-sound/reaper-bin/reaper-bin-7.12.ebuild b/media-sound/reaper-bin/reaper-bin-7.12-r1.ebuild
index 1ff30df79fec..06bcf6617d8f 100644
--- a/media-sound/reaper-bin/reaper-bin-7.12.ebuild
+++ b/media-sound/reaper-bin/reaper-bin-7.12-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit desktop xdg
+inherit desktop flag-o-matic xdg
DESCRIPTION="Digital audio workstation"
HOMEPAGE="https://www.reaper.fm"
@@ -52,7 +52,9 @@ src_prepare() {
}
src_compile() {
+ append-cflags -Wl,-z,lazy
emake -C "WDL-${WDL_COMMIT}/WDL/swell" \
+ PRELOAD_GDK=1 \
ALLOW_WARNINGS=1
}