diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-12-13 04:37:10 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-12-13 04:37:10 +0000 |
commit | f52352896625cdb782b0b82a48cd59da09e6e7a8 (patch) | |
tree | fb6b235622520d2f1d2fd2a4d1bec9e0b61005ed /www-client/opera-next | |
parent | Beta channel bump. (diff) | |
download | historical-f52352896625cdb782b0b82a48cd59da09e6e7a8.tar.gz historical-f52352896625cdb782b0b82a48cd59da09e6e7a8.tar.bz2 historical-f52352896625cdb782b0b82a48cd59da09e6e7a8.zip |
http://my.opera.com/desktopteam/blog/2012/12/12/12-12-rc-2
Package-Manager: portage-2.2.0_alpha148/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'www-client/opera-next')
-rw-r--r-- | www-client/opera-next/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/opera-next/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.12_pre1704.ebuild | 238 |
3 files changed, 253 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index e208e42f4887..0e3f295b8547 100644 --- a/www-client/opera-next/ChangeLog +++ b/www-client/opera-next/ChangeLog @@ -1,6 +1,12 @@ # 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.161 2012/12/12 15:05:19 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.162 2012/12/13 04:37:09 jer Exp $ + +*opera-next-12.12_pre1704 (13 Dec 2012) + + 13 Dec 2012; Jeroen Roovers <jer@gentoo.org> + +opera-next-12.12_pre1704.ebuild: + http://my.opera.com/desktopteam/blog/2012/12/12/12-12-rc-2 *opera-next-12.12_pre1693 (12 Dec 2012) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index f91a8e0af98d..b463ab73a222 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -13,16 +13,20 @@ DIST opera-next-12.12-1680.x86_64.linux.tar.xz 13637788 SHA256 11065db0976a5b9a4 DIST opera-next-12.12-1693.i386.freebsd.tar.xz 13512152 SHA256 b6b8e6f4b782c82e3a8863a7d51858d9be7324d1606b31995a01c520d511efe0 SHA512 688f6d1258eb9f15ca0acb9d4a93319ccd635cc5e45e02b883ab1390ed925d4abe82cbebb0be2bd914ebf7a86c80ddcb0a726916c242f319a6898a59af7ec647 WHIRLPOOL ced50e37af1ca4eba2ce415e3af5d4bf6f4d59c3459ed9363d066a93188801cf543754b1b172a32a71fc722d209e6ff4381f0df20dec08a161c3067cf1e6dc86 DIST opera-next-12.12-1693.i386.linux.tar.xz 13518836 SHA256 5e5f62e12a44284abd38693492d894f74a05980055af240d84117f613623364d SHA512 496a1946d3c6c5733f3acab1f09c9feaa8eda7a827ccdeba9de2623dc8ba0aa3736126e469100ab90bcc7c1456f90044ca16f251b7f13f72690f19c301112aee WHIRLPOOL 890f3c574183326572caccdb5e7bfe44aef17c949e750419bd49b453f8abbe11614efa777cfb4b38865c24a76bc8560afca658210a6550ffffd164036d270fda DIST opera-next-12.12-1693.x86_64.linux.tar.xz 13641216 SHA256 4dac23177189cf2d9b2c10d74204f954a748ad40c49a18b3779a02d9afcb1c32 SHA512 a53f04614fd3cbc3e355b684f4fcdc958744a4dd0cb1fb6e7c75fb4543ebdabcd53deb6b1338767ba8fb7dd3970ab42efc85ccebdb9be52db08ce3e589c272bc WHIRLPOOL 3c41d73a102dfd6e13e101eada964fc5118f0aa88280779bef37b678f6cfda30a49e0b68f34a9bbe78f0d6493244647ca6fba6c99e7264bb2fd266bf5f481321 +DIST opera-next-12.12-1704.i386.freebsd.tar.xz 13514108 SHA256 8fe2ad57e6db2b632ec57b36d5af8ea4ef541179f732efe7cbb84dd6489286c2 SHA512 e850f80f72583f5cf3cb682c8913fc60966cd7348c794bbd49c1693b6b2b4434f6d87648f10026698cc8d9f0406e4eff24b0771ae5fdc4f3dcbaa27d32e1147c WHIRLPOOL 9c19ba5d5ddc4858175ca299f314bf26492cd30278f23bb2aceb9541f400fe0eb38b64d58dc3d5a139414a564e4e77d8a9232c4696bee68b518863231f81dc29 +DIST opera-next-12.12-1704.i386.linux.tar.xz 13521328 SHA256 769b0107b9ad6f5c464919294b171e9d474763c41f08ed444bad8879d689aa44 SHA512 c79c69c855226280da856a7d597d57c1662cb2b361b10b7772dfbea85db4a371bc7189474a4451a5f3c8785215d598f80277c1a9d17079da6da80c4c70a33159 WHIRLPOOL 564d69b6b9e991c91887181fe12e1d47f0a25bd6608f98e0b723e7deb01b81fa3aebec2ff2e93d02b2d2533417be2d48695c0e52eee4977550889479f7c4bd43 +DIST opera-next-12.12-1704.x86_64.linux.tar.xz 13639024 SHA256 0235fa3d1fd3693c8ea11af9f8309ab46e99b71adf45519105d2a7f0dccc3734 SHA512 d103dcf448d512a191f5fc0e9321325563ed64007d1ad0c3a6b0d64e4b385b656b8baa403bee8fd6d47bd815654bd13579f0995f07f2b9ebc1b54f5d777f8c6e WHIRLPOOL a054e56061ed1a6b7ef5c6b7e134115fc09c97e4d82f04c397bb52487b962e93b02cdb3eb6fa49cd1986caf766a21743b97bc1d2bfe0118451541d110b9c4cbc EBUILD opera-next-12.11_pre1661.ebuild 6234 SHA256 c52fb995f44e0e63ba14927aa442ba034209a582af217fcc12dc9de84d974ec6 SHA512 95efb5e0c10e8cc8c899a09dd00e16370a92726332812c96c6d5a9f3a2b27b7397a0cece8e7a76a9154ecadd150310850fa991e142b0480bee7f893c28217433 WHIRLPOOL f0cfe4f2bdaa96a8458ca4590ba00a46a4b6c22992d6470e6326ec8f52bebb0bc8a09ff6ff85717fa5cc01e9244577fce4d0b8331e0b35f563ec947811966037 EBUILD opera-next-12.12_pre1662.ebuild 6235 SHA256 0774d618340fdd4e35741897fcf16952c8ecffc2b1c4ef6eb7f5d0b27bc944af SHA512 9ec426c86afc3867a3b49c540fc1fa3719381781057419f4f7083fd05fb6ba689ee1d58cf83878e1acabca7bd961b4c32c301accae82372a46e87ae2a3550a23 WHIRLPOOL 5a4b65a5de68f2974b6665df0a9ca681da5bd6fa405ad7e4c5f8c74b6e5405c1667d707863d19fd57e50ef941ac70196770d6347ad88681f234bf41d46b1b290 EBUILD opera-next-12.12_pre1680.ebuild 6237 SHA256 ba7537f50ad5f1f8bea4c2e2407be54051cdedcae4b5c616fccbbec073443406 SHA512 07691c61ff32dea304e5146d3b65afff4a41f3186582cf11d4f3984e228b8909925c066f033903145c4046c3a1d3b0f3b1d7b722f91464e55abc14a5ebfb1c35 WHIRLPOOL 2ae3bde5dfbe2780d7bb7abcf239d6cec49c11d38b07e7ef14696fc657bdbeff4d4f1d69e431f3c68657a517e7945160ed62229d081ec458933716c4cdca2713 EBUILD opera-next-12.12_pre1693.ebuild 6234 SHA256 961c63e12b22e46f2030140a88b41a6fdfc8074c8568d57df33672c04d541718 SHA512 791f401ea2932e4bea3f3160b88b61d26ce54a7d637d09ee8ac4d77fd328e192c5b2c2ace8c7229f48fd5d30045bbcc95ec72b70a663d525df8a7b9e62cd694a WHIRLPOOL 98ecec0cb6f7dc0e674b477633486e4ca834ab301949d722c21a9d6a9733ffe4a6765c949d5ff2f4981672fe7c802f162bfeef4aaa09ca2d65c091b5569c9629 -MISC ChangeLog 32712 SHA256 211b7b5e62fbddf3708b9ea87d11109b71f0019954b494944671b2c0151bf5a3 SHA512 e8d6d89fd954017988fd20532bb6f728855351ce2a22f579f9e437385d9a038498d25883f78f949a45f23bb2073dd328f1de41e7c11f74910d581442141813c5 WHIRLPOOL 10a5e957d318edfb1849a4a34282fa8a9df56b0e4ec17c4f6ccc4774e3df50585f0a9fbd0cd03c1b81249157eef555ff7a2c4bda2323e705ad2f0cecc00c2ccd +EBUILD opera-next-12.12_pre1704.ebuild 6235 SHA256 80f566fe36e456579c652a9c226d294ef19795a7cdb854ce7e364596a29d45d1 SHA512 dac57fe563816bc0946e7cf0309097e848a4c39275f14d97c01a7b2b562eb9bd8ea71edf2f45a09b568985a7fd3bf47ef3242c4838a75fb8582bed83da4ed3b5 WHIRLPOOL e9f4b2206216aed653b8761c4d6bda24e41048fade4fe03ff74b7967661fbe9730ba4744ce82378a52413e5f92840cdd08c56a90afe86ea3dd4376d33ecfcbd3 +MISC ChangeLog 32898 SHA256 2d0a37d799d7dd39d47ba7ca8946d009412c2508479ae77285fba1a6facb8ba9 SHA512 7eedbd69f101e751680d2668b462360ab4e746528308c7aa8a8d0e2783d6378ca2835e6577bc60bd2892ea5a15276bb8ebcf754c4b7b457656e1422d54851127 WHIRLPOOL 108a481988cf8db4862ad6043a48577c989eb07ddb03629cacbc997baa04de535372db279b414f83eac8a6cca5df0c850a8bb7f6ccedf2ba175c75e679ddb465 MISC metadata.xml 1523 SHA256 425b559a6232d98e76a1dd960c7518aa27509021792868ffe3bd6928ec18d68b SHA512 b2d0a81b199eab70512105df691525d969865950e16f0f3646c1ef5307177391d34d157b02436fe6d156431b6727e4bb07cb7210e03a284abb531d22c8f723d7 WHIRLPOOL 7bbb0acf3ea48057939f6e652c2112d2a294030109bda2b0bab114a8922ecc67a5b9f807530ff0a2854225ad09dd98e90e3e8b510109b403cb51c1bf405f6d3e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlDInTEACgkQVWmRsqeSphM6wQCeIpBDkrbnE+qGl67IZ84QanU1 -k4cAnineUxx5PNMOy4hpZ8j9LX1bNYV+ -=S2jc +iEYEAREIAAYFAlDJW3YACgkQVWmRsqeSphNCKgCeIILI9p7C4HMV845LV3q6jfcY +XUoAnjAsL+Ip1T9QINmu8/5upfeafYS2 +=kEYJ -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.12_pre1704.ebuild b/www-client/opera-next/opera-next-12.12_pre1704.ebuild new file mode 100644 index 000000000000..c1f9bb2b54bc --- /dev/null +++ b/www-client/opera-next/opera-next-12.12_pre1704.ebuild @@ -0,0 +1,238 @@ +# 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.12_pre1704.ebuild,v 1.1 2012/12/13 04:37:09 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-12 LGPL-2 LGPL-3" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="elibc_FreeBSD gtk kde +gstreamer multilib" + +O_V="$(get_version_component_range 1-2)" # Version, i.e. 11.00 +O_B="$(get_version_component_range 3)" # Build number, i.e. 1156 + +# == Variables that often change == +# All other variables should be accounted for by _pre/_p + +O_K="strc" # The key to the snapshot URL + +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 kk ko lt lv 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 +" # Supported linguas + +# == End of variables that often change == + +if [[ "pre${O_B/pre/}" = "${O_B}" ]]; then # snapshot: _pre + O_D="${O_K}_${O_V}-${O_B/pre}" # directory string + O_P="${PN}-${O_V}-${O_B/pre}" # package string + O_U="http://snapshot.opera.com/unix/" # base URI + + 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 ) + " +else # release: _p + O_D="${O_V/./}" # directory string + O_P="${PN}-${O_V}-${O_B/p}" # package string + O_U="mirror://opera/" # base URI + + 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 ) + " +fi + +for O_LINGUA in ${O_LINGUAS}; do + 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+:3 x11-libs/gtk+:2 ) ) + x11-libs/pango + x11-libs/pixman +" +KDERDEPEND=" + kde-base/kdelibs + x11-libs/qt-core:4 + x11-libs/qt-gui:4 +" +GSTRDEPEND=" + dev-libs/glib:2 + dev-libs/libxml2 + media-libs/gst-plugins-base:0.10 + media-libs/gstreamer:0.10 + media-plugins/gst-plugins-meta:0.10 +" +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} ) + kde? ( ${KDERDEPEND} ) + gstreamer? ( ${GSTRDEPEND} ) +" +src_unpack() { + unpack ${A} + mv -v ${PN}* "${S}" || die +} + +src_prepare() { + export OPREFIX="/usr/$(get_libdir)" + export QA_PREBUILT="${OPREFIX}/${PN}/.*" + export QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" + + 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 + 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 + 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 + if use amd64 && ! use multilib; then + rm lib/${PN}/pluginwrapper/operapluginwrapper-ia32-linux || 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 $( list-paxables $( find "${D}"/${OPREFIX}/${PN}/ ) ) +} + +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 +} |