From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/ffmpeg/files/, media-video/ffmpeg/
Date: Sun, 27 Aug 2017 19:23:44 +0000 (UTC) [thread overview]
Message-ID: <1503861452.836efa98efe86a14eb8d82e19f3d2814dc09f749.chewi@gentoo> (raw)
commit: 836efa98efe86a14eb8d82e19f3d2814dc09f749
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 27 19:17:32 2017 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Aug 27 19:17:32 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836efa98
media-video/ffmpeg: Add chromium include manually for easier patching
This makes the patch apply against any version. The include line will
work just as well at the end of the Makefile.
Package-Manager: Portage-2.3.8, Repoman-2.3.2
media-video/ffmpeg/ffmpeg-9999.ebuild | 1 +
media-video/ffmpeg/files/chromium.patch | 15 +++------------
2 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild
index 55572458a50..ac3d4666a00 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -302,6 +302,7 @@ src_prepare() {
export revision=git-N-${FFMPEG_REVISION}
fi
default
+ echo 'include $(SRC_PATH)/ffbuild/libffmpeg.mak' >> Makefile || die
}
multilib_src_configure() {
diff --git a/media-video/ffmpeg/files/chromium.patch b/media-video/ffmpeg/files/chromium.patch
index bc8b8d38698..60a3e5d6cb9 100644
--- a/media-video/ffmpeg/files/chromium.patch
+++ b/media-video/ffmpeg/files/chromium.patch
@@ -1,18 +1,9 @@
Allow libffmpeg to be built for Chromium-based browsers
https://patchwork.ffmpeg.org/patch/4500/
-diff --git a/Makefile b/Makefile
-index 29870d7..1e267e7 100644
---- a/Makefile
-+++ b/Makefile
-@@ -65,6 +65,7 @@ all: all-yes
-
- include $(SRC_PATH)/tools/Makefile
- include $(SRC_PATH)/ffbuild/common.mak
-+include $(SRC_PATH)/ffbuild/libffmpeg.mak
-
- FF_EXTRALIBS := $(FFEXTRALIBS)
- FF_DEP_LIBS := $(DEP_LIBS)
+NOTE: This patch lacks the Makefile include line. We append it
+manually instead to make patching across different versions easier.
+
diff --git a/ffbuild/libffmpeg.mak b/ffbuild/libffmpeg.mak
new file mode 100644
index 0000000..992cf3c
next reply other threads:[~2017-08-27 19:23 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-27 19:23 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-28 4:27 [gentoo-commits] repo/gentoo:master commit in: media-video/ffmpeg/files/, media-video/ffmpeg/ Ionen Wolkens
2025-02-04 16:54 Sam James
2025-01-06 2:16 Sam James
2024-11-25 20:42 Sam James
2024-09-26 7:17 Joonas Niilola
2024-07-20 4:09 Sam James
2024-07-20 4:09 Sam James
2024-05-02 5:21 Sam James
2024-04-10 1:47 Sam James
2024-03-12 3:37 Sam James
2024-03-09 22:17 James Le Cuirot
2024-02-29 5:44 Sam James
2024-02-17 14:53 James Le Cuirot
2024-02-06 4:02 Sam James
2024-02-06 4:00 Sam James
2024-01-24 10:58 Sam James
2023-12-18 4:51 Sam James
2023-07-24 2:00 Sam James
2023-05-31 18:43 Sam James
2023-04-23 7:05 Sam James
2023-02-13 22:43 Craig Andrews
2022-07-21 2:53 Matt Turner
2022-03-26 14:20 Joonas Niilola
2020-12-25 2:35 Sam James
2019-09-02 12:00 Alexis Ballier
2019-07-07 18:58 Thomas Deutschmann
2019-02-13 15:19 Alexis Ballier
2018-11-15 16:37 Craig Andrews
2018-07-19 11:08 Alexis Ballier
2018-07-17 7:33 Alexis Ballier
2018-01-18 22:01 James Le Cuirot
2017-08-26 13:41 Alexis Ballier
2017-02-07 9:46 Alexis Ballier
2016-12-24 10:33 Alexis Ballier
2016-09-29 16:33 Alexis Ballier
2015-11-12 11:46 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1503861452.836efa98efe86a14eb8d82e19f3d2814dc09f749.chewi@gentoo \
--to=chewi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox