diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2005-03-02 11:25:40 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2005-03-02 11:25:40 +0000 |
commit | bb5c4b1ae681846e9f58af3f183326e2feeea7c3 (patch) | |
tree | c01735ff1b07eefab5550a28d93b80e7d9636963 /net-www | |
parent | small fix (diff) | |
download | gentoo-2-bb5c4b1ae681846e9f58af3f183326e2feeea7c3.tar.gz gentoo-2-bb5c4b1ae681846e9f58af3f183326e2feeea7c3.tar.bz2 gentoo-2-bb5c4b1ae681846e9f58af3f183326e2feeea7c3.zip |
versino bump; cleanups
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/opera/ChangeLog | 9 | ||||
-rw-r--r-- | net-www/opera/files/digest-opera-7.54 | 4 | ||||
-rw-r--r-- | net-www/opera/files/digest-opera-7.54-r1 | 4 | ||||
-rw-r--r-- | net-www/opera/files/digest-opera-7.54-r2 | 4 | ||||
-rw-r--r-- | net-www/opera/files/digest-opera-7.60_alpha4 | 5 | ||||
-rw-r--r-- | net-www/opera/files/digest-opera-8.00_beta2 | 4 | ||||
-rw-r--r-- | net-www/opera/opera-7.54-r1.ebuild | 133 | ||||
-rw-r--r-- | net-www/opera/opera-7.54-r2.ebuild | 133 | ||||
-rw-r--r-- | net-www/opera/opera-7.54.ebuild | 133 | ||||
-rw-r--r-- | net-www/opera/opera-8.00_beta2.ebuild (renamed from net-www/opera/opera-7.60_alpha4.ebuild) | 27 |
10 files changed, 24 insertions, 432 deletions
diff --git a/net-www/opera/ChangeLog b/net-www/opera/ChangeLog index ef9d046ed822..9a97c0592866 100644 --- a/net-www/opera/ChangeLog +++ b/net-www/opera/ChangeLog @@ -1,10 +1,17 @@ # ChangeLog for net-www/opera # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/opera/ChangeLog,v 1.93 2005/02/14 23:05:31 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/opera/ChangeLog,v 1.94 2005/03/02 11:25:40 lanius Exp $ 15 Feb 2005; Sven Wegener <swegener@gentoo.org> : Added missing digest entries. +*opera-8.00_beta2 (02 Mar 2005) + + 02 Mar 2005; Heinrich Wendel <lanius@gentoo.org> -opera-7.54-r1.ebuild, + -opera-7.54-r2.ebuild, -opera-7.54.ebuild, -opera-7.60_alpha4.ebuild, + +opera-8.00_beta2.ebuild: + version bump; cleanups + *opera-7.54-r3 (14 Feb 2005) 14 Feb 2005; Heinrich Wendel <lanius@gentoo.org> +opera-7.54-r3.ebuild: diff --git a/net-www/opera/files/digest-opera-7.54 b/net-www/opera/files/digest-opera-7.54 deleted file mode 100644 index 821af2a8be69..000000000000 --- a/net-www/opera/files/digest-opera-7.54 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 0a7e933ef593d4b7a897041c9f87bba2 opera-7.54-20040803.1-static-qt.i386-en.tar.bz2 4872070 -MD5 0e407a050f3aa4559011a3cea707cd20 opera-7.54-20040803.5-shared-qt.i386-en.tar.bz2 3671584 -MD5 c11a4c78d18bdaa4bd338b4c0dc27f38 opera-7.54-20040803.1-static-qt.ppc-en.tar.bz2 4918391 -MD5 04976a6ace7a4345ce5e4cf763159939 opera-7.54-20040803.1-static-qt.sparc-en.tar.bz2 4861602 diff --git a/net-www/opera/files/digest-opera-7.54-r1 b/net-www/opera/files/digest-opera-7.54-r1 deleted file mode 100644 index b9eee7b1cc73..000000000000 --- a/net-www/opera/files/digest-opera-7.54-r1 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 fcf99a5dd13ef6fbb7494992a05bd0ea opera-7.54-20041210.1-static-qt.i386-en.tar.bz2 4880472 -MD5 98a000472a45bd175061aee68c2371d8 opera-7.54-20041210.5-shared-qt.i386-en.tar.bz2 3679750 -MD5 9ddaa675f622ffc18149adb4e91976ef opera-7.54-20041210.1-static-qt.ppc-en.tar.bz2 4927010 -MD5 31726ea7c4f932b96ba51b327e6fa63f opera-7.54-20041210.1-static-qt.sparc-en.tar.bz2 4872683 diff --git a/net-www/opera/files/digest-opera-7.54-r2 b/net-www/opera/files/digest-opera-7.54-r2 deleted file mode 100644 index a3299b5a230a..000000000000 --- a/net-www/opera/files/digest-opera-7.54-r2 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 afc1819c0377da89174ba2a47924b867 opera-7.54-20050131.1-static-qt.i386-en.tar.bz2 4863686 -MD5 3ba228b88e75258ce6fd570a0a46de23 opera-7.54-20050131.5-shared-qt.i386-en.tar.bz2 3663361 -MD5 c37cfe4f6b168a766dbe07b95d8914c7 opera-7.54-20050131.1-static-qt.ppc-en.tar.bz2 4926043 -MD5 8860c4d23384509e38c135ddfbaed2a5 opera-7.54-20050131.1-static-qt.sparc-en.tar.bz2 4872149 diff --git a/net-www/opera/files/digest-opera-7.60_alpha4 b/net-www/opera/files/digest-opera-7.60_alpha4 deleted file mode 100644 index 78548e26a984..000000000000 --- a/net-www/opera/files/digest-opera-7.60_alpha4 +++ /dev/null @@ -1,5 +0,0 @@ -MD5 a96d208ca236db4f9a6433b2b4eb43da opera-7.60-20041203.1-static-qt.i386-en.tar.bz2 5146273 -MD5 827f62ae5781e4f66c0d30c39723dae9 opera-7.60-20041203.5-shared-qt.i386-en.tar.bz2 3759301 -MD5 793af778c64d49299cbfe0f8e07ff7c4 opera-7.60-20041203.1-static-qt.sparc-en.tar.bz2 4935306 -MD5 16c77233c49ac600bed54c61898c15b7 opera-7.60-20041203.2-shared-qt.sparc-en.tar.bz2 3636859 -MD5 2206d46e06b36c894da7d76a2c44a80e opera-7.60-20041203.1-static-qt.ppc-en.tar.bz2 5029521 diff --git a/net-www/opera/files/digest-opera-8.00_beta2 b/net-www/opera/files/digest-opera-8.00_beta2 new file mode 100644 index 000000000000..24219dbfc8ba --- /dev/null +++ b/net-www/opera/files/digest-opera-8.00_beta2 @@ -0,0 +1,4 @@ +MD5 c514d0a5254a46e686118302bd0a554f opera-8.0-20050225.1-static-qt.i386-en.tar.bz2 4982797 +MD5 ee30a4c5daa1fc96aeb1ddf436834cec opera-8.0-20050225.5-shared-qt.i386-en.tar.bz2 3806491 +MD5 4370b9b55c4c3991582c90452e3aed5c opera-8.0-20050225.1-static-qt.sparc-en.tar.bz2 4995977 +MD5 08c34b4fdc11860fe2c05f9ab235048c opera-8.0-20050225.1-static-qt.ppc-en.tar.bz2 5071697 diff --git a/net-www/opera/opera-7.54-r1.ebuild b/net-www/opera/opera-7.54-r1.ebuild deleted file mode 100644 index 63c21aae308a..000000000000 --- a/net-www/opera/opera-7.54-r1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-7.54-r1.ebuild,v 1.4 2005/02/08 17:57:53 lanius Exp $ - -IUSE="static spell" - -OPERAVER="7.54-20041210" -OPERAFTPDIR="754u1" - -S=${WORKDIR}/${A/.tar.bz2/} - -DESCRIPTION="Opera web browser." -HOMEPAGE="http://www.opera.com/linux/" - -# that's an ugly workaround for the broken src_uri syntax -SRC_URI=" - x86? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) - x86? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) - amd64? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) - ppc? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) - sparc? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 )" - -# ppc shared version does not work as it uses gcc-2.95 - lanius -# ppc? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) ) -# ppc? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/ppc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.ppc-en.tar.bz2 ) ) - -# amd64 shared libs require app-emulation/emul-linux-x86-qtlibs-1 which is not stable yet -# amd64? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) -# amd64? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) - -# sparc shared version does not work for me as it uses gcc-2.95 - eradicator -# sparc? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 ) ) -# sparc? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/sparc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) )" - - -# Dependencies may be augmented later (see below). -DEPEND=">=sys-apps/sed-4 - amd64? ( sys-apps/linux32 )" - -RDEPEND="virtual/x11 - >=media-libs/fontconfig-2.1.94-r1 - media-libs/libexif - x11-libs/openmotif - spell? ( app-text/aspell ) - amd64? ( app-emulation/emul-linux-x86-xlibs ) - !amd64? ( !sparc? ( !static? ( =x11-libs/qt-3* ) ) )" - -# static? ( -# amd64? ( app-emulation/emul-linux-x86-xlibs ) ) -# !static? ( -# amd64? ( =app-emulation/emul-linux-x86-qtlibs-1* ) -# !amd64? ( =x11-libs/qt-3* ) ) - -SLOT="0" -LICENSE="OPERA" -KEYWORDS="x86 ~ppc sparc amd64" - -src_unpack() { - unpack ${A} - cd ${S} - 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:#\(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:" \ - 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 - - rm ${D}/opt/opera/share/doc/opera/help - dosym /opt/share/doc/opera/help /opt/opera/share/opera/help - - dosed /opt/opera/bin/opera - dosed /opt/opera/share/opera/java/opera.policy - - # Install the icons - insinto /usr/share/pixmaps - doins images/opera.xpm - - # 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 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 -} - -pkg_postinst() { - einfo "For localized language files take a look at:" - einfo "http://www.opera.com/download/languagefiles/index.dml?platform=linux" - einfo - einfo "To change the spellcheck language edit /opt/opera/share/opera/ini/spellcheck.ini" - einfo "and emerge app-text/aspell-language." - einfo - ewarn "This update will overwrite your search.ini if you" - ewarn "do not change the \"File Version\" to 4 in the file." -} diff --git a/net-www/opera/opera-7.54-r2.ebuild b/net-www/opera/opera-7.54-r2.ebuild deleted file mode 100644 index 607f0afcaef9..000000000000 --- a/net-www/opera/opera-7.54-r2.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-7.54-r2.ebuild,v 1.2 2005/02/09 15:18:44 gustavoz Exp $ - -IUSE="static spell" - -OPERAVER="7.54-20050131" -OPERAFTPDIR="754u2" - -S=${WORKDIR}/${A/.tar.bz2/} - -DESCRIPTION="Opera web browser." -HOMEPAGE="http://www.opera.com/linux/" - -# that's an ugly workaround for the broken src_uri syntax -SRC_URI=" - x86? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) - x86? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) - amd64? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) - ppc? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) - sparc? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 )" - -# ppc shared version does not work as it uses gcc-2.95 - lanius -# ppc? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) ) -# ppc? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/ppc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.ppc-en.tar.bz2 ) ) - -# amd64 shared libs require app-emulation/emul-linux-x86-qtlibs-1 which is not stable yet -# amd64? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) -# amd64? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) - -# sparc shared version does not work for me as it uses gcc-2.95 - eradicator -# sparc? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 ) ) -# sparc? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/sparc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) )" - - -# Dependencies may be augmented later (see below). -DEPEND=">=sys-apps/sed-4 - amd64? ( sys-apps/linux32 )" - -RDEPEND="virtual/x11 - >=media-libs/fontconfig-2.1.94-r1 - media-libs/libexif - x11-libs/openmotif - spell? ( app-text/aspell ) - amd64? ( app-emulation/emul-linux-x86-xlibs ) - !amd64? ( !sparc? ( !static? ( =x11-libs/qt-3* ) ) )" - -# static? ( -# amd64? ( app-emulation/emul-linux-x86-xlibs ) ) -# !static? ( -# amd64? ( =app-emulation/emul-linux-x86-qtlibs-1* ) -# !amd64? ( =x11-libs/qt-3* ) ) - -SLOT="0" -LICENSE="OPERA" -KEYWORDS="x86 ~ppc sparc amd64" - -src_unpack() { - unpack ${A} - cd ${S} - 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:#\(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:" \ - 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 - - rm ${D}/opt/opera/share/doc/opera/help - dosym /opt/share/doc/opera/help /opt/opera/share/opera/help - - dosed /opt/opera/bin/opera - dosed /opt/opera/share/opera/java/opera.policy - - # Install the icons - insinto /usr/share/pixmaps - doins images/opera.xpm - - # 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 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 -} - -pkg_postinst() { - einfo "For localized language files take a look at:" - einfo "http://www.opera.com/download/languagefiles/index.dml?platform=linux" - einfo - einfo "To change the spellcheck language edit /opt/opera/share/opera/ini/spellcheck.ini" - einfo "and emerge app-text/aspell-language." - einfo - ewarn "This update will overwrite your search.ini if you" - ewarn "do not change the \"File Version\" to 4 in the file." -} diff --git a/net-www/opera/opera-7.54.ebuild b/net-www/opera/opera-7.54.ebuild deleted file mode 100644 index 9e313162d1be..000000000000 --- a/net-www/opera/opera-7.54.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-7.54.ebuild,v 1.6 2005/02/08 17:57:53 lanius Exp $ - -IUSE="static spell" - -OPERAVER="7.54-20040803" -OPERAFTPDIR="754" - -S=${WORKDIR}/${A/.tar.bz2/} - -DESCRIPTION="Opera web browser." -HOMEPAGE="http://www.opera.com/linux/" - -# that's an ugly workaround for the broken src_uri syntax -SRC_URI=" - x86? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) - x86? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) - amd64? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) - ppc? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) - sparc? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 )" - -# ppc shared version does not work as it uses gcc-2.95 - lanius -# ppc? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) ) -# ppc? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/ppc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.ppc-en.tar.bz2 ) ) - -# amd64 shared libs require app-emulation/emul-linux-x86-qtlibs-1 which is not stable yet -# amd64? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) -# amd64? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) - -# sparc shared version does not work for me as it uses gcc-2.95 - eradicator -# sparc? ( static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 ) ) -# sparc? ( !static? ( mirror://opera/linux/${OPERAFTPDIR}/final/en/sparc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) )" - - -# Dependencies may be augmented later (see below). -DEPEND=">=sys-apps/sed-4 - amd64? ( sys-apps/linux32 )" - -RDEPEND="virtual/x11 - >=media-libs/fontconfig-2.1.94-r1 - media-libs/libexif - x11-libs/openmotif - spell? ( app-text/aspell ) - amd64? ( app-emulation/emul-linux-x86-xlibs ) - !amd64? ( !sparc? ( !static? ( =x11-libs/qt-3* ) ) )" - -# static? ( -# amd64? ( app-emulation/emul-linux-x86-xlibs ) ) -# !static? ( -# amd64? ( =app-emulation/emul-linux-x86-qtlibs-1* ) -# !amd64? ( =x11-libs/qt-3* ) ) - -SLOT="0" -LICENSE="OPERA" -KEYWORDS="x86 ~ppc sparc amd64" - -src_unpack() { - unpack ${A} - cd ${S} - 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:#\(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:" \ - 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 - - rm ${D}/opt/opera/share/doc/opera/help - dosym /opt/share/doc/opera/help /opt/opera/share/opera/help - - dosed /opt/opera/bin/opera - dosed /opt/opera/share/opera/java/opera.policy - - # Install the icons - insinto /usr/share/pixmaps - doins images/opera.xpm - - # 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 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 -} - -pkg_postinst() { - einfo "For localized language files take a look at:" - einfo "http://www.opera.com/download/languagefiles/index.dml?platform=linux" - einfo - einfo "To change the spellcheck language edit /opt/opera/share/opera/ini/spellcheck.ini" - einfo "and emerge app-text/aspell-language." - einfo - ewarn "This update will overwrite your search.ini if you" - ewarn "do not change the \"File Version\" to 4 in the file." -} diff --git a/net-www/opera/opera-7.60_alpha4.ebuild b/net-www/opera/opera-8.00_beta2.ebuild index 1fe8f888185e..ac776de704cf 100644 --- a/net-www/opera/opera-7.60_alpha4.ebuild +++ b/net-www/opera/opera-8.00_beta2.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-7.60_alpha4.ebuild,v 1.3 2005/02/08 17:57:53 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-8.00_beta2.ebuild,v 1.1 2005/03/02 11:25:40 lanius Exp $ IUSE="static spell" -OPERAVER="7.60-20041203" -OPERAFTPDIR="7.60-Preview-4" +OPERAVER="8.0-20050225" +OPERAFTPDIR="800b2/beta/en" S=${WORKDIR}/${A/.tar.bz2/} @@ -13,18 +13,17 @@ DESCRIPTION="Opera web browser." HOMEPAGE="http://www.opera.com/linux/" # that's an ugly workaround for the broken src_uri syntax -OPERA_URI="http://snapshot.opera.com/unix/${OPERAFTPDIR}/" +OPERA_URI="ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/" SRC_URI=" - x86? ( static? ( ${OPERA_URI}/intel-linux/en/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) - x86? ( !static? ( ${OPERA_URI}/intel-linux/en/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) - amd64? ( ${OPERA_URI}/intel-linux/en/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) - sparc? ( static? ( ${OPERA_URI}/sparc-linux/en/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 ) ) - sparc? ( !static? ( ${OPERA_URI}/sparc-linux/en/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) ) - ppc? ( ${OPERA_URI}/ppc-linux/en/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 )" + x86? ( static? ( ${OPERA_URI}/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) + x86? ( !static? ( ${OPERA_URI}/i386/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) + amd64? ( ${OPERA_URI}/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) + sparc? ( static? ( ${OPERA_URI}/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 ) ) + ppc? ( ${OPERA_URI}/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 )" +# sparc? ( !static? ( ${OPERA_URI}/sparc/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) ) # amd64? ( !static? ( ${OPERA_URI}/intel-linux/en/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) -# ppc? ( ${OPERA_URI}/ppc-linux/en/${PN}-${OPERAVER}.2-shared-qt.ppc-en.tar.bz2 ) -# ppc? ( ${OPERA_URI}/ppc-linux/en/${PN}-${OPERAVER}.3-shared-qt.ppc-en.tar.bz2 ) +# ppc? ( !static? ( ${OPERA_URI}/ppc-linux/en/${PN}-${OPERAVER}.3-shared-qt.ppc-en.tar.bz2 ) ) # Dependencies may be augmented later (see below). DEPEND=">=sys-apps/sed-4 @@ -57,6 +56,7 @@ src_unpack() { -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 } @@ -78,9 +78,6 @@ src_install() { # 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 - rm ${D}/opt/opera/share/doc/opera/help - dosym /opt/share/doc/opera/help /opt/opera/share/opera/help - dosed /opt/opera/bin/opera dosed /opt/opera/share/opera/java/opera.policy |