summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-08-09 14:00:36 -0400
committerMatt Turner <mattst88@gentoo.org>2023-08-09 14:07:30 -0400
commit82b844e81dc6416ba68a67315ded3f75aeef8789 (patch)
treedfe8df50f6cae62a043ca04507b6dbebab8a5e1d /net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild
parentdev-util/drone-cli: drop 1.5.0 (diff)
downloadgentoo-82b844e81dc6416ba68a67315ded3f75aeef8789.tar.gz
gentoo-82b844e81dc6416ba68a67315ded3f75aeef8789.tar.bz2
gentoo-82b844e81dc6416ba68a67315ded3f75aeef8789.zip
net-libs/webkit-gtk: Fix build with USE=-gstreamer
Closes: https://bugs.gentoo.org/911663 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild')
-rw-r--r--net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild
index 46521ce3874e..0a80902a1200 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.40.5-r410.ebuild
@@ -122,6 +122,10 @@ S="${WORKDIR}/${MY_P}"
CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307
+# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and
+# gnome2_src_prepare, and both apply ${PATCHES[@]}
+PATCHES=()
+
pkg_pretend() {
if [[ ${MERGE_TYPE} != "binary" ]] ; then
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
@@ -146,6 +150,8 @@ pkg_setup() {
src_prepare() {
cmake_src_prepare
gnome2_src_prepare
+
+ eapply "${FILESDIR}/${PV}-Fix-build-failure-when-gstreamer-support-is-disabled.patch"
}
src_configure() {