summaryrefslogtreecommitdiffstats
path: root/network/opera
diff options
context:
space:
mode:
Diffstat (limited to 'network/opera')
-rw-r--r--network/opera/README7
-rw-r--r--network/opera/opera.SlackBuild23
-rw-r--r--network/opera/opera.info10
3 files changed, 23 insertions, 17 deletions
diff --git a/network/opera/README b/network/opera/README
index 53a51b667f..6a4894ae98 100644
--- a/network/opera/README
+++ b/network/opera/README
@@ -7,10 +7,3 @@ Macintosh and Windows are also available.
This is a Stable version of Opera browser, for development version
please see "opera-development" and for a old version based on
Presto engine, please see a SlackBuild called "opera-legacy".
-
-NOTE: since version 46.0.2590.0 Opera's drops 32 bits support, for more:
-https://blogs.opera.com/desktop/2017/05/opera-developer-46-0-2590-0-update/
-
-This suggests: pepperflash-plugin, ffmpeg, opera-ffmpeg-codecs.
-
-Changelog: https://blogs.opera.com/desktop/changelog-for-74/#b3911.75
diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild
index 8d6cd55c61..23ef5941f3 100644
--- a/network/opera/opera.SlackBuild
+++ b/network/opera/opera.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for opera.
#
-# Copyright 2016-2021 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2023-2024 Dimitris Zlatanidis, Orestiada, Greece.
+# Copyright 2016-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opera
-VERSION=${VERSION:-74.0.3911.75}
+VERSION=${VERSION:-109.0.5097.45}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,6 +107,8 @@ install -Dm644 $CWD/eula.html $PKG/usr/share/licenses/$PRGNAM/eula.html
install -Dm644 $CWD/terms.html $PKG/usr/share/licenses/$PRGNAM/terms.html
install -Dm644 $CWD/privacy.html $PKG/usr/share/licenses/$PRGNAM/privacy.html
+sed -i '/^TargetEnvironment/d' $PKG/usr/share/applications/$PRGNAM.desktop
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -103,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/opera/opera.info b/network/opera/opera.info
index 01ed0ecb35..302d6b2447 100644
--- a/network/opera/opera.info
+++ b/network/opera/opera.info
@@ -1,10 +1,10 @@
PRGNAM="opera"
-VERSION="74.0.3911.75"
+VERSION="109.0.5097.45"
HOMEPAGE="https://www.opera.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download3.operacdn.com/pub/opera/desktop/74.0.3911.75/linux/opera-stable_74.0.3911.75_amd64.deb"
-MD5SUM_x86_64="d9d3f64c4359507510175badfaad2a16"
+DOWNLOAD_x86_64="https://get.geo.opera.com/pub/opera/desktop/109.0.5097.45/linux/opera-stable_109.0.5097.45_amd64.deb"
+MD5SUM_x86_64="8f42e3889190c6ef7de87101dff70028"
REQUIRES=""
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="dslackw@gmail.com"