diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-14 22:09:50 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-14 22:09:50 (GMT) |
commit | 9822197e279e1ec6e3d95cb049281e232713e556 (patch) | |
tree | 636e5e6da31bf4ebb0ba5a83f504ac78c93596bf /abs/extra-testing | |
parent | 437b752531d8c183f9d653f54272959b1c7273db (diff) | |
download | linhes_pkgbuild-9822197e279e1ec6e3d95cb049281e232713e556.zip linhes_pkgbuild-9822197e279e1ec6e3d95cb049281e232713e556.tar.gz linhes_pkgbuild-9822197e279e1ec6e3d95cb049281e232713e556.tar.bz2 |
Adding in opera, for those that do not care for firefox.
Diffstat (limited to 'abs/extra-testing')
-rw-r--r-- | abs/extra-testing/opera/PKGBUILD | 40 | ||||
-rw-r--r-- | abs/extra-testing/opera/opera-qt4-theme.patch | 11 | ||||
-rw-r--r-- | abs/extra-testing/opera/opera.desktop | 91 | ||||
-rw-r--r-- | abs/extra-testing/opera/opera_logo48.png | bin | 0 -> 2468 bytes |
4 files changed, 142 insertions, 0 deletions
diff --git a/abs/extra-testing/opera/PKGBUILD b/abs/extra-testing/opera/PKGBUILD new file mode 100644 index 0000000..f7f5134 --- /dev/null +++ b/abs/extra-testing/opera/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 28942 2009-03-03 08:21:13Z daniel $ +# Maintainer: Daniel Isenmann <daniel@archlinux.org> +# Contributor: dorphell <dorphell@archlinux.org> + +pkgname=opera +pkgver=9.64 +pkgrel=1 +pkgdesc="The Opera web browser" +url="http://www.opera.com/" +depends=('qt') +license=('custom:opera') +arch=('i686' 'x86_64') +source=(http://ftp.opera.com/pub/opera/linux/${pkgver/./}/final/en/i386/opera-${pkgver}.gcc4-qt4.i386.tar.bz2 opera.desktop opera_logo48.png opera-qt4-theme.patch) +md5sums=('bbfb1f77cc3091b3134b710b4719ba3e' + 'f99bef1a9200abe5a5cda78665cddc84' + 'a270c65b8d4f8e2e76439f417ea44265' + 'e977071ea5f09b36820367bf6e4dc3e1') + +[ "$CARCH" = "x86_64" ] && depends=('qt3') +[ "$CARCH" = "x86_64" ] && source=(http://ftp.opera.com/pub/opera/linux/${pkgver/./}/final/en/x86_64/opera-${pkgver}.gcc4-shared-qt3.x86_64.tar.bz2 opera.desktop opera_logo48.png) +[ "$CARCH" = "x86_64" ] && md5sums=('b4ca665855639a72fc0c3ae47b751fae' + 'f99bef1a9200abe5a5cda78665cddc84' + 'a270c65b8d4f8e2e76439f417ea44265') +build() { +if [ "$CARCH" = "x86_64" ]; then + cd ${startdir}/src/opera-${pkgver}-2480.gcc4-shared-qt3.x86_64 + sed 's|/usr/X11R6/lib/mozilla/plugins=1|/usr/lib/mozilla/plugins=1|' -i usr/share/opera/ini/pluginpath.ini || return 1 + else cd ${startdir}/src/opera-${pkgver}-2480.gcc4-qt4.i386 + sed 's|/usr/X11R6/lib/mozilla/plugins=1|/usr/lib/mozilla/plugins=1|' -i usr/share/opera/ini/pluginpath.ini || return 1 +fi + ./install.sh DESTDIR=${startdir}/pkg + if [ "$CARCH" = "i686" ]; then + pushd ${startdir}/pkg/usr/bin + patch -Np0 -i ${startdir}/src/opera-qt4-theme.patch || return 1 + popd + fi + install -D -m 644 ${startdir}/src/opera.desktop ${startdir}/pkg/usr/share/applications/opera.desktop + install -D -m 644 LICENSE ${startdir}/pkg/usr/share/licenses/opera/license.txt + install -D -m 644 ${startdir}/src/opera_logo48.png ${startdir}/pkg/usr/share/opera/images/opera_48x48.png +} diff --git a/abs/extra-testing/opera/opera-qt4-theme.patch b/abs/extra-testing/opera/opera-qt4-theme.patch new file mode 100644 index 0000000..f00f2cd --- /dev/null +++ b/abs/extra-testing/opera/opera-qt4-theme.patch @@ -0,0 +1,11 @@ +--- opera.orig 2008-10-22 19:37:21.000000000 +0200 ++++ opera 2008-10-22 19:38:13.000000000 +0200 +@@ -30,7 +30,7 @@ + done + test -z "$toset" || die Missing parameter for $arg + +-test "${_QTSTYLE_FROM_CMDLINE_}" = 'NO' && test -f "$HOME/.qt/qtrc" && _OPERA_QTSTYLE=`sed -n 's/^style=//p' $HOME/.qt/qtrc` && test "$_OPERA_QTSTYLE" && set -- "$@" -style "$_OPERA_QTSTYLE" ++test "${_QTSTYLE_FROM_CMDLINE_}" = 'NO' && test -f "$HOME/.config/Trolltech.conf" && _OPERA_QTSTYLE=`sed -n 's/^style=//p' $HOME/.config/Trolltech.conf` && test "$_OPERA_QTSTYLE" && set -- "$@" -style "$_OPERA_QTSTYLE" + + + # Add ending path divider "/" if missing, so execution won't fail diff --git a/abs/extra-testing/opera/opera.desktop b/abs/extra-testing/opera/opera.desktop new file mode 100644 index 0000000..23fa418 --- /dev/null +++ b/abs/extra-testing/opera/opera.desktop @@ -0,0 +1,91 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=opera %u +Terminal=false +Icon=/usr/share/opera/images/opera_48x48.png +Type=Application +MimeType=text/html +Categories=Application;Network; +Name=Opera +Name[ar]=أوبرا +Name[bn]=অপেরা +Name[eo]=Opero +Name[fa]=اپرا +Name[hi]=ऑपेरा +Name[ko]=오페라 +Name[lo]=ໂອເປຣາ +Name[pa]=ਓਪੇਰਾ +Name[ta]=ஓபேரா +Name[th]=โอเปรา +GenericName=Web Browser +GenericName[af]=Web Blaaier +GenericName[ar]=متصفح ويب +GenericName[az]=Veb Səyyahı +GenericName[bg]=Браузър +GenericName[bn]=ওয়েব ব্রাউজার +GenericName[br]=Furcher ar Gwiad +GenericName[bs]=WWW Preglednik +GenericName[ca]=Fullejador web +GenericName[cs]=WWW prohlížeč +GenericName[cy]=Porydd Gwe +GenericName[da]=Browser +GenericName[de]=Web-Browser +GenericName[el]=Περιηγητής Ιστού +GenericName[eo]=TTT-legilo +GenericName[es]=Navegador web +GenericName[et]=Veebilehitseja +GenericName[eu]=Web arakatzailea +GenericName[fa]=مرورگر وب +GenericName[fi]=WWW-selain +GenericName[fo]=Alnótsfar +GenericName[fr]=Navigateur web +GenericName[fy]=Webblêder +GenericName[ga]=Brabhsálaí Lín +GenericName[gl]=Navegador Web +GenericName[he]=דפדפן אינטרנט +GenericName[hi]=वेब ब्राउज़र +GenericName[hr]=Web preglednik +GenericName[hu]=Webböngésző +GenericName[is]=Vafri +GenericName[it]=Browser Web +GenericName[ja]=ウェブブラウザ +GenericName[km]=កម្មវិធីរុករកបណ្ដាញ +GenericName[ko]=웹 브라우저 +GenericName[lo]=ເວັບບຣາວເຊີ +GenericName[lt]=Žiniatinklio naršyklė +GenericName[lv]=Tīmekļa Pārlūks +GenericName[mk]=Прелистувач на Интернет +GenericName[mn]=Веб-Хөтөч +GenericName[ms]=Pelayar Web +GenericName[nb]=Nettleser +GenericName[nds]=Nettkieker +GenericName[nl]=Webbrowser +GenericName[nn]=Nettlesar +GenericName[nso]=Seinyakisi sa Web +GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ +GenericName[pl]=Przeglądarka WWW +GenericName[pt]=Navegador Web +GenericName[pt_BR]=Navegador Web +GenericName[ro]=Navigator de web +GenericName[ru]=Веб-браузер +GenericName[rw]=Mucukumbuzi Urubuga +GenericName[se]=Fierpmádatlogan +GenericName[sk]=Webový prehliadač +GenericName[sl]=Spletni brskalnik +GenericName[sr]=Веб прегледач +GenericName[sr@Latn]=Veb pregledač +GenericName[ss]=Ibrawuza yeWeb +GenericName[sv]=Webbläsare +GenericName[ta]=வலை உலாவி +GenericName[tg]=Тафсиргари вэб +GenericName[th]=เว็บบราวเซอร์ +GenericName[tr]=Web Tarayıcı +GenericName[uk]=Навігатор Тенет +GenericName[uz]=Веб-браузер +GenericName[ven]=Buronza ya Webu +GenericName[vi]=Trình duyệt Web +GenericName[wa]=Betchteu waibe +GenericName[xh]=Umkhangeli zincwadi we Web +GenericName[zh_CN]=Web 浏览器 +GenericName[zh_TW]=網頁瀏覽器 +GenericName[zu]=Umcingi we-Web diff --git a/abs/extra-testing/opera/opera_logo48.png b/abs/extra-testing/opera/opera_logo48.png Binary files differnew file mode 100644 index 0000000..be7e5ae --- /dev/null +++ b/abs/extra-testing/opera/opera_logo48.png |