diff options
author | vvoody <vvoodywang@gmail.com> | 2011-09-01 22:32:39 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-09-04 21:54:18 -0300 |
commit | 43645ce915b5e453bfed2d078515046bc904d1ea (patch) | |
tree | 7c92a0292e0f9b83be3f49b24ba4d529965ad7d0 | |
parent | 8ed5dd871e6de96e4350ce3bdcbeb67df5691b7d (diff) | |
download | slackbuilds-43645ce915b5e453bfed2d078515046bc904d1ea.tar.gz |
network/opera: Updated for version 11.51.
Thanks to Ruarí Ødegaard <ruario@opera.com> for some tips.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | network/opera/fixup_libdir.diff | 48 | ||||
-rw-r--r-- | network/opera/opera.SlackBuild | 14 | ||||
-rw-r--r-- | network/opera/opera.info | 10 |
3 files changed, 12 insertions, 60 deletions
diff --git a/network/opera/fixup_libdir.diff b/network/opera/fixup_libdir.diff deleted file mode 100644 index 54e3734e40..0000000000 --- a/network/opera/fixup_libdir.diff +++ /dev/null @@ -1,48 +0,0 @@ -diff -Nur opera-11.50-1074.x86_64.linux.orig/install opera-11.50-1074.x86_64.linux/install ---- opera-11.50-1074.x86_64.linux.orig/install 2011-06-27 07:01:11.000000000 -0500 -+++ opera-11.50-1074.x86_64.linux/install 2011-07-06 01:12:20.290465769 -0500 -@@ -8,16 +8,16 @@ - then - "$@" GX - bin/uninstall-opera@@{SUFFIX} - fi -- "$@" NF 7f5617779c8a0c3ab3aed07274b85274 lib/opera@@{SUFFIX}/gstreamer/plugins/libgstoperamatroska.so -- "$@" NF 2873abacfe8fa4f8dc210175dbf8b71c lib/opera@@{SUFFIX}/gstreamer/plugins/libgstoperavp8.so -- "$@" NF f04788b0e63090d706ee55587580d8e0 lib/opera@@{SUFFIX}/liboperagtk.so -- "$@" NF 8c898c575c72634806c5086a63a5960f lib/opera@@{SUFFIX}/liboperakde4.so -- "$@" NX a83538e9fea0ef7f6e341ba75d357234 lib/opera@@{SUFFIX}/opera@@{SUFFIX} -- "$@" NX 3122e86518173f1795e022cf22e99a6a lib/opera@@{SUFFIX}/operaplugincleaner -- "$@" NX bc7331102ef434f19e5a275de153af66 lib/opera@@{SUFFIX}/operapluginwrapper -- "$@" NX b76cbde97922472317d1eb8cc79086cf lib/opera@@{SUFFIX}/operapluginwrapper-ia32-linux -- "$@" NX 23e36e618845efd96bc466261f9278fe lib/opera@@{SUFFIX}/operapluginwrapper-native -- "$@" NF 0a8389b127c477aa2c55ee5d234473ca lib/opera@@{SUFFIX}/plugins/README -+ "$@" NF 7f5617779c8a0c3ab3aed07274b85274 lib64/opera@@{SUFFIX}/gstreamer/plugins/libgstoperamatroska.so -+ "$@" NF 2873abacfe8fa4f8dc210175dbf8b71c lib64/opera@@{SUFFIX}/gstreamer/plugins/libgstoperavp8.so -+ "$@" NF f04788b0e63090d706ee55587580d8e0 lib64/opera@@{SUFFIX}/liboperagtk.so -+ "$@" NF 8c898c575c72634806c5086a63a5960f lib64/opera@@{SUFFIX}/liboperakde4.so -+ "$@" NX a83538e9fea0ef7f6e341ba75d357234 lib64/opera@@{SUFFIX}/opera@@{SUFFIX} -+ "$@" NX 3122e86518173f1795e022cf22e99a6a lib64/opera@@{SUFFIX}/operaplugincleaner -+ "$@" NX bc7331102ef434f19e5a275de153af66 lib64/opera@@{SUFFIX}/operapluginwrapper -+ "$@" NX b76cbde97922472317d1eb8cc79086cf lib64/opera@@{SUFFIX}/operapluginwrapper-ia32-linux -+ "$@" NX 23e36e618845efd96bc466261f9278fe lib64/opera@@{SUFFIX}/operapluginwrapper-native -+ "$@" NF 0a8389b127c477aa2c55ee5d234473ca lib64/opera@@{SUFFIX}/plugins/README - "$@" PF 7391965010108b488c3bc526c8c7015c share/applications/opera@@{SUFFIX}-browser.desktop - "$@" PF e78f45e2dc8098046f2a19e268031058 share/applications/opera@@{SUFFIX}-widget-installer.desktop - "$@" PF 4d84c2febef83fd835ebf0d9f1f5d7df share/applications/opera@@{SUFFIX}-widget-manager.desktop -@@ -873,7 +873,7 @@ - #!/bin/sh - export OPERA_DIR=${OPERA_DIR:-@@{PREFIX}/share/opera@@{SUFFIX}} - export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-$HOME/.opera@@{SUFFIX}} --exec @@{PREFIX}/lib/opera@@{SUFFIX}/opera@@{SUFFIX} "$@" -+exec @@{PREFIX}/lib64/opera@@{SUFFIX}/opera@@{SUFFIX} "$@" - EOF_generate_file - ;; - opera-widget-manager) -diff -Nur opera-11.50-1074.x86_64.linux.orig/opera opera-11.50-1074.x86_64.linux/opera ---- opera-11.50-1074.x86_64.linux.orig/opera 2011-06-27 07:01:11.000000000 -0500 -+++ opera-11.50-1074.x86_64.linux/opera 2011-07-06 01:11:55.216735389 -0500 -@@ -1,4 +1,4 @@ - #!/bin/sh - export OPERA_DIR=${OPERA_DIR:-"${0%/*}"/share/opera} - export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${0%/*}"/profile} --exec "${0%/*}"/lib/opera/opera "$@" -+exec "${0%/*}"/lib64/opera/opera "$@" diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild index eee1eab45e..0d87477299 100644 --- a/network/opera/opera.SlackBuild +++ b/network/opera/opera.SlackBuild @@ -26,8 +26,8 @@ # Now maintained by vvoody <vvoodywang@gmail.com> PRGNAM=opera -VERSION=11.50 -REVNO=1074 +VERSION=11.51 +REVNO=1087 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,14 +64,14 @@ cd $PRGNAM-${VERSION}-${REVNO}.${ARCH}.linux chown -R root:root . chmod -R u+w,go+r-w,a-s . -if [ "$LIBDIRSUFFIX" = "64" ]; then - patch -p1 < $CWD/fixup_libdir.diff - mv lib lib64 -fi - ./install \ --prefix /usr \ --repackage $PKG/usr + +if [ "$LIBDIRSUFFIX" = "64" ]; then + mv $PKG/usr/lib $PKG/usr/lib64 + sed -i "s,/lib/,/lib64/," $PKG/usr/bin/opera +fi mv $PKG/usr/share/man $PKG/usr diff --git a/network/opera/opera.info b/network/opera/opera.info index 7cfaa9d43f..95a595838a 100644 --- a/network/opera/opera.info +++ b/network/opera/opera.info @@ -1,10 +1,10 @@ PRGNAM="opera" -VERSION="11.50" +VERSION="11.51" HOMEPAGE="http://www.opera.com" -DOWNLOAD="ftp://ftp.opera.com/pub/opera/linux/1150/opera-11.50-1074.i386.linux.tar.xz" -MD5SUM="942ea1193c2d6a4e0714acb99a227e27" -DOWNLOAD_x86_64="ftp://ftp.opera.com/pub/opera/linux/1150/opera-11.50-1074.x86_64.linux.tar.xz" -MD5SUM_x86_64="40c06ac3d7cf3289b446499728a725a5" +DOWNLOAD="ftp://ftp.opera.com/pub/opera/linux/1151/opera-11.51-1087.i386.linux.tar.xz" +MD5SUM="06520e05c047628c470de55ac1a09ada" +DOWNLOAD_x86_64="ftp://ftp.opera.com/pub/opera/linux/1151/opera-11.51-1087.x86_64.linux.tar.xz" +MD5SUM_x86_64="1c58b067710fd4f14eb12dbca7bc8f8a" MAINTAINER="vvoody" EMAIL="vvoodywang@gmail.com" APPROVED="rworkman" |