[Lunar-commits] <moonbase> opera: Version bump to 10.60

Stefan Wold ratler at lunar-linux.org
Fri Jul 2 12:52:49 CEST 2010


commit 315cc1f90dfafb95dc7534ac4fd80834cbab66db
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Fri Jul 2 09:21:38 2010 +0200

    opera: Version bump to 10.60
    
    * Optional gtk+ or kde support
    * Added new dependencies
---
 web/opera/BUILD          |   21 +++++++++------------
 web/opera/CONFLICTS      |    1 -
 web/opera/DEPENDS        |   27 ++++++++++++++++++++++++++-
 web/opera/DETAILS        |   25 +++++++++++++------------
 web/opera/DETAILS.x86_64 |   25 +++++++++++++------------
 web/opera/POST_INSTALL   |   13 +++++++++++++
 web/opera/POST_REMOVE    |   11 +++++++++++
 7 files changed, 85 insertions(+), 38 deletions(-)

diff --git a/web/opera/BUILD b/web/opera/BUILD
index 17d3fa3..84fced1 100644
--- a/web/opera/BUILD
+++ b/web/opera/BUILD
@@ -1,20 +1,17 @@
 (
-  cat >> usr/share/opera/defaults/pluginpath.ini << EOF
 
-; Lunar plugin directory
-/opt/lunar/plugins=1
-EOF
-
-  # Disable internal md5check
-  sedit '/md5check Manifest.md5/d' install.sh &&
+  # Change default PREFIX
+  sedit 's;PREFIX=/usr/local;PREFIX=/usr;g' install &&
+  # Remove finalize_xdg call or the file tracker will catch all mime/application files
+  sedit '/finalize_xdg$/d' install &&
 
   prepare_install &&
+  ./install --system --unattended --quiet --force &&
 
-  ./install.sh --prefix=/usr &&
-  install -m 644 usr/share/pixmaps/opera.xpm /usr/share/pixmaps/ &&
+  cat >> /usr/share/opera/defaults/pluginpath.ini << EOF
 
-  for i in operaprefs_default.ini operaprefs_fixed.ini; do
-    [ -f /etc/${i} ] || install -m 644 etc/${i} /etc/
-  done
+; Lunar plugin directory
+/opt/lunar/plugins=1
+EOF
 
 ) > $C_FIFO 2>&1
diff --git a/web/opera/CONFLICTS b/web/opera/CONFLICTS
deleted file mode 100644
index 8e41a71..0000000
--- a/web/opera/CONFLICTS
+++ /dev/null
@@ -1 +0,0 @@
-conflicts opera-static
diff --git a/web/opera/DEPENDS b/web/opera/DEPENDS
index d8ae729..7c96e96 100644
--- a/web/opera/DEPENDS
+++ b/web/opera/DEPENDS
@@ -1,2 +1,27 @@
-depends qt4
 depends expat
+depends zlib
+depends fontconfig
+depends freetype2
+depends util-linux
+depends gstreamer-10
+depends libpng
+depends libICE
+depends libSM
+depends libX11
+depends libXau
+depends libXcomposite
+depends libXcursor
+depends libXdamage
+depends libXdmcp
+depends libXext
+depends libXfixes
+depends libXi
+depends libXmu
+depends libXrandr
+depends libXrender
+depends libXft
+depends libXt
+depends libxcb
+depends xcb-util
+optional_depends opera-gtk "" "" "for GTK+ support"
+optional_depends kdelibs4 "" "" "for KDE support"
diff --git a/web/opera/DETAILS b/web/opera/DETAILS
index e5efc57..de853a4 100644
--- a/web/opera/DETAILS
+++ b/web/opera/DETAILS
@@ -1,21 +1,22 @@
           MODULE=opera
-         VERSION=10.11
-      SUBVERSION=4791
-          SOURCE=$MODULE-$VERSION.gcc4-qt4.i386.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-$SUBVERSION.gcc4-qt4.i386
-   SOURCE_URL[0]=http://ftp.heanet.ie/pub/opera/linux/${VERSION//\./}/final/en/i386
-   SOURCE_URL[1]=ftp://ftp.opera.com/pub/opera/linux/${VERSION//\./}/final/en/i386
-      SOURCE_VFY=sha1:a8be6753d64e815f4797c1654eec521299019440
-        WEB_SITE=http://www.opera.com
+         VERSION=10.60
+      SUBVERSION=6386
+          SOURCE=${MODULE}-${VERSION}-${SUBVERSION}.i386.linux.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-$SUBVERSION.i386.linux
+   SOURCE_URL[0]=ftp://ftp.heanet.ie/pub/opera/linux/${VERSION//\./}
+   SOURCE_URL[1]=http://get1.opera.com/pub/opera/linux/${VERSION//\./}
+      SOURCE_VFY=sha256:be189172893cef848dbc48cad90948dd488cf2da1f7fae56ff15cd9d60ec4880
+        WEB_SITE=http://www.opera.com/
       MAINTAINER=ratler at lunar-linux.org
          LICENSE="proprietary"
          ENTERED=20051002
