mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-24 01:42:13 +08:00
change the path in mozilla-kde.patch to /extra
This commit is contained in:
parent
e079e5a761
commit
53b85a6311
@ -92,6 +92,10 @@ build_firefox() {
|
||||
cd "mozilla-release"
|
||||
patch -Np1 -i "../firefox-install-dir.patch"
|
||||
|
||||
# modify the patch to make it under extra
|
||||
cp ../mozilla-kde.patch ../mozilla-kde-mod.patch
|
||||
sed -i 's|\(\+\#define KMOZILLAHELPER "\)\(/usr/lib/mozilla/kmozillahelper"\)|\1/extra\2|' ../mozilla-kde-mod.patch
|
||||
|
||||
# remove the new file, to make life easier with call makepkg multiple times
|
||||
rm -f content/media/gstreamer/nsGStreamerFormatHelper.cpp \
|
||||
content/media/gstreamer/GStreamerFormatHelper.cpp \
|
||||
@ -117,8 +121,8 @@ build_firefox() {
|
||||
patch -Np1 -i "../firefox-712763.patch" || return 1
|
||||
msg "apply mozilla-nongnome-proxies.patch"
|
||||
patch -Np1 -i "../mozilla-nongnome-proxies.patch" || return 1
|
||||
msg "apply mozilla-kde.patch"
|
||||
patch -Np1 -i "../mozilla-kde.patch" || return 1
|
||||
msg "apply mozilla-kde-mod.patch"
|
||||
patch -Np1 -i "../mozilla-kde-mod.patch" || return 1
|
||||
msg "apply firefox-kde.patch"
|
||||
patch -Np1 -i "../firefox-kde.patch" || return 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user