repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit 67970d108ad7ac09c04ee3c86b7440bc5ca016bd
parent a12c1608dbd371f2af95865ee20ef3b9b7ff249c
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat, 23 May 2020 17:12:07 +0300

webkit2gtk: POSIX sed

Diffstat:
Mextra/webkit2gtk/build | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build @@ -1,5 +1,11 @@ #!/bin/sh -e +sed_i() { + for file; do :; done + sed "$@" > _ + cat _ > "$file"; rm -f _ +} + # Enable streaming related options if gstreamer # is installed. kiss l gst-plugins-base && streaming=ON @@ -11,9 +17,9 @@ kiss l openjpeg2 && jpeg=ON patch -p1 < fix-musl.patch # Remove gettext requirement. -sed -i 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c -sed -i '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt -sed -i '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt +sed_i 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c +sed_i '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt +sed_i '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt export DESTDIR="$1"