DIST opera-9.02-20060919.1-static-qt.ppc-en.tar.bz2 6750005 RMD160 23a49ee537ff4639a32fedac473e501336d4c2fe SHA1 b492f47749d4d32d59ad6c0dd28ff94e96290dd9 SHA256 61ad61b4d688651cfaf4512fb774ba25b909a9705954e51c4c06070e0ceb70ac
DIST opera-9.02-20060919.1-static-qt.sparc-en.tar.bz2 6657213 RMD160 873941800f49b8a76a9d4a6a68abdebb5c1ca741 SHA1 229fa21c4f98eb0c66ef9fef285fab007b7c5592 SHA256 61c5672a325da685d0a6a609569dd1fda76917ef6a053abcb6ce4f513b2d88b0
DIST opera-9.02-20060919.6-shared-qt.i386-en.tar.bz2 5131685 RMD160 2ea2657412f7b1f13b753e5749b5762cdbdb1e02 SHA1 c2d0db92d65bbd9f1de9f0aeca8efa91527737d6 SHA256 3bc6fe4b83381bf94a17096b73e71f869f4723ea8a6c88154c286752db0f121a
+DIST opera-9.10-20061214.1-static-qt.i386-en.tar.bz2 6719119 RMD160 66802961788986263dd46b7bc4790d6f1aae39f1 SHA1 229e689b36312e20e73d31867a013042da76e7f2 SHA256 b1c7152a4c71433cb4c3bf1ae7fc148fef3ced87e658a65530e8d478db089f7f
+DIST opera-9.10-20061214.1-static-qt.ppc-en.tar.bz2 6768592 RMD160 6b570dc360affd8c76d055d38f2583c6387f465e SHA1 95c64e491ce04b2c7d1ab67f5eecd08ab0b4a76f SHA256 ecf0955829cf8bc19efea85d782e5d84ff3c3b54d2e1c7cb982fac90ed63d2c6
+DIST opera-9.10-20061214.1-static-qt.sparc-en.tar.bz2 6665822 RMD160 70d3fb8119105b6c8ab033de0647a1810e225aed SHA1 3f567849ce6c28b9872f02c2cd348046a15ef073 SHA256 72412222538de10be2764c391bfb11a087b2a50a110cbe84f690513e81303c92
+DIST opera-9.10-20061214.6-shared-qt.i386-en.tar.bz2 5141554 RMD160 e7ffc8a1773a8e803263deae03ab3954d317b62b SHA1 a66caf047b19a58174f6dd17065fbecc3f71fb07 SHA256 df88e002895c01e7ac34cc52378f2234ae95a606c87d57470eae04c805764785
EBUILD opera-9.02.ebuild 4422 RMD160 3dbe155752c9c84b1587c0b9c35bac6c79cf2327 SHA1 4629bdc07eab95f046a5fbcf9a56e8f567f75e70 SHA256 798f2472de8d4e37bfb5567e855f9824afbb0875c755f9c7bfc2c917a1397625
MD5 2daa85ec5e1989bf32ea1107205e5739 opera-9.02.ebuild 4422
RMD160 3dbe155752c9c84b1587c0b9c35bac6c79cf2327 opera-9.02.ebuild 4422
SHA256 798f2472de8d4e37bfb5567e855f9824afbb0875c755f9c7bfc2c917a1397625 opera-9.02.ebuild 4422
-MISC ChangeLog 23706 RMD160 d6ee04a7865fc4a54867e4aeda1c16c65483dc3f SHA1 1e08057d73b9aee4b33ea6cc40e4f1d1634fde5b SHA256 76e0714453298b0431196dc11cf28ba2da239eea55a0e69d490210e8ca6ee003
-MD5 1c2573fbbb4a8e7d6dbf4bb8ab83cb23 ChangeLog 23706
-RMD160 d6ee04a7865fc4a54867e4aeda1c16c65483dc3f ChangeLog 23706
-SHA256 76e0714453298b0431196dc11cf28ba2da239eea55a0e69d490210e8ca6ee003 ChangeLog 23706
+EBUILD opera-9.10.ebuild 4423 RMD160 3229bf6067c6346f5073d4bfe835c02a45073f77 SHA1 9756c0820fc395268ac8280ee7b8061927241e58 SHA256 33a2163bdb9630336c58d5c29167c500f9a782f3e1ea35d02353ed02fcac9155
+MD5 090b7176d70415787b1cac5d7859f669 opera-9.10.ebuild 4423
+RMD160 3229bf6067c6346f5073d4bfe835c02a45073f77 opera-9.10.ebuild 4423
+SHA256 33a2163bdb9630336c58d5c29167c500f9a782f3e1ea35d02353ed02fcac9155 opera-9.10.ebuild 4423
+MISC ChangeLog 23831 RMD160 e70c011bdac61487be1ae576d03bf849d04c75bb SHA1 511d21d1a50cafdf7daaca4d247dd7d67f530301 SHA256 e5eb7a5ee34c48c8aedceb921355271b487551c0b3e049f14ed9b54f45b487d4
+MD5 669b9b16ad191170334f92480df39b47 ChangeLog 23831
+RMD160 e70c011bdac61487be1ae576d03bf849d04c75bb ChangeLog 23831
+SHA256 e5eb7a5ee34c48c8aedceb921355271b487551c0b3e049f14ed9b54f45b487d4 ChangeLog 23831
MISC metadata.xml 220 RMD160 7ff7ad4c6e8d172bcfc712cdea261e851838129c SHA1 0718289f296f6229a8833cf44f48cc0f683b682b SHA256 4e10c895f4654efa60587dd3c2febe6c18471fbf752cde4a12fbe884b3cfa287
MD5 db97f8b4a8ea79d4f2660a1fdb6d4a01 metadata.xml 220
RMD160 7ff7ad4c6e8d172bcfc712cdea261e851838129c metadata.xml 220
MD5 026ea2aa29249ec90c1bd872d293e1be files/digest-opera-9.02 1300
RMD160 2156528b181af48f9709a334ed66d7ddf97dffc4 files/digest-opera-9.02 1300
SHA256 8bd88818fae0401031093e01667641b33ca99b429ead8f911017fff6f6f604e6 files/digest-opera-9.02 1300
+MD5 3b6b9572725ae704fd56d9cd2ffd0149 files/digest-opera-9.10 1300
+RMD160 7dcfd3689a68a10f71e4ab9a0b592b3279ba6191 files/digest-opera-9.10 1300
+SHA256 7d571422545372a5e5cb73a5581b5bb790d89e15b377dce6d1f6e682409cfd77 files/digest-opera-9.10 1300
--- /dev/null
+MD5 dccdc5252ffc6658f3c46f32c64c8219 opera-9.10-20061214.1-static-qt.i386-en.tar.bz2 6719119
+RMD160 66802961788986263dd46b7bc4790d6f1aae39f1 opera-9.10-20061214.1-static-qt.i386-en.tar.bz2 6719119
+SHA256 b1c7152a4c71433cb4c3bf1ae7fc148fef3ced87e658a65530e8d478db089f7f opera-9.10-20061214.1-static-qt.i386-en.tar.bz2 6719119
+MD5 d67428a09a036e786efc22e03150a344 opera-9.10-20061214.1-static-qt.ppc-en.tar.bz2 6768592
+RMD160 6b570dc360affd8c76d055d38f2583c6387f465e opera-9.10-20061214.1-static-qt.ppc-en.tar.bz2 6768592
+SHA256 ecf0955829cf8bc19efea85d782e5d84ff3c3b54d2e1c7cb982fac90ed63d2c6 opera-9.10-20061214.1-static-qt.ppc-en.tar.bz2 6768592
+MD5 e7bcbbaa48a63827d0efc60cf6fef68d opera-9.10-20061214.1-static-qt.sparc-en.tar.bz2 6665822
+RMD160 70d3fb8119105b6c8ab033de0647a1810e225aed opera-9.10-20061214.1-static-qt.sparc-en.tar.bz2 6665822
+SHA256 72412222538de10be2764c391bfb11a087b2a50a110cbe84f690513e81303c92 opera-9.10-20061214.1-static-qt.sparc-en.tar.bz2 6665822
+MD5 f4d7007948c2841583314f321ff88e30 opera-9.10-20061214.6-shared-qt.i386-en.tar.bz2 5141554
+RMD160 e7ffc8a1773a8e803263deae03ab3954d317b62b opera-9.10-20061214.6-shared-qt.i386-en.tar.bz2 5141554
+SHA256 df88e002895c01e7ac34cc52378f2234ae95a606c87d57470eae04c805764785 opera-9.10-20061214.6-shared-qt.i386-en.tar.bz2 5141554
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.10.ebuild,v 1.1 2006/12/18 22:45:29 jer Exp $
+
+GCONF_DEBUG="no"
+inherit eutils gnome2
+
+IUSE="qt-static spell gnome"
+RESTRICT="nomirror"
+
+OPERALNG="en"
+OPERAVER="9.10-20061214"
+OPERAFTPDIR="910/final/${OPERALNG}"
+OPERASUFF="521"
+
+
+DESCRIPTION="Opera web browser."
+HOMEPAGE="http://www.opera.com"
+
+OPERA_URI="ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/"
+SRC_URI="
+ x86? ( qt-static? ( ${OPERA_URI}i386/static/${PN}-${OPERAVER}.1-static-qt.i386-${OPERALNG}.tar.bz2 ) )
+ x86? ( !qt-static? ( ${OPERA_URI}i386/shared/${PN}-${OPERAVER}.6-shared-qt.i386-${OPERALNG}.tar.bz2 ) )
+ amd64? ( qt-static? ( ${OPERA_URI}i386/static/${PN}-${OPERAVER}.1-static-qt.i386-${OPERALNG}.tar.bz2 ) )
+ amd64? ( !qt-static? ( ${OPERA_URI}i386/shared/${PN}-${OPERAVER}.6-shared-qt.i386-${OPERALNG}.tar.bz2 ) )
+ sparc? ( ${OPERA_URI}sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-${OPERALNG}.tar.bz2 )
+ ppc? ( ${OPERA_URI}ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-${OPERALNG}.tar.bz2 )"
+
+S=${WORKDIR}/${A/.tar.bz2/}-${OPERASUFF}
+DEPEND=">=sys-apps/sed-4
+ amd64? ( sys-apps/setarch )"
+
+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
+ )
+ virtual/x11
+ )
+ >=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 )"
+
+SLOT="0"
+LICENSE="OPERA-9.0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/${PN}-9.00-install.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
+}
+
+src_compile() {
+ true
+}
+
+src_install() {
+ # Prepare installation directories for Opera's installer script.
+ dodir /etc
+
+ # Opera's native installer.
+ if [ ${ARCH} = "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
+}
+
+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?platform=linux"
+ elog
+ elog "To change the spellcheck language edit /opt/opera/share/opera/ini/spellcheck.ini"
+ elog "and emerge app-dicts/aspell-language."
+}
+
+
+pkg_postrm() {
+ use gnome && gnome2_pkg_postrm
+}