diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-05-26 11:01:59 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-05-26 11:01:59 +0000 |
commit | b682d4405d3e8ae3ecd89615415e6e2ba7a4660e (patch) | |
tree | ba9b1a52b3e0a199454b4b8e8127642ebbce5535 /www-client/opera-next | |
parent | stable on ia64. (diff) | |
download | historical-b682d4405d3e8ae3ecd89615415e6e2ba7a4660e.tar.gz historical-b682d4405d3e8ae3ecd89615415e6e2ba7a4660e.tar.bz2 historical-b682d4405d3e8ae3ecd89615415e6e2ba7a4660e.zip |
http://my.opera.com/desktopteam/blog/2012/05/25/friday-snapshot
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'www-client/opera-next')
-rw-r--r-- | www-client/opera-next/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/opera-next/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1431.ebuild | 223 |
3 files changed, 237 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index 3714b03a3a3d..108c93e0eb62 100644 --- a/www-client/opera-next/ChangeLog +++ b/www-client/opera-next/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/opera-next # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.87 2012/05/24 16:28:37 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.88 2012/05/26 11:01:59 jer Exp $ + +*opera-next-12.00.1431 (26 May 2012) + + 26 May 2012; Jeroen Roovers <jer@gentoo.org> +opera-next-12.00.1431.ebuild: + http://my.opera.com/desktopteam/blog/2012/05/25/friday-snapshot *opera-next-12.00.1429 (24 May 2012) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index e446d85aad6a..eba79d69388f 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -10,15 +10,19 @@ DIST opera-next-12.00-1424.x86_64.linux.tar.xz 13529000 RMD160 7274d3ea12fc93ea0 DIST opera-next-12.00-1429.i386.freebsd.tar.xz 12585584 RMD160 9ca6c50e4999b8fa717555d447468187b0292e3b SHA1 578cb1a1aa67053fc9639cad8da47401957a12d1 SHA256 c9a0458a6e6070a08fe59db00c37926bab756b6b11284ceb8ff3bc5bf4482c29 DIST opera-next-12.00-1429.i386.linux.tar.xz 12621680 RMD160 ed4ffb6bc375cc751300e9975589dc3d7056abb3 SHA1 eb460df178da57170711ce22e05e324290d6d706 SHA256 b770fb718c51285c42a2403fef8cad37349aa542886373e9ea8970021b486ab1 DIST opera-next-12.00-1429.x86_64.linux.tar.xz 13674076 RMD160 d2da2f5a0e3e1f6a2cf9d4b7c067988c17668041 SHA1 2fe5c05696c1f4d1ccbff3b31d250bd7fb465104 SHA256 1e2c97767079d62815c71d1bd1b892ca62bcb0e2c60b3358505ffcbb2308b6e5 +DIST opera-next-12.00-1431.i386.freebsd.tar.xz 12582996 RMD160 896fd3e1ca7b65dbc3e85037fa38e54ee1f45737 SHA1 8124ef9746dcbfa0026646babc7dcac757ffb147 SHA256 0345ea61428e9849a38d6caa966662b13e38f59bcc1f77dad992f2a4c29d1bdf +DIST opera-next-12.00-1431.i386.linux.tar.xz 12617144 RMD160 596677627adb3e6e875857638f583fed2d3f0b1b SHA1 8e32d0ec91197fe1bba6c2c051bd6b0011eeb1b0 SHA256 a62be0938cd3b730c7456b931402faaa092014311ec88230dba64c94d6ee9558 +DIST opera-next-12.00-1431.x86_64.linux.tar.xz 13675700 RMD160 3d48c04e33fea0d5e5e80182ca149f43c3792d97 SHA1 75068b4382e169ee9543210a8fd1c46854984623 SHA256 ee8292eed586ceb7f900b3145831291188a4e84e17a74645dc02a824da4fd79f EBUILD opera-next-12.00.1422.ebuild 5506 RMD160 db1ecc4d1421eb1a92686646fc9f60cda9889de1 SHA1 74a6a71d1d84637ea3cfb34a4fc3d2241414edad SHA256 3d5c53da5a5a9f9f4b9d365ad95beb05aef965b13a17bc0c74c1f6a9908b74d2 EBUILD opera-next-12.00.1424.ebuild 5507 RMD160 5909c170ea5ad0b7ad9a9f3d98481ed4064537aa SHA1 c9fc6769cafc7c62feec98bb0b3ebe6f4e60463b SHA256 643b8808ea5c99ffd04cc59662c2e44099f771f2c1692aca6e0da75274855e3b EBUILD opera-next-12.00.1429.ebuild 5507 RMD160 59b1e8c16e032ed2fefa7c8a69dafe6bc0593220 SHA1 deac6768f333e2db8e1f824446f167cdd056243b SHA256 1fff2a655f0e07d07ccd09e6a25ce1eb0b3c195208663272683f314a94bb4e0a -MISC ChangeLog 18156 RMD160 0368a2adbb4983307c5fdb61d9ebe1dc9e9f9282 SHA1 1606ce3b058c880fc0dae43f99f79d0433890633 SHA256 4b9c8cdfdff11af80f88051a91d68f3f82d02992f9e4bb6df92dcc5bd0c13954 +EBUILD opera-next-12.00.1431.ebuild 5510 RMD160 842c9882e9a072df7b6e1c28a2250536ce5c38a4 SHA1 b4343997f20a896738136eb6ee6fa36ccde9ec8d SHA256 cb2cf4fabe1240b9fccb52ba44ed7f3a2e6c8d8ff6ab04221873c7119b10f405 +MISC ChangeLog 18339 RMD160 353d62c2b2761e08e69ad496eb3340b50426de2e SHA1 7a6c98a1f860146579ead10f8659f7d988c65c2d SHA256 61c62d56accbb5ee0e7cd5fd3c2d3777d9b6d1e83a69e44b744ff32c7c2acbc6 MISC metadata.xml 1583 RMD160 dd5554bed2dcc35aecefd6128071453321f0fe72 SHA1 23df98cede689a9f06fdf2f82288ac7f59b23c3a SHA256 bdd625fc4e2581a5b7449ad13b227a1991da039d9c1d07b459eace4771429359 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk++YbsACgkQVWmRsqeSphOu1ACfV6RTIVYr5ZgGa03Qu9If3yPn -YrYAnizaqtWbEuZh3+Ur639TjYSTzuk0 -=CpYB +iEYEARECAAYFAk/AuDAACgkQVWmRsqeSphPsXACfe1/vgyhEdg4BLrQMAZEWz3F0 +MowAnR6AIsU721k5OKu/PrnaLaWD5D3R +=hRda -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.00.1431.ebuild b/www-client/opera-next/opera-next-12.00.1431.ebuild new file mode 100644 index 000000000000..cab55b2916f3 --- /dev/null +++ b/www-client/opera-next/opera-next-12.00.1431.ebuild @@ -0,0 +1,223 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.00.1431.ebuild,v 1.1 2012/05/26 11:01:59 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="stability_${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 ar az be bg bn cs da de el en-GB es-ES es-LA et fa fi fr fr-CA fy gd he + 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 ur 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 + + local OPERA_SUFFIX= OPERA__SUFFIX= OPERAU_SUFFIX= + if [[ ${PN} = opera-next ]]; then + OPERA_SUFFIX="-next" + OPERA__SUFFIX=" Next" + OPERA_USUFFIX="-NEXT" + fi + + # Replace PREFIX, SUFFIX and PN in various files + sed -i \ + -e "s:@@{PREFIX}:/usr:g" \ + -e "s:@@{SUFFIX}:${OPERA_SUFFIX}:g" \ + -e "s:@@{_SUFFIX}:${OPERA__SUFFIX}:g" \ + -e "s:@@{USUFFIX}:${OPERA_USUFFIX}:g" \ + share/man/man1/* \ + share/mime/packages/* \ + share/applications/${PN}-*.desktop \ + || die + + # 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 +} |