summaryrefslogtreecommitdiff
path: root/network/PaleMoon/PaleMoon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/PaleMoon/PaleMoon.SlackBuild')
-rw-r--r--network/PaleMoon/PaleMoon.SlackBuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/network/PaleMoon/PaleMoon.SlackBuild b/network/PaleMoon/PaleMoon.SlackBuild
index 0c60a47665..0dfba082c8 100644
--- a/network/PaleMoon/PaleMoon.SlackBuild
+++ b/network/PaleMoon/PaleMoon.SlackBuild
@@ -25,8 +25,8 @@
# Modified by SlackBuilds.org
PRGNAM=PaleMoon
-VERSION=${VERSION:-27.0.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-27.1.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -135,11 +135,6 @@ if [ "$LIBDIRSUFFIX" = "64" ]; then
xpcom/io/nsAppFileLocationProvider.cpp
fi
-# Apply this patch so that PaleMoon will, not only compile with versions of sed earler
-# than 4.3, but also, compile with versions of sed 4.3 and later.
-# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850972
-patch -p1 < $CWD/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch
-
export MOZBUILD_STATE_PATH="$TMP/Pale-Moon-${VERSION}_Release/moz.build"
export MOZCONFIG="$TMP/Pale-Moon-${VERSION}_Release/.mozconfig"
export MOZILLA_OFFICIAL=1
@@ -155,6 +150,14 @@ else
DEVTOOLS="--enable-devtools"
fi
+# "gst-libav" has been replaced with ffmpeg in PaleMoon, and is slated for complete
+# removal; pass the parameter ENABLE_GST_LIBAV=yes, however, to keep using it (for now).
+if [ "$ENABLE_GST_LIBAV" = "yes" ]; then
+ GST_LIBAV="--enable-gstreamer --disable-ffmpeg"
+else
+ GST_LIBAV=""
+fi
+
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
# Our building options, in a configure-like display ;)
OPTIONS="\
@@ -167,7 +170,7 @@ OPTIONS="\
--disable-mochitests \
--enable-jemalloc \
--with-pthreads \
- --enable-gstreamer \
+ $GST_LIBAV \
$DEVTOOLS \
$DEBUG \
--x-libraries=/usr/lib${LIBDIRSUFFIX} \
@@ -214,7 +217,7 @@ fi
# Use system provided Hunspell, if desired.
if [ "${USE_SYSTEM_HUNSPELL}" = "yes" ]; then
rm -rfv usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION/dictionaries
- cp -vsr /usr/share/hunspell usr/lib${LIBDIRSUFFIX}/palemoon/dictionaries
+ cp -vsr /usr/share/hunspell usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION/dictionaries
fi
# Icons