media-video/ffmpeg: Don't pre-strip files in newer versions

No new patch revision because this doesn't change anything on older versions.

Closes: https://bugs.gentoo.org/980667
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2026-08-10 13:02:21 +01:00
parent b52e7e4192
commit f66ada9f1d
+3 -1
View File
@@ -23,7 +23,7 @@ to need rebasing across ffmpeg versions.
+}
--- a/ffbuild/libffmpeg.mak
+++ b/ffbuild/libffmpeg.mak
@@ -0,0 +1,27 @@
@@ -0,0 +1,29 @@
+LIBFFMPEG = $(SLIBPREF)ffmpeg$(SLIBSUF)
+LIBFFMPEG_LINK = $(LD) -shared -Wl,-soname,$(LIBFFMPEG) -Wl,-Bsymbolic -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--gc-sections $(LDFLAGS) $(LDLIBFLAGS) -o $(LIBFFMPEG)
+
@@ -45,7 +45,9 @@ to need rebasing across ffmpeg versions.
+install-libffmpeg: $(LIBFFMPEG)
+ $(Q)mkdir -p "$(SHLIBDIR)/chromium"
+ $(INSTALL) -m 755 $< "$(SHLIBDIR)/chromium/$<"
+ifneq ($(STRIPTYPE),nostrip)
+ $(STRIP) "$(SHLIBDIR)/chromium/$<"
+endif
+
+uninstall-libffmpeg:
+ $(RM) "$(SHLIBDIR)/chromium/$(LIBFFMPEG)"