summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2007-08-15 14:23:43 +0000
committerJeroen Roovers <jer@gentoo.org>2007-08-15 14:23:43 +0000
commit8cc724a43ad732a8b2e6b51089900c226c947e7a (patch)
tree1906fae6c0a32d083359458fab7b04c150310cfd /www-client
parentVersion bump, bug 188951 (diff)
downloadhistorical-8cc724a43ad732a8b2e6b51089900c226c947e7a.tar.gz
historical-8cc724a43ad732a8b2e6b51089900c226c947e7a.tar.bz2
historical-8cc724a43ad732a8b2e6b51089900c226c947e7a.zip
Version bump (bug #188987). Removed axxo from metadata.xml.
Package-Manager: portage-2.1.3.3
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog8
-rw-r--r--www-client/opera/Manifest29
-rw-r--r--www-client/opera/files/digest-opera-9.2318
-rw-r--r--www-client/opera/metadata.xml3
-rw-r--r--www-client/opera/opera-9.23.ebuild176
5 files changed, 222 insertions, 12 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index fa647b69ffe2..1c4020553e9a 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-client/opera
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.122 2007/08/09 14:45:29 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.123 2007/08/15 14:23:43 jer Exp $
+
+*opera-9.23 (15 Aug 2007)
+
+ 15 Aug 2007; Jeroen Roovers <jer@gentoo.org> metadata.xml,
+ +opera-9.23.ebuild:
+ Version bump (bug #188987). Removed axxo from metadata.xml.
*opera-9.23_rc660 (09 Aug 2007)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index ae2dfc6efdb8..4868147ca465 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -23,13 +23,23 @@ DIST opera-9.23-20070801.1-static-qt.sparc-en-657.tar.bz2 6739162 RMD160 20473ba
DIST opera-9.23-20070801.4-shared-qt.i386.freebsd-en-657.tar.bz2 5121836 RMD160 12741a46886049dd9509c4762f2c04038c259072 SHA1 38cff24797ce3d98eec53b84c06b1d42047ac844 SHA256 42647634825cc2b9cb80d2a35a414ce44a54775a7f4c57b5efc69e6af73622da
DIST opera-9.23-20070801.6-shared-qt.i386-en-657.tar.bz2 5225888 RMD160 9b5b44d2ff85ac588ddcfffe36e8eb0d51f87dfc SHA1 67b8b239b7252d043f029f51e7ac3fc12a6b682b SHA256 17977e662b17d1218a155afce209ea7e91055f64c6763187796cac469bcfce9f
DIST opera-9.23-20070809.1-static-qt.i386-en-660.tar.bz2 6801217 RMD160 76a28a3064f11141c3c3f67b455a9abd232ed41e SHA1 514751453e39ab2dad250306bc258011c2ecbf66 SHA256 2c698a895742ba3ea8d11193c2538ddac130cff7ed0d58da402e93ad83ffae28
+DIST opera-9.23-20070809.1-static-qt.i386-en.tar.bz2 6801217 RMD160 76a28a3064f11141c3c3f67b455a9abd232ed41e SHA1 514751453e39ab2dad250306bc258011c2ecbf66 SHA256 2c698a895742ba3ea8d11193c2538ddac130cff7ed0d58da402e93ad83ffae28
DIST opera-9.23-20070809.1-static-qt.i386.freebsd-en-660.tar.bz2 6547187 RMD160 8b2c7b34f813875ed4a8a94a1a72c644c4fbc1eb SHA1 dfdbe3c2e4b071dacfe34caade2b984482658f1f SHA256 a5292cd809994ae0e02daa393f42edc658a570a2be279b6923f4fde880921c3f
+DIST opera-9.23-20070809.1-static-qt.i386.freebsd-en.tar.bz2 6547187 RMD160 8b2c7b34f813875ed4a8a94a1a72c644c4fbc1eb SHA1 dfdbe3c2e4b071dacfe34caade2b984482658f1f SHA256 a5292cd809994ae0e02daa393f42edc658a570a2be279b6923f4fde880921c3f
+DIST opera-9.23-20070809.1-static-qt.ppc-en.tar.bz2 6838950 RMD160 3456c4b281c999540a4fe8d5b6597007f912f78b SHA1 206fc94f90030f5e9c606a65716bac35c275d211 SHA256 192af68d8a4efc239248cc3daf064b70f0e9f0e358c04f1c1c2a42aa3cbe2e7a
+DIST opera-9.23-20070809.1-static-qt.sparc-en.tar.bz2 6739303 RMD160 33132de7e6c6bf771694c64580b31b8f68ae6fc2 SHA1 a9a5d3cd51bcf3f00ac895e17cf53d350219b66f SHA256 75488d7849f42db876ec55a85fc74c178f9267b4b4b93a5dca5bbba99f5a97ae
DIST opera-9.23-20070809.4-shared-qt.i386.freebsd-en-660.tar.bz2 5122054 RMD160 1ec0e8076379be883dac96983f9caf4c9803e8bc SHA1 469a906e904ad76ceff722223dd47105209cf670 SHA256 d46f4402becd25e5a73239ec0cc129685749c4d5e0da6a0d00f3855b52997b82
+DIST opera-9.23-20070809.4-shared-qt.i386.freebsd-en.tar.bz2 5122054 RMD160 1ec0e8076379be883dac96983f9caf4c9803e8bc SHA1 469a906e904ad76ceff722223dd47105209cf670 SHA256 d46f4402becd25e5a73239ec0cc129685749c4d5e0da6a0d00f3855b52997b82
DIST opera-9.23-20070809.6-shared-qt.i386-en-660.tar.bz2 5227266 RMD160 7486b977cebe5d0ea0ebc112be876731c4f05032 SHA1 fcab6fd9cf125680d63ab94289db49a6d910380b SHA256 45acad2a9c0f1334e7de26bc090c9ee83b42245be242374d08b2ca176a64deed
+DIST opera-9.23-20070809.6-shared-qt.i386-en.tar.bz2 5227266 RMD160 7486b977cebe5d0ea0ebc112be876731c4f05032 SHA1 fcab6fd9cf125680d63ab94289db49a6d910380b SHA256 45acad2a9c0f1334e7de26bc090c9ee83b42245be242374d08b2ca176a64deed
EBUILD opera-9.22.ebuild 5640 RMD160 c36aaceaea0e658a9fc267797c6b4a40cb96e891 SHA1 c35670e8ebb6a17c397dcc8d216c4a9937834877 SHA256 0340c65b4b259aa6422e35a88de38340e10c34b4c25c6ee71d7f66dc516bf669
MD5 170d9b891e707c7d63cb9cd283334e86 opera-9.22.ebuild 5640
RMD160 c36aaceaea0e658a9fc267797c6b4a40cb96e891 opera-9.22.ebuild 5640
SHA256 0340c65b4b259aa6422e35a88de38340e10c34b4c25c6ee71d7f66dc516bf669 opera-9.22.ebuild 5640
+EBUILD opera-9.23.ebuild 5643 RMD160 53e00c87f9a4345e1f98d1294c9cbac6df896801 SHA1 a37a8add6a601bd7e330f28078c332c0ec5ffeb7 SHA256 4c66a3badcc812e25300afc9f6b942da90ba08bc4e1f9afb955d0ea7d77dc8c3
+MD5 fc421a9a4ed3dc2195bfbb4c9e8f4591 opera-9.23.ebuild 5643
+RMD160 53e00c87f9a4345e1f98d1294c9cbac6df896801 opera-9.23.ebuild 5643
+SHA256 4c66a3badcc812e25300afc9f6b942da90ba08bc4e1f9afb955d0ea7d77dc8c3 opera-9.23.ebuild 5643
EBUILD opera-9.23_rc657.ebuild 5594 RMD160 670e6a6eee0322995b5e65a817005ce209c045d2 SHA1 de5b0d7503b28bedfa3a9d489b17139f53ed2b58 SHA256 dde4025a407d818235f2efbbc3ef454427b46e79a61ffc43be29d8534e06eef8
MD5 0a64b17bed34ab2aa6da76c8f00e1558 opera-9.23_rc657.ebuild 5594
RMD160 670e6a6eee0322995b5e65a817005ce209c045d2 opera-9.23_rc657.ebuild 5594
@@ -38,17 +48,20 @@ EBUILD opera-9.23_rc660.ebuild 5378 RMD160 d1a536d09b28d57c36b8d89bc48ad2a29cc76
MD5 31c2e3393a945b24d54d477112a136ea opera-9.23_rc660.ebuild 5378
RMD160 d1a536d09b28d57c36b8d89bc48ad2a29cc760be opera-9.23_rc660.ebuild 5378
SHA256 09a75329799ae95e59b19e1c29f02eaf82ba52e9847f92f5ef2ec8fff1fedf64 opera-9.23_rc660.ebuild 5378
-MISC ChangeLog 30911 RMD160 ab3a1aee7bb4ed9d006de93a4e2b7f4fde64e362 SHA1 14e0f892b21388d7beebae64a23ef839c0e5c11a SHA256 0f61c09e3dbcaadefe1a4be7ddde1f13c5f0bfc6b24f8c6e57ac12122e3ed7e8
-MD5 681e652863302382a9c696ec372ab157 ChangeLog 30911
-RMD160 ab3a1aee7bb4ed9d006de93a4e2b7f4fde64e362 ChangeLog 30911
-SHA256 0f61c09e3dbcaadefe1a4be7ddde1f13c5f0bfc6b24f8c6e57ac12122e3ed7e8 ChangeLog 30911
-MISC metadata.xml 314 RMD160 a8ac5ef4c09e8e84b23eda16e27c5c9ff94be3ca SHA1 e8c243cb101fa6394ab03e798b26a9236416c778 SHA256 d2bd8cedc8024568ce3ed94a8fc2f973c7e713990aac862e03cdded86d57beb8
-MD5 dbaecd1106290cdb2646380dd226c9e8 metadata.xml 314
-RMD160 a8ac5ef4c09e8e84b23eda16e27c5c9ff94be3ca metadata.xml 314
-SHA256 d2bd8cedc8024568ce3ed94a8fc2f973c7e713990aac862e03cdded86d57beb8 metadata.xml 314
+MISC ChangeLog 31084 RMD160 fce5f2fc614d727fdb9702a76a0c8893ad20a74c SHA1 0fd4156a61ad9bd99c706c2292a95bc349f584a2 SHA256 ab37f7a4ec897bddee55763b91b6ca6f4f29c2047900f706daee5afa7cbd5d40
+MD5 aaf0cc690599ea069652a72c6447cefc ChangeLog 31084
+RMD160 fce5f2fc614d727fdb9702a76a0c8893ad20a74c ChangeLog 31084
+SHA256 ab37f7a4ec897bddee55763b91b6ca6f4f29c2047900f706daee5afa7cbd5d40 ChangeLog 31084
+MISC metadata.xml 252 RMD160 ed7e3d6637ec96975f17ce5c33628aa482dfd663 SHA1 ddd00321e20f4a53a140eeb56cb01b9fab24d657 SHA256 76fd24f00e95b2892ca60acdce02d8c85dfeff84fc89ca14ffdbc00b82de44b3
+MD5 fbe6e8a03b222b84e9afcf23787c30dc metadata.xml 252
+RMD160 ed7e3d6637ec96975f17ce5c33628aa482dfd663 metadata.xml 252
+SHA256 76fd24f00e95b2892ca60acdce02d8c85dfeff84fc89ca14ffdbc00b82de44b3 metadata.xml 252
MD5 701169d686f467bff1f9a145e54f32d4 files/digest-opera-9.22 1998
RMD160 660722c1caea45119eadc2253ccd06ce837c9e62 files/digest-opera-9.22 1998
SHA256 410c8d9a9c6fde810ee2f8200738904cc2bca1876c2d1cba2cbb928a6788b7f2 files/digest-opera-9.22 1998
+MD5 12c1b5de49c1a6539dc4a901da1d470c files/digest-opera-9.23 1998
+RMD160 6f2b41624581de775f2f0936c47c3b0aa79b88cc files/digest-opera-9.23 1998
+SHA256 0e5c6257c474cbae0213023c6ae8f81943f72a9d693b7a6c140b9ee479d7070c files/digest-opera-9.23 1998
MD5 2f13b959866ce2f73094287a0ea72c67 files/digest-opera-9.23_rc657 2070
RMD160 e3d158ded8e110b7f0b13b12afbdf07a313750aa files/digest-opera-9.23_rc657 2070
SHA256 5de03c20a66ebc67f51555792f25c3e459395a6ac76e16862ee5766033a4c56b files/digest-opera-9.23_rc657 2070
diff --git a/www-client/opera/files/digest-opera-9.23 b/www-client/opera/files/digest-opera-9.23
new file mode 100644
index 000000000000..5165ee44995b
--- /dev/null
+++ b/www-client/opera/files/digest-opera-9.23
@@ -0,0 +1,18 @@
+MD5 0c721abff854df6c8ec7746956a37f55 opera-9.23-20070809.1-static-qt.i386-en.tar.bz2 6801217
+RMD160 76a28a3064f11141c3c3f67b455a9abd232ed41e opera-9.23-20070809.1-static-qt.i386-en.tar.bz2 6801217
+SHA256 2c698a895742ba3ea8d11193c2538ddac130cff7ed0d58da402e93ad83ffae28 opera-9.23-20070809.1-static-qt.i386-en.tar.bz2 6801217
+MD5 dddff7d9045a0e8b581cf69e68c10d28 opera-9.23-20070809.1-static-qt.i386.freebsd-en.tar.bz2 6547187
+RMD160 8b2c7b34f813875ed4a8a94a1a72c644c4fbc1eb opera-9.23-20070809.1-static-qt.i386.freebsd-en.tar.bz2 6547187
+SHA256 a5292cd809994ae0e02daa393f42edc658a570a2be279b6923f4fde880921c3f opera-9.23-20070809.1-static-qt.i386.freebsd-en.tar.bz2 6547187
+MD5 132fa2d85a2e0c2840b8bf2d27cfc93d opera-9.23-20070809.1-static-qt.ppc-en.tar.bz2 6838950
+RMD160 3456c4b281c999540a4fe8d5b6597007f912f78b opera-9.23-20070809.1-static-qt.ppc-en.tar.bz2 6838950
+SHA256 192af68d8a4efc239248cc3daf064b70f0e9f0e358c04f1c1c2a42aa3cbe2e7a opera-9.23-20070809.1-static-qt.ppc-en.tar.bz2 6838950
+MD5 98a84755df7d74812e8b8fa20d09d929 opera-9.23-20070809.1-static-qt.sparc-en.tar.bz2 6739303
+RMD160 33132de7e6c6bf771694c64580b31b8f68ae6fc2 opera-9.23-20070809.1-static-qt.sparc-en.tar.bz2 6739303
+SHA256 75488d7849f42db876ec55a85fc74c178f9267b4b4b93a5dca5bbba99f5a97ae opera-9.23-20070809.1-static-qt.sparc-en.tar.bz2 6739303
+MD5 6ff2bf3d6a90085a8795656375447699 opera-9.23-20070809.4-shared-qt.i386.freebsd-en.tar.bz2 5122054
+RMD160 1ec0e8076379be883dac96983f9caf4c9803e8bc opera-9.23-20070809.4-shared-qt.i386.freebsd-en.tar.bz2 5122054
+SHA256 d46f4402becd25e5a73239ec0cc129685749c4d5e0da6a0d00f3855b52997b82 opera-9.23-20070809.4-shared-qt.i386.freebsd-en.tar.bz2 5122054
+MD5 8e9cb7d05c7a15d23c77d9eaaf5bbca3 opera-9.23-20070809.6-shared-qt.i386-en.tar.bz2 5227266
+RMD160 7486b977cebe5d0ea0ebc112be876731c4f05032 opera-9.23-20070809.6-shared-qt.i386-en.tar.bz2 5227266
+SHA256 45acad2a9c0f1334e7de26bc090c9ee83b42245be242374d08b2ca176a64deed opera-9.23-20070809.6-shared-qt.i386-en.tar.bz2 5227266
diff --git a/www-client/opera/metadata.xml b/www-client/opera/metadata.xml
index eef6180d5de6..6b29bc518eb4 100644
--- a/www-client/opera/metadata.xml
+++ b/www-client/opera/metadata.xml
@@ -3,9 +3,6 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>axxo@gentoo.org</email>
- </maintainer>
- <maintainer>
<email>jer@gentoo.org</email>
<name>Jeroen Roovers</name>
</maintainer>
diff --git a/www-client/opera/opera-9.23.ebuild b/www-client/opera/opera-9.23.ebuild
new file mode 100644
index 000000000000..84951e5c423a
--- /dev/null
+++ b/www-client/opera/opera-9.23.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.23.ebuild,v 1.1 2007/08/15 14:23:43 jer Exp $
+
+GCONF_DEBUG="no"
+
+inherit eutils gnome2
+
+DESCRIPTION="Opera web browser"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-9.0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+
+IUSE="qt-static spell gnome"
+RESTRICT="strip mirror"
+
+OPERALNG="en"
+OPERASUFF="660"
+OPERAVER="9.23-20070809"
+OPERAFTP="923/final/${OPERALNG}"
+
+OPERA_URI="mirror://opera/"
+SRC_URI="
+ x86? ( qt-static? ( ${OPERA_URI}linux/${OPERAFTP}/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-${OPERALNG}.tar.bz2 ) )
+ x86? ( !qt-static? ( ${OPERA_URI}linux/${OPERAFTP}/i386/shared/${PN}-${OPERAVER}.6-shared-qt.i386-${OPERALNG}.tar.bz2 ) )
+ amd64? ( qt-static? ( ${OPERA_URI}linux/${OPERAFTP}/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-${OPERALNG}.tar.bz2 ) )
+ amd64? ( !qt-static? ( ${OPERA_URI}linux/${OPERAFTP}/i386/shared/${PN}-${OPERAVER}.6-shared-qt.i386-${OPERALNG}.tar.bz2 ) )
+ sparc? ( ${OPERA_URI}linux/${OPERAFTP}/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-${OPERALNG}.tar.bz2 )
+ ppc? ( ${OPERA_URI}linux/${OPERAFTP}/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-${OPERALNG}.tar.bz2 )
+ x86-fbsd? ( !qt-static? ( ${OPERA_URI}unix/freebsd/${OPERAFTP}/shared/${PN}-${OPERAVER}.4-shared-qt.i386.freebsd-${OPERALNG}.tar.bz2 ) )
+ x86-fbsd? ( qt-static? ( ${OPERA_URI}unix/freebsd/${OPERAFTP}/static/${PN}-${OPERAVER}.1-static-qt.i386.freebsd-${OPERALNG}.tar.bz2 ) )"
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="x11-libs/libXrandr
+ x11-libs/libXp
+ x11-libs/libXmu
+ x11-libs/libXi
+ x11-libs/libXft
+ x11-libs/libXext
+ x11-libs/libXcursor
+ x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ >=media-libs/fontconfig-2.1.94-r1
+ amd64? ( qt-static? ( app-emulation/emul-linux-x86-xlibs )
+ !qt-static? ( app-emulation/emul-linux-x86-qtlibs ) )
+ !amd64? ( media-libs/libexif
+ spell? ( app-text/aspell )
+ x86? ( !qt-static? ( =x11-libs/qt-3* ) )
+ media-libs/jpeg )
+ x86-fbsd? ( =virtual/libstdc++-3*
+ !qt-static? ( =x11-libs/qt-3* ) )"
+
+S=${WORKDIR}/${A/.tar.bz2/}-${OPERASUFF}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/${PN}-9.00-install.patch"
+ epatch "${FILESDIR}/${PN}-9.21-pluginpath.patch"
+
+ sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \
+ -e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \
+ -e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \
+ -e "s:/usr/share/icons:${D}/usr/share/icons:g" \
+ -e "s:/etc/X11:${D}/etc/X11:g" \
+ -e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \
+ -e "s:/opt/gnome/share:${D}/opt/gnome/share:g" \
+ -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \
+ -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \
+ -e 's:read str_answer:return 0:' \
+ -e "s:/opt/kde:${D}/usr/kde:" \
+ -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \
+ install.sh || die "sed failed"
+}
+
+src_compile() {
+ # This workaround is sadly needed because gnome2.eclass doesn't check
+ # whether a configure script or Makefile exists.
+ true
+}
+
+src_install() {
+ # Prepare installation directories for Opera's installer script.
+ dodir /etc
+
+ # Opera's native installer.
+ if use amd64; then
+ linux32 ./install.sh --prefix="${D}"/opt/opera || die
+ else
+ ./install.sh --prefix="${D}"/opt/opera || die
+ fi
+
+ # java workaround
+ sed -i -e 's:LD_PRELOAD="${OPERA_JAVA_DIR}/libawt.so":LD_PRELOAD="$LD_PRELOAD"\:"${OPERA_JAVA_DIR}/libawt.so":' ${D}/opt/opera/bin/opera
+
+ dosed /opt/opera/bin/opera
+ dosed /opt/opera/share/opera/java/opera.policy
+
+ # Install the icons
+ insinto /usr/share/pixmaps
+ doins images/opera.xpm
+ for res in 16x16 22x22 32x32 48x48 ; do
+ insinto /usr/share/icons/hicolor/${res}/apps/
+ newins images/opera_${res}.png opera.png
+ done
+
+ # Install the menu entry
+ insinto /usr/share/applications
+ doins ${FILESDIR}/opera.desktop
+
+ # Install a symlink /usr/bin/opera
+ dodir /usr/bin
+ dosym /opt/opera/bin/opera /usr/bin/opera
+
+ # fix plugin path
+ echo "Plugin Path=/opt/opera/lib/opera/plugins" >> ${D}/etc/opera6rc
+
+ # enable spellcheck
+ if use spell; then
+ if use qt-static; then
+ DIR=$OPERAVER.1
+ else
+ use sparc && DIR=$OPERAVER.2 || DIR=$OPERAVER.5
+ fi
+ echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini
+ fi
+
+ dodir /etc/revdep-rebuild
+ echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > ${D}/etc/revdep-rebuild/90opera
+
+ # Change libz.so.3 to libz.so.1 for gentoo/freebsd
+ if use x86-fbsd; then
+ scanelf -qR -N libz.so.3 -F "#N" "${D}"/opt/${PN}/ | \
+ while read i; do
+ if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]];
+ then
+ export SANITY_CHECK_LIBZ_FAILED=1
+ break
+ fi
+ sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i"
+ done
+ [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
+ fi
+
+ # symlink to libflash-player.so:
+ dosym /opt/netscape/plugins/libflashplayer.so \
+ /opt/opera/lib/opera/plugins/libflashplayer.so
+
+ # Add the Opera man dir to MANPATH:
+ insinto /etc/env.d
+ echo 'MANPATH="/opt/opera/share/man"' >> ${D}/etc/env.d/90opera
+}
+
+pkg_postinst() {
+ use gnome && gnome2_pkg_postinst
+
+ elog "For localized language files take a look at:"
+ elog " http://www.opera.com/download/languagefiles/index.dml"
+ elog
+ elog "To use the spellchecker (USE=spell) for non-English simply do"
+ elog "$ emerge app-dicts/aspell-[your language]."
+
+ if use x86-fbsd; then
+ elog
+ elog "To improve shared memory usage please set:"
+ elog "$ sysctl kern.ipc.shm_allow_removed=1"
+ fi
+}
+
+pkg_postrm() {
+ use gnome && gnome2_pkg_postrm
+}