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: /var/cvsroot/gentoo-x86/www-client/opera/opera-8.54.ebuild,v 1.3 2006/05/26 04:40:14 halcy0n Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-8.54.ebuild,v 1.3 2006/05/26 04:40:14 halcy0n Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils gnome2 |
6 |
|
6 |
|
7 |
IUSE="qt-static spell qt kde" |
7 |
IUSE="qt-static spell qt kde gnome" |
8 |
|
8 |
|
9 |
OPERAVER="8.54-20060330" |
9 |
OPERAVER="8.54-20060330" |
10 |
OPERAFTPDIR="854/final/en" |
10 |
OPERAFTPDIR="854/final/en" |
Lines 100-105
Link Here
|
100 |
# Install the icons |
100 |
# Install the icons |
101 |
insinto /usr/share/pixmaps |
101 |
insinto /usr/share/pixmaps |
102 |
doins images/opera.xpm |
102 |
doins images/opera.xpm |
|
|
103 |
if use gnome ; then |
104 |
for res in 16x16 22x22 32x32 48x48 ; do |
105 |
insinto /usr/share/icons/hicolor/${res}/apps/ |
106 |
newins images/opera_${res}.png opera.png |
107 |
done |
108 |
fi |
103 |
|
109 |
|
104 |
# Install the menu entry |
110 |
# Install the menu entry |
105 |
insinto /usr/share/applications |
111 |
insinto /usr/share/applications |
Lines 132-140
Link Here
|
132 |
} |
138 |
} |
133 |
|
139 |
|
134 |
pkg_postinst() { |
140 |
pkg_postinst() { |
|
|
141 |
if use gnome ; then |
142 |
gnome2_icon_cache_update |
143 |
fi |
135 |
einfo "For localized language files take a look at:" |
144 |
einfo "For localized language files take a look at:" |
136 |
einfo "http://www.opera.com/download/languagefiles/index.dml?platform=linux" |
145 |
einfo "http://www.opera.com/download/languagefiles/index.dml?platform=linux" |
137 |
einfo |
146 |
einfo |
138 |
einfo "To change the spellcheck language edit /opt/opera/share/opera/ini/spellcheck.ini" |
147 |
einfo "To change the spellcheck language edit /opt/opera/share/opera/ini/spellcheck.ini" |
139 |
einfo "and emerge app-text/aspell-language." |
148 |
einfo "and emerge app-text/aspell-language." |
140 |
} |
149 |
} |
|
|
150 |
|
151 |
pkg_postrm() { |
152 |
if use gnome ; then |
153 |
gnome2_icon_cache_update |
154 |
fi |
155 |
} |