diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-03-26 10:15:41 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-03-26 10:15:41 +0000 |
commit | 6246b7b11d4c6c2e7b5cf5eaa0cab8d95e968f73 (patch) | |
tree | fa699e519a52fafebeb898750b1376548ce70a99 /www-client | |
parent | Update homepage. (diff) | |
download | historical-6246b7b11d4c6c2e7b5cf5eaa0cab8d95e968f73.tar.gz historical-6246b7b11d4c6c2e7b5cf5eaa0cab8d95e968f73.tar.bz2 historical-6246b7b11d4c6c2e7b5cf5eaa0cab8d95e968f73.zip |
http://my.opera.com/desktopteam/blog/2012/03/26/11-62-release-candidate-1
Package-Manager: portage-2.2.0_alpha95/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/opera/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera/opera-11.62.1347.ebuild | 220 |
3 files changed, 234 insertions, 5 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 65db4ac5f443..096f8bdc9602 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,11 @@ # 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.701 2012/03/22 14:38:33 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.702 2012/03/26 10:15:41 jer Exp $ + +*opera-11.62.1347 (26 Mar 2012) + + 26 Mar 2012; Jeroen Roovers <jer@gentoo.org> +opera-11.62.1347.ebuild: + http://my.opera.com/desktopteam/blog/2012/03/26/11-62-release-candidate-1 *opera-11.62.1340 (22 Mar 2012) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index fca8897ef84f..e07e07fadcaa 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -10,16 +10,20 @@ DIST opera-11.62-1332.x86_64.linux.tar.xz 12323144 RMD160 7ef2b9a216069767bbab25 DIST opera-11.62-1340.i386.freebsd.tar.xz 11543816 RMD160 b781bba122379b37f5916d735cb8df79d4668d61 SHA1 9555e8143fb4c28e433af0395cbdf9ef0c23942c SHA256 f0d8ae53dae1738e5e64d21affba4cafa39a70538f28235b8721471378f167f3 DIST opera-11.62-1340.i386.linux.tar.xz 11493724 RMD160 1ff063da49427b7eea186ff10b73126f9c02c031 SHA1 d8dffe0cc793798e68a5997bb2aebad1e4e57c76 SHA256 753eec7e938b42955dfb6f4c77a0ea7d651268ee8c4c957cf298e961d99d908e DIST opera-11.62-1340.x86_64.linux.tar.xz 12318036 RMD160 31d40a5cc4f9a8d8f98a1fa92bc232c940433ef7 SHA1 8ae0428c3b5c317c9d9780b67987be823e933523 SHA256 a98221dcb0cd99a8f526449bf37828c61607e8eeacfc9a046ac040100e47825a +DIST opera-11.62-1347.i386.freebsd.tar.xz 11541652 RMD160 f018e429b460c9090285a6b83cf09f131a0f324a SHA1 352d26bed36f8243d58cd9fc56cd4dc9a04e9729 SHA256 0b6a2d6801790d928dce5d4db6d1b0e6c53afd51ce6e388e1174a87de5f87c47 +DIST opera-11.62-1347.i386.linux.tar.xz 11489964 RMD160 d224776c5c8c2258d1d02d65f68e05714ae23e20 SHA1 8fc935c82cac86c1d06d97a9746a44676d6664b3 SHA256 0d5a8f88453637c5248628cf343e57ef4f130971c7fc65a2b4dcbef2c5ec057d +DIST opera-11.62-1347.x86_64.linux.tar.xz 12321584 RMD160 400654ae13a3dfbe53aa3fe8a585af070ae31e38 SHA1 5a0e6b36b62e15809642ab18fb0c0a1ea2f584c1 SHA256 e13dba391ba4d76ea6d8f5b9d18cde0f312217c6c28f530f994812756b46bab4 EBUILD opera-11.61.1250.ebuild 5433 RMD160 465938005ac749983612bd38742a59895d0f5cea SHA1 178b6cc8651ed92c1b331ebc16142964d0993543 SHA256 a839819ab798e7d86b57a3543deef020b807483ff41e99e53a0c3ff652b66b9e EBUILD opera-11.62.1332.ebuild 5459 RMD160 0dab1c4f752fde1c35998542f320fdeb845e5e39 SHA1 ca4228988af2e7a50f59fac5676f46c5d6ce769d SHA256 d6ad461c4f57abb4ad20cf758025c8eab86c0c8cfbf82b7849f2deeede952ac9 EBUILD opera-11.62.1340.ebuild 5450 RMD160 c55d1915caed1578f020af6b6b3b82c26ca395b9 SHA1 63e9d8c0b535e22aa1a4624e109e15ce0bbe799e SHA256 2dc9b9637d8bc40b79581ac0389db5d8e3a82002b4f7adeabc51cbebd3a37300 -MISC ChangeLog 21389 RMD160 b76d7b2db69c85405dcde9a8dd99c64ff7376042 SHA1 7e6c1e9f25320dbecb0e8da1850271361deb8d26 SHA256 3d1089b8d0c055165e112088b68e13e9c68ad5b66e55b723661c588a035be0bb +EBUILD opera-11.62.1347.ebuild 5442 RMD160 072188104159854e02e0452e46534350ec353486 SHA1 09db3496607bda42301c553a58702db968e99a15 SHA256 987a4bd60e1f6617be56e8ae43a2ca9ba87e99ed6c67e7abaf67e8f868ffadc6 +MISC ChangeLog 21572 RMD160 63f5ae9c3aa1245034dea8ae40440037bb8b3f32 SHA1 fd993457b0d4be8ef70d4e7645f0a371c2d2391a SHA256 732495fef928b07a9ebe959052e469199a3c14e9a69adfe38a99b5e5a6bfed5b 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) -iEYEARECAAYFAk9rOXIACgkQVWmRsqeSphMWGwCfZrZLrLcoyYNrB3UlAHbmW1WM -ZAgAnjU0uuVMXeRwv737hZLebhwWZR4u -=Rzqw +iEYEARECAAYFAk9wQdIACgkQVWmRsqeSphMjtgCfaeiMCt/pVmg2v16YgBVICZlD +s5EAn02magTesp9MEfcUtGTDSrkwuKqr +=8CHQ -----END PGP SIGNATURE----- diff --git a/www-client/opera/opera-11.62.1347.ebuild b/www-client/opera/opera-11.62.1347.ebuild new file mode 100644 index 000000000000..bdc768986ca9 --- /dev/null +++ b/www-client/opera/opera-11.62.1347.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.62.1347.ebuild,v 1.1 2012/03/26 10:15:41 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="rc1_${O_V}-${O_B}" +O_P="${PN}-${O_V}-${O_B}" +O_U="http://snapshot.opera.com/unix/" + +SRC_URI=" + amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) + x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) + x86-fbsd? ( ${O_U}${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 +} |