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

Collapse All | Expand All

(-)old/opera-7.50-r1.ebuild (-17 / +19 lines)
Lines 2-10 Link Here
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: /home/cvsroot/gentoo-x86/net-www/opera/opera-7.50-r1.ebuild,v 1.3 2004/05/28 21:53:45 kugelfang Exp $
3
# $Header: /home/cvsroot/gentoo-x86/net-www/opera/opera-7.50-r1.ebuild,v 1.3 2004/05/28 21:53:45 kugelfang Exp $
4
4
5
IUSE="static"
5
IUSE="static spell"
6
6
7
OPERAVER="7.50-20040511"
7
OPERAVER="7.51-20040602"
8
OPERAFTPDIR="751"
8
9
9
S=${WORKDIR}/${A/.tar.bz2/}
10
S=${WORKDIR}/${A/.tar.bz2/}
10
11
Lines 13-26 Link Here
13
14
14
# that's an ugly workaround for the broken src_uri syntax
15
# that's an ugly workaround for the broken src_uri syntax
15
SRC_URI="
16
SRC_URI="
16
	x86? ( static? ( ftp://ftp.opera.com/pub/opera/linux/750/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) )
17
	x86? ( static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) )
17
	x86? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/750/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) )
18
	x86? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) )
18
	amd64? ( static? ( ftp://ftp.opera.com/pub/opera/linux/750/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) )
19
	amd64? ( static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) )
19
	amd64? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/750/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) )
20
	amd64? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) )
20
	ppc? ( static? ( ftp://ftp.opera.com/pub/opera/linux/750/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) )
21
	ppc? ( static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) )
21
	ppc? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/750/final/en/ppc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.ppc-en.tar.bz2 ) )
22
	ppc? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/ppc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.ppc-en.tar.bz2 ) )
22
	sparc? ( static?  ( ftp://ftp.opera.com/pub/opera/linux/750/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 ) )
23
	sparc? ( static?  ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 ) )
23
	sparc? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/750/final/en/sparc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) )"
24
	sparc? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/sparc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) )"
24
25
25
26
26
# Dependencies may be augmented later (see below).
27
# Dependencies may be augmented later (see below).
Lines 36-42 Link Here
36
	!static? (
37
	!static? (
37
		amd64? ( =app-emulation/emul-linux-x86-qtlibs-1* )
38
		amd64? ( =app-emulation/emul-linux-x86-qtlibs-1* )
38
		!amd64? ( =x11-libs/qt-3* ) )
39
		!amd64? ( =x11-libs/qt-3* ) )
39
	app-text/aspell"
40
	spell? ( app-text/aspell )"
40
41
41
SLOT="0"
42
SLOT="0"
42
LICENSE="OPERA"
43
LICENSE="OPERA"
Lines 94-106 Link Here
94
	echo "Plugin Path=/opt/opera/lib/opera/plugins" >> ${D}/etc/opera6rc
95
	echo "Plugin Path=/opt/opera/lib/opera/plugins" >> ${D}/etc/opera6rc
95
96
96
	# enable spellcheck
97
	# enable spellcheck
97
	if [ `use static` ]; then
98
	if [ `use spell` ]; then
98
		DIR=$OPERAVER.1
99
		if [ `use static` ]; then
99
	else
100
			DIR=$OPERAVER.1
100
		use sparc && DIR=$OPERAVER.2 || DIR=$OPERAVER.5
101
		else
102
			use sparc && DIR=$OPERAVER.2 || DIR=$OPERAVER.5
103
		fi
104
		echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini
101
	fi
105
	fi
102
	echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini
103
104
}
106
}
105
107
106
pkg_postinst() {
108
pkg_postinst() {

Return to bug 52867