diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-05-10 14:24:23 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-05-10 14:24:23 +0000 |
commit | cdd517180b394a11abd24d0e2f66d31df622eeee (patch) | |
tree | bcd16ec5984ff704b860c24a128711f497d4ffa7 /www-client/opera | |
parent | Update metadata.xml (diff) | |
download | historical-cdd517180b394a11abd24d0e2f66d31df622eeee.tar.gz historical-cdd517180b394a11abd24d0e2f66d31df622eeee.tar.bz2 historical-cdd517180b394a11abd24d0e2f66d31df622eeee.zip |
http://my.opera.com/desktopteam/blog/2012/05/10/opera-11-64-released
Package-Manager: portage-2.2.0_alpha103/cvs/Linux x86_64
Diffstat (limited to 'www-client/opera')
-rw-r--r-- | www-client/opera/ChangeLog | 10 | ||||
-rw-r--r-- | www-client/opera/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera/opera-11.64.1403.ebuild | 220 |
3 files changed, 237 insertions, 5 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index dc9b09656af8..4a1a765454cf 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for www-client/opera # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.707 2012/04/03 20:45:54 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.708 2012/05/10 14:24:23 jer Exp $ + + 10 May 2012; Jeroen Roovers <jer@gentoo.org> +opera-11.64.1403.ebuild: + http://my.opera.com/desktopteam/blog/2012/05/10/opera-11-64-released + +*opera-11.64.1403 (10 May 2012) + + 10 May 2012; Jeroen Roovers <jer@gentoo.org> +opera-11.64.1403.ebuild: + http://my.opera.com/desktopteam/blog/2012/05/10/opera-11-64-released 03 Apr 2012; Jeroen Roovers <jer@gentoo.org> -opera-11.61.1250.ebuild: Old. diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 1ab07b93a965..cbf8fe75a9f8 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,14 +4,18 @@ Hash: SHA1 DIST opera-11.62-1347.i386.freebsd.tar.xz 11529504 RMD160 064af004ced3751a0ad2cf2885490f9e511ade7a SHA1 9b0d113d2baaa03e398ef94495da4ea7a2a0a84b SHA256 1bb80945e0563223f9f82791bd39ec262f976e2a7c330cb1310c85eeb1e0b1e9 DIST opera-11.62-1347.i386.linux.tar.xz 11496852 RMD160 2ad8c94e2deafad2a540bf119cbbce560807f6c7 SHA1 6bfb8a2768a51e4189337e0a40e9fcb0fcbf44ba SHA256 22a35dc437a2d50dbd1cf0e49aa2b52c76d4fbec3ab5af4de5fe6455d3cda9b5 DIST opera-11.62-1347.x86_64.linux.tar.xz 12322128 RMD160 f7413539de20f2178b3558acdfb95555016a2070 SHA1 d943d07027ba0f40e6f7f964f14918a04169601a SHA256 db5b78263bf2a504e14b69f0192c31dcc69f62c7483b74e425f401a843e489bc +DIST opera-11.64-1403.i386.freebsd.tar.xz 11544224 RMD160 2e8e5916d61f668a53c30f59102cab5b07f5be18 SHA1 67c1cdea983ae6885083fe63baa81e67cc99184d SHA256 09c5e7a058161fc5a8cca2190f8056a656e4a766e425912d436e516fbf49392f +DIST opera-11.64-1403.i386.linux.tar.xz 11506732 RMD160 c48adf8df95c6ec8fb663b351f06857d421357f1 SHA1 a44e47d9c0fdd5f080ec100892d7b88bad0489c1 SHA256 8b7998586b1b3f8f5722beef7ebb621c0f15915c260b096249e9db5973e30d82 +DIST opera-11.64-1403.x86_64.linux.tar.xz 12322044 RMD160 f6ae59b84b7e10ed72a87a2f16d95dc81fea46f0 SHA1 671e38684fb35995dd5b3834d40101e0c42850e1 SHA256 3b2012cbab826a04417deb56b85d8d31f9c17130071304736bcfa572f78b4c69 EBUILD opera-11.62.1347-r1.ebuild 5442 RMD160 afeb9c310cd9b99ba79964579b0d692c944e2d91 SHA1 dec1a2b03d096563538e835d18d1de5ad75bf866 SHA256 11e20ead66f9c568463b6a303db250d19395b65b39589f3cc573327298fc43c7 -MISC ChangeLog 22250 RMD160 17eb44946d4bef485a2d686859f0e5130ceadd45 SHA1 f8515a52ef5109a844797064c5392eb6d53fd98e SHA256 57acb32b3f6dab147838531c081583824fcb248989dabc9eea73ae8dbe2494d5 +EBUILD opera-11.64.1403.ebuild 5435 RMD160 b815323bb0088a5f2a3fe96978b8f8b51d2cdc98 SHA1 f66a48cbf99fd5dfd13988024fd33ce07a0b6db3 SHA256 2ba11f3946a1236e60509251eba87503794b943edae6e780481a200a96f9c3fe +MISC ChangeLog 22573 RMD160 d4a05577372c0b51050bb7b6ba7a0132bb11737a SHA1 1a6fbb28d5f642986e8c2df921a78bd1b6be840a SHA256 2a1cb562ae79876cfbeea45a5699ef13aec3f8a7eaa3a30409b0b145664f188a MISC ChangeLog-2010 112299 RMD160 e786fcfeb4ac57db285ff420ccd9705b7c1f298c SHA1 09aef1136180ae363fd3c6bdbd3eb27f996f80c5 SHA256 5c3b5c58119b4a6b1911d840892c42234f25dae57452287fb0a9e6cca78ed171 MISC metadata.xml 732 RMD160 28acd15c216329d807150c88fb0861eb1383c61c SHA1 9ff443c6f422e8b018d29d21948da71eda6a4295 SHA256 bd388fb8f6b0aa2cd98fcfc290b677df712be3ef14537102e02665ea2f0d871a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk97YYcACgkQVWmRsqeSphN/pQCdHkMNO8Osk9NJ/ZeJICCLiB5E -HVYAnjSTanP8AwEO/iRiz1/uB38iQz7j -=ow0v +iEYEARECAAYFAk+rz50ACgkQVWmRsqeSphNiNgCfbE9fE0kMARVKdWJmG3Ib3pVY +53oAn3KDnak+RCnv92/45BIqm26s3oad +=HILl -----END PGP SIGNATURE----- diff --git a/www-client/opera/opera-11.64.1403.ebuild b/www-client/opera/opera-11.64.1403.ebuild new file mode 100644 index 000000000000..98bbd89464ec --- /dev/null +++ b/www-client/opera/opera-11.64.1403.ebuild @@ -0,0 +1,220 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.64.1403.ebuild,v 1.1 2012/05/10 14:24:23 jer Exp $ + +EAPI="4" + +inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator + +DESCRIPTION="A fast and secure web browser and Internet suite" +HOMEPAGE="http://www.opera.com/" + +SLOT="0" +LICENSE="OPERA-11 LGPL-2 LGPL-3" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="elibc_FreeBSD gtk gtk3 kde +gstreamer" + +O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00 +O_B="$(get_version_component_range 3)" # Build version, i.e. 1156 + +O_D="${O_V/./}" +O_P="${PN}-${O_V}-${O_B}" +O_U="mirror://opera/" + +SRC_URI=" + amd64? ( ${O_U}linux/${O_D}/${O_P}.x86_64.linux.tar.xz ) + x86? ( ${O_U}linux/${O_D}/${O_P}.i386.linux.tar.xz ) + x86-fbsd? ( ${O_U}unix/${O_D}/${O_P}.i386.freebsd.tar.xz ) +" + +OPREFIX="/usr/$(get_libdir)" + +QA_DT_HASH="${OPREFIX}/${PN}/.*" +QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" + +O_LINGUAS="af az be bg bn cs da de el en-GB es-ES es-LA et fi fr fr-CA fy gd hi +hr hu id it ja ka ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr sv sw ta te +th tl tr uk uz vi zh-CN zh-TW zu" + +for O_LINGUA in ${O_LINGUAS}; do + IUSE="${IUSE} linguas_${O_LINGUA/-/_}" +done + +DEPEND=" + >=sys-apps/sed-4 + app-arch/xz-utils +" +GTKRDEPEND=" + dev-libs/atk + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gdk-pixbuf + gtk? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 ) + x11-libs/pango + x11-libs/pixman +" +KDERDEPEND=" + kde-base/kdelibs + x11-libs/qt-core + x11-libs/qt-gui +" +GSTRDEPEND=" + dev-libs/glib:2 + dev-libs/libxml2 + media-libs/gst-plugins-base + media-libs/gstreamer + media-plugins/gst-plugins-meta +" +RDEPEND=" + media-libs/fontconfig + media-libs/freetype + sys-apps/util-linux + sys-libs/zlib + virtual/opengl + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft + x11-libs/libXrender + x11-libs/libXt + gtk? ( ${GTKRDEPEND} ) + gtk3? ( ${GTKRDEPEND} ) + kde? ( ${KDERDEPEND} ) + gstreamer? ( ${GSTRDEPEND} ) +" +src_unpack() { + unpack ${A} + mv -v ${PN}* "${S}" || die +} + +src_prepare() { + local LNGDIR="share/${PN}/locale" + + # Count linguas + count() { echo ${#}; } + local lingua_count=$(count ${O_LINGUAS} en) + local locale_count=$(count ${LNGDIR}/*) + [[ ${lingua_count} = ${locale_count} ]] \ + || die "Number of LINGUAS does not match number of locales" + unset count + + # Remove unwanted linguas + einfo "Keeping these locales (linguas): ${LINGUAS}." + for LINGUA in ${O_LINGUAS}; do + if ! use linguas_${LINGUA/-/_}; then + LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-}) + rm -r "${LINGUA}" || die "The list of linguas needs to be fixed" + fi + done + + # Remove doc directory but keep the LICENSE under another name (bug #315473) + mv share/doc/${PN}/LICENSE share/${PN}/defaults/license.txt + rm -rf share/doc + for locale in share/${PN}/locale/*; do + rm -f "${locale}/license.txt" + ln -sn /usr/share/${PN}/defaults/license.txt "${locale}/license.txt" \ + || die + done + + # Remove package directory + rm -rf share/${PN}/package + + # Optional libraries + if ! use gtk; then + rm lib/${PN}/liboperagtk2.so || die + fi + if ! use gtk3; then + rm lib/${PN}/liboperagtk3.so || die + fi + if ! use kde; then + rm lib/${PN}/liboperakde4.so || die + fi + if ! use gstreamer; then + rm -r lib/${PN}/gstreamer || die + fi + + # Unzip the man pages before sedding + gunzip share/man/man1/* || die + + # Replace PREFIX, SUFFIX and PN in various files + sed -i \ + -e "s:@@{PREFIX}:/usr:g" \ + -e "s:@@{SUFFIX}::g" \ + -e "s:@@{_SUFFIX}::g" \ + -e "s:@@{USUFFIX}::g" \ + -e "s:opera:${PN}:g" \ + share/man/man1/* \ + share/applications/${PN}-*.desktop \ + || die + + # Replace "Opera" with "Opera Next" + if [[ ${PN} = opera-next ]]; then + sed -i share/applications/${PN}-*.desktop \ + -e "/^Name=Opera\|^ Next/s:Opera:& Next:" || die + fi + + # Create /usr/bin/opera wrapper + echo '#!/bin/sh' > ${PN} + echo 'export OPERA_DIR="/usr/share/'"${PN}"'"' >> ${PN} + echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \ + >> ${PN} + echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN} + + # Change libz.so.3 to libz.so.1 for gentoo/freebsd + if use elibc_FreeBSD; then + scanelf -qR -N libz.so.3 -F "#N" lib/${PN}/ | \ + while read i; do + if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]]; + then + export SANITY_CHECK_LIBZ_FAILED=1 + break + fi + sed -i \ + "$i" \ + -e 's/libz\.so\.3/libz.so.1/g' + done + [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die + fi +} + +src_install() { + # We install into usr instead of opt as Opera does not support the latter + dodir /usr + mv lib/ "${D}/${OPREFIX}" || die + mv share/ "${D}/usr/" || die + + # Install startup scripts + dobin ${PN} + + # Stop revdep-rebuild from checking opera binaries + dodir /etc/revdep-rebuild + echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" \ + > "${D}"/etc/revdep-rebuild/90${PN} + + # Set PaX markings for hardened/PaX (bug #344267) + pax-mark m "${D}"/${OPREFIX}/${PN}/opera* +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + if use elibc_FreeBSD; then + elog + elog "To improve shared memory usage please set:" + elog "$ sysctl kern.ipc.shm_allow_removed=1" + fi + + # Update desktop file database and gtk icon cache (bug #334993) + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + # Update desktop file database and gtk icon cache (bug #334993) + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} |