commit:     84cae1f4614328afad5be55ca264b00c548a2116
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 28 04:05:32 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 28 04:05:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84cae1f4

media-video/simplescreenrecorder: drop -fPIC

This shouldn't be needed since they switched to CMake, though
I've only tested it with Qt 6.9 (not 6.8) where a change may
make a difference here.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../simplescreenrecorder-0.4.4_p20250125.ebuild                  | 9 +--------
 .../simplescreenrecorder/simplescreenrecorder-9999.ebuild        | 9 +--------
 2 files changed, 2 insertions(+), 16 deletions(-)

diff --git 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4_p20250125.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4_p20250125.ebuild
index 1ebedceab8b9..2b6dbaf09cda 100644
--- 
a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4_p20250125.ebuild
+++ 
b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4_p20250125.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 MY_PN="ssr"
-inherit cmake-multilib flag-o-matic xdg
+inherit cmake-multilib xdg
 
 DESCRIPTION="Simple Screen Recorder"
 HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder/";
@@ -64,13 +64,6 @@ pkg_pretend() {
        fi
 }
 
-pkg_setup() {
-       # Qt requires -fPIC. Compile fails otherwise.
-       # Recently removed from the default compile options upstream
-       # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
-       append-flags -fPIC
-}
-
 multilib_src_configure() {
        local mycmakeargs=(
                -DENABLE_JACK_METADATA="$(multilib_native_usex jack)"

diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild 
b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild
index 9296c2d24463..895f6b6ccbb4 100644
--- a/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild
+++ b/media-video/simplescreenrecorder/simplescreenrecorder-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 MY_PN="ssr"
-inherit cmake-multilib flag-o-matic xdg
+inherit cmake-multilib xdg
 
 DESCRIPTION="Simple Screen Recorder"
 HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder/";
@@ -61,13 +61,6 @@ pkg_pretend() {
        fi
 }
 
-pkg_setup() {
-       # Qt requires -fPIC. Compile fails otherwise.
-       # Recently removed from the default compile options upstream
-       # 
https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180
-       append-flags -fPIC
-}
-
 multilib_src_configure() {
        local mycmakeargs=(
                -DENABLE_JACK_METADATA="$(multilib_native_usex jack)"

Reply via email to