1
0
forked from ports/contrib

opera: 10.63 -> 11.00

This commit is contained in:
Danny Rawlins 2011-01-09 21:12:16 +11:00
parent 890ae72c37
commit f477398be1
3 changed files with 34 additions and 9 deletions

View File

@ -29,52 +29,68 @@ drwxr-xr-x root/root usr/share/icons/hicolor/128x128/
drwxr-xr-x root/root usr/share/icons/hicolor/128x128/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/128x128/apps/opera-browser.png
-rw-r--r-- root/root usr/share/icons/hicolor/128x128/apps/opera-widget-manager.png
lrwxrwxrwx root/root usr/share/icons/hicolor/128x128/apps/opera-widget.png -> ../mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/128x128/mimetypes/
-rw-r--r-- root/root usr/share/icons/hicolor/128x128/mimetypes/opera-extension.png
-rw-r--r-- root/root usr/share/icons/hicolor/128x128/mimetypes/opera-unite-application.png
-rw-r--r-- root/root usr/share/icons/hicolor/128x128/mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/opera-browser.png
-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/opera-widget-manager.png
lrwxrwxrwx root/root usr/share/icons/hicolor/16x16/apps/opera-widget.png -> ../mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/mimetypes/
-rw-r--r-- root/root usr/share/icons/hicolor/16x16/mimetypes/opera-extension.png
-rw-r--r-- root/root usr/share/icons/hicolor/16x16/mimetypes/opera-unite-application.png
-rw-r--r-- root/root usr/share/icons/hicolor/16x16/mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/22x22/
drwxr-xr-x root/root usr/share/icons/hicolor/22x22/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/opera-browser.png
-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/opera-widget-manager.png
lrwxrwxrwx root/root usr/share/icons/hicolor/22x22/apps/opera-widget.png -> ../mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/22x22/mimetypes/
-rw-r--r-- root/root usr/share/icons/hicolor/22x22/mimetypes/opera-extension.png
-rw-r--r-- root/root usr/share/icons/hicolor/22x22/mimetypes/opera-unite-application.png
-rw-r--r-- root/root usr/share/icons/hicolor/22x22/mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/24x24/
drwxr-xr-x root/root usr/share/icons/hicolor/24x24/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/opera-browser.png
-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/opera-widget-manager.png
lrwxrwxrwx root/root usr/share/icons/hicolor/24x24/apps/opera-widget.png -> ../mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/24x24/mimetypes/
-rw-r--r-- root/root usr/share/icons/hicolor/24x24/mimetypes/opera-extension.png
-rw-r--r-- root/root usr/share/icons/hicolor/24x24/mimetypes/opera-unite-application.png
-rw-r--r-- root/root usr/share/icons/hicolor/24x24/mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/opera-browser.png
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/opera-widget-manager.png
lrwxrwxrwx root/root usr/share/icons/hicolor/32x32/apps/opera-widget.png -> ../mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/mimetypes/
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/mimetypes/opera-extension.png
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/mimetypes/opera-unite-application.png
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/opera-browser.png
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/opera-widget-manager.png
lrwxrwxrwx root/root usr/share/icons/hicolor/48x48/apps/opera-widget.png -> ../mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/mimetypes/
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/mimetypes/opera-extension.png
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/mimetypes/opera-unite-application.png
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/mimetypes/opera-widget.png
drwxr-xr-x root/root usr/share/icons/hicolor/scalable/
drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/opera-browser.svg
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/opera-widget-manager.svg
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/opera-widget.svg
lrwxrwxrwx root/root usr/share/icons/hicolor/scalable/apps/opera-widget.svg -> ../mimetypes/opera-widget.svg
drwxr-xr-x root/root usr/share/icons/hicolor/scalable/mimetypes/
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/mimetypes/opera-extension.svg
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/mimetypes/opera-unite-application.svg
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/mimetypes/opera-widget.svg
drwxr-xr-x root/root usr/share/mime/
drwxr-xr-x root/root usr/share/mime/packages/
-rw-r--r-- root/root usr/share/mime/packages/opera-extension.xml
-rw-r--r-- root/root usr/share/mime/packages/opera-unite-application.xml
-rw-r--r-- root/root usr/share/mime/packages/opera-widget.xml
drwxr-xr-x root/root usr/share/opera/
@ -166,6 +182,7 @@ drwxr-xr-x root/root usr/share/opera/styles/images/
-rw-r--r-- root/root usr/share/opera/styles/m2_welcome_message.mbs
-rw-r--r-- root/root usr/share/opera/styles/mail.css
-rw-r--r-- root/root usr/share/opera/styles/mathml.css
-rw-r--r-- root/root usr/share/opera/styles/media.css
-rw-r--r-- root/root usr/share/opera/styles/message.css
-rw-r--r-- root/root usr/share/opera/styles/mime.css
-rw-r--r-- root/root usr/share/opera/styles/opera.css

View File

@ -1 +1 @@
0ec511d7c58eb45c30afee8154486889 opera-10.63-6450.i386.linux.tar.bz2
5a52a8fad55eb281975dfacee25221e6 opera-11.00-1156.i386.linux.tar.bz2

View File

@ -5,17 +5,17 @@
# Depends on: qt4
name=opera
version=10.63
version=11.00
release=1
source=(http://ftp.heanet.ie/pub/opera/linux/${version//./}/$name-$version-6450.i386.linux.tar.bz2)
source=(http://ftp.heanet.ie/pub/opera/linux/${version//./}/$name-$version-1156.i386.linux.tar.bz2)
build() {
cd $name-$version-*
# Remove "license directory"
mv share/doc/opera/LICENSE $SRC/
rm -rf share/doc/opera
# Remove package directory
rm -rf share/opera/package
# Replace PREFIX and SUFFIX in various files
sed -i \
-e "s:@@{PREFIX}:/usr:g" \
@ -51,10 +51,18 @@ build() {
cp -r share/mime $PKG/usr/share/
cp -r share/opera $PKG/usr/share/
# remove license.txt symlinks to doc directory
# which we remove
rm \
$PKG/usr/lib/opera/gstreamer/LGPL.txt \
$PKG/usr/lib/opera/gstreamer/README.txt \
$PKG/usr/lib/opera/plugins/README
$PKG/usr/lib/opera/plugins/README \
$PKG/usr/share/opera/locale/en/license.txt \
$PKG/usr/share/opera/defaults/license.txt
cp $SRC/LICENSE \
$PKG/usr/share/opera/defaults/license.txt
ln $PKG/usr/share/opera/defaults/license.txt \
$PKG/usr/share/opera/locale/en/license.txt
find "$PKG/usr/share/opera/locale/" \
-mindepth 1 -maxdepth 1 -type d \