-         UPDATED=20100623
-           SHORT="The most full-featured Internet browser on the market"
+         UPDATED=20100702
+           SHORT="The fastest browser on Earth is even faster."
 GARBAGE=off
 ARCHIVE=off
 
 cat << EOF
-Opera includes pop-up blocking, tabbed browsing, integrated searches,
-E-mail, torrent, RSS Newsfeeds and IRC chat.
+Opera include Integrated Web search, Sophisticated tabs, Speed Dial,
+Opera Link, Add-ons, Zoom, Opera Turbo, Mouse gestures and Content
+blocking.
 EOF
diff --git a/web/opera/DETAILS.x86_64 b/web/opera/DETAILS.x86_64
index 4bc3fbd..425e4d3 100644
--- a/web/opera/DETAILS.x86_64
+++ b/web/opera/DETAILS.x86_64
@@ -1,21 +1,22 @@
           MODULE=opera
-         VERSION=10.11
-      SUBVERSION=4791
-          SOURCE=$MODULE-$VERSION.gcc4-qt4.x86_64.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-$SUBVERSION.gcc4-qt4.x86_64
-   SOURCE_URL[0]=http://ftp.heanet.ie/pub/opera/linux/${VERSION//\./}/final/en/x86_64
-   SOURCE_URL[1]=ftp://ftp.opera.com/pub/opera/linux/${VERSION//\./}/final/en/x86_64
-      SOURCE_VFY=sha1:286079fa19484bfddf2b20ef509f4aebc5926d09
-        WEB_SITE=http://www.opera.com
+         VERSION=10.60
+      SUBVERSION=6386
+          SOURCE=${MODULE}-${VERSION}-${SUBVERSION}.x86_64.linux.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-$SUBVERSION.x86_64.linux
+   SOURCE_URL[0]=ftp://ftp.heanet.ie/pub/opera/linux/${VERSION//\./}
+   SOURCE_URL[1]=http://get1.opera.com/pub/opera/linux/${VERSION//\./}
+      SOURCE_VFY=sha256:1d35c9a37966e97d253663ee50d7b7be12f940c51d8b0b88848cdf06d1e32c0c
+        WEB_SITE=http://www.opera.com/
       MAINTAINER=ratler at lunar-linux.org
          LICENSE="proprietary"
          ENTERED=20080612
-         UPDATED=20100623
-           SHORT="The most full-featured Internet browser on the market"
+         UPDATED=20100702
+           SHORT="The fastest browser on Earth is even faster."
 GARBAGE=off
 ARCHIVE=off
 
 cat << EOF
-Opera includes pop-up blocking, tabbed browsing, integrated searches,
-E-mail, torrent, RSS newsfeeds and IRC chat.
+Opera include Integrated Web search, Sophisticated tabs, Speed Dial,
+Opera Link, Add-ons, Zoom, Opera Turbo, Mouse gestures and Content
+blocking.
 EOF
diff --git a/web/opera/POST_INSTALL b/web/opera/POST_INSTALL
new file mode 100644
index 0000000..fbbe179
--- /dev/null
+++ b/web/opera/POST_INSTALL
@@ -0,0 +1,13 @@
+
+available()
+{
+  which "$1" >/dev/null 2>&1
+}
+
+
+if available update-desktop-database; then
+  update-desktop-database -q /usr/share/applications
+fi
+if available update-mime-database; then
+  update-mime-database /usr/share/mime &> /dev/null
+fi
diff --git a/web/opera/POST_REMOVE b/web/opera/POST_REMOVE
new file mode 100644
index 0000000..80652e6
--- /dev/null
+++ b/web/opera/POST_REMOVE
@@ -0,0 +1,11 @@
+available()
+{
+  which "$1" >/dev/null 2>&1
+}
+
+if available update-desktop-database; then
+  update-desktop-database -q /usr/share/applications
+fi
+if available update-mime-database; then
+  update-mime-database /usr/share/mime &> /dev/null
+fi


More information about the Lunar-commits mailing list