Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 113405 | Differences between
and this patch

Collapse All | Expand All

(-)portage/www-client/opera/opera-8.51.ebuild (-24 / +24 lines)
Lines 1-31 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2005 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-8.51.ebuild,v 1.4 2005/11/23 16:33:57 chriswhite Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-8.51.ebuild,v 1.3 2005/11/22 23:19:43 metalgod Exp $
4
4
5
inherit eutils
5
inherit eutils versionator
6
7
IUSE="static spell qt kde"
8
9
OPERAVER="8.51-20051114"
10
OPERAFTPDIR="851/final/en"
11
12
S=${WORKDIR}/${A/.tar.bz2/}
13
6
14
DESCRIPTION="Opera web browser."
7
DESCRIPTION="Opera web browser."
15
HOMEPAGE="http://www.opera.com/linux/"
8
HOMEPAGE="http://www.opera.com/linux/"
9
RESTRICT="nomirror"
10
11
# Using versionator:
12
MY_PV="${PN}-$(replace_version_separator 2 -)"
13
MY_URI="mirror://opera/linux/$(get_major_version)$(get_version_component_range 2)/final/en/"
14
MY_EXT="en.tar.bz2"
16
15
17
# that's an ugly workaround for the broken src_uri syntax
18
OPERA_URI="mirror://opera/linux/${OPERAFTPDIR}/"
19
SRC_URI="
16
SRC_URI="
20
	x86? ( static? ( ${OPERA_URI}i386/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) )
17
	x86? ( static? ( ${MY_URI}i386/${MY_PV}.1-static-qt.i386-${MY_EXT} ) )
21
	x86? ( !static? ( ${OPERA_URI}i386/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) )
18
	x86? ( !static? ( ${MY_URI}i386/${MY_PV}.5-shared-qt.i386-${MY_EXT} ) )
22
	amd64? ( static? ( ${OPERA_URI}i386/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) )
19
	amd64? ( static? ( ${MY_URI}i386/${MY_PV}.1-static-qt.i386-${MY_EXT} ) )
23
	amd64? ( !static? ( ${OPERA_URI}i386/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) )
20
	amd64? ( !static? ( ${MY_URI}i386/${MY_PV}.5-shared-qt.i386-${MY_EXT} ) )
24
	sparc? ( ${OPERA_URI}sparc/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 )
21
	sparc? ( ${MY_URI}sparc/${MY_PV}.1-static-qt.sparc-${MY_EXT} )
25
	ppc? ( ${OPERA_URI}ppc/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 )"
22
	ppc? ( ${MY_URI}ppc/${MY_PV}.1-static-qt.ppc-${MY_EXT} )"
26
23
27
#	sparc? ( !static? ( ${OPERA_URI}/sparc/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) )
24
#	sparc? ( !static? ( ${MY_URI}/sparc/${MY_PV}.2-shared-qt.sparc-${MY_EXT} ) )
28
#	ppc? ( !static? ( ${OPERA_URI}/ppc-linux/en/${PN}-${OPERAVER}.3-shared-qt.ppc-en.tar.bz2 ) )
25
#	ppc? ( !static? ( ${MY_URI}/ppc/en/${MY_PV}.3-shared-qt.ppc-${MY_EXT} ) )
26
27
LICENSE="OPERA-8.50"
28
SLOT="0"
29
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
30
IUSE="static spell qt kde"
29
31
30
# Dependencies may be augmented later (see below).
32
# Dependencies may be augmented later (see below).
31
DEPEND=">=sys-apps/sed-4
33
DEPEND=">=sys-apps/sed-4
Lines 41-49 Link Here
41
	          x86? ( !static? ( =x11-libs/qt-3* ) )
43
	          x86? ( !static? ( =x11-libs/qt-3* ) )
42
	          media-libs/jpeg )"
44
	          media-libs/jpeg )"
43
45
44
SLOT="0"
46
S=${WORKDIR}/${A/.tar.bz2/}
45
LICENSE="OPERA-8.50"
46
KEYWORDS="amd64 ~ppc sparc x86"
47
47
48
src_unpack() {
48
src_unpack() {
49
	unpack ${A}
49
	unpack ${A}
Lines 102-110 Link Here
102
	# enable spellcheck
102
	# enable spellcheck
103
	if use spell; then
103
	if use spell; then
104
		if use static; then
104
		if use static; then
105
			DIR=$OPERAVER.1
105
			DIR=$MY_PV.1
106
		else
106
		else
107
			use sparc && DIR=$OPERAVER.2 || DIR=$OPERAVER.5
107
			use sparc && DIR=$MY_PV.2 || DIR=$MY_PV.5
108
		fi
108
		fi
109
		echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini
109
		echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini
110
	fi
110
	fi

Return to bug 113405