summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-12-06 16:16:19 +0000
committerJeroen Roovers <jer@gentoo.org>2012-12-06 16:16:19 +0000
commitce71fa2b434198229f364cc8e0ece1521d3144da (patch)
tree469f85b1b0b195d0ae77002516457c9a8693c0a6 /www-client/opera-next
parentsci-chemistry/openbabel: Version Bump prepared by Reinis Danne, #439434 (diff)
downloadhistorical-ce71fa2b434198229f364cc8e0ece1521d3144da.tar.gz
historical-ce71fa2b434198229f364cc8e0ece1521d3144da.tar.bz2
historical-ce71fa2b434198229f364cc8e0ece1521d3144da.zip
http://my.opera.com/desktopteam/blog/2012/12/06/the-wait-is-over
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'www-client/opera-next')
-rw-r--r--www-client/opera-next/ChangeLog8
-rw-r--r--www-client/opera-next/Manifest12
-rw-r--r--www-client/opera-next/opera-next-12.12_pre1680.ebuild238
3 files changed, 253 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog
index 3f69ba3f291d..397d70044daa 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.159 2012/12/02 16:54:29 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.160 2012/12/06 16:16:18 jer Exp $
+
+*opera-next-12.12_pre1680 (06 Dec 2012)
+
+ 06 Dec 2012; Jeroen Roovers <jer@gentoo.org>
+ +opera-next-12.12_pre1680.ebuild:
+ http://my.opera.com/desktopteam/blog/2012/12/06/the-wait-is-over
02 Dec 2012; Gilles Dartiguelongue <eva@gentoo.org>
opera-next-12.11_pre1661.ebuild, opera-next-12.12_pre1662.ebuild:
diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest
index 2a6d5a4b22a7..3b09d5d42e11 100644
--- a/www-client/opera-next/Manifest
+++ b/www-client/opera-next/Manifest
@@ -7,14 +7,18 @@ DIST opera-next-12.11-1661.x86_64.linux.tar.xz 13636872 SHA256 897103e28b09e4b62
DIST opera-next-12.12-1662.i386.freebsd.tar.xz 13513760 SHA256 9e5d8c867107bcfb8d38ad8bccd5171ef09114b36b4474c51ac3c902fcf3a212 SHA512 e11f0dfbe2afa3b8988cdff20158e65fb1c16a57d53b932ead342f5ef81fd1d964eee719ae853776e11ec7c555f9aaf5d10e0aaa67fe72e55a686aed7f7bd2db WHIRLPOOL af411b4e718476c212ddf2d861963182fa2bdf74f88960ac46a9b03b6fbad9be4471acb1c2e2a16da5aab7c8f01246f3a442eea6cb278c3cf50c3da7a4c9f644
DIST opera-next-12.12-1662.i386.linux.tar.xz 13562988 SHA256 7cce59f9ea4799af3276e3f949def36fa0a75d69c5f2f6f9bd90454bbb4d6cc1 SHA512 0afd9ae11430f56625604d7c9f874e140af69327323b15cafcfb4d886e6883d7a20a1b14464b43ab95f8d601a7d474c2820218d149ccc669447a8c7e250cb33f WHIRLPOOL 12210fcf42d24e817bd24acb8e4e7e848b078cc06255e6eb65be7b3ab2e676bc523d0101ea2330dbfb32ddcb7393a587d14d760556024755036fb936fbfcb11d
DIST opera-next-12.12-1662.x86_64.linux.tar.xz 13634232 SHA256 b02a52143f64191a8e3c7c0ff54944c225d3c023ca2e0c0a0c13d607ac4e38c0 SHA512 9526d2d1e8db44efad2adc5e10e74c0f4392dda6b31ff64be0ec949e656584cfad12a9d528ec062bcd7eea8130066158381e88f2e2ae511dd3151bf6cf9cced0 WHIRLPOOL 85e5e38a660bd03552082e8131c28246c9624f36d252949b3a6389e1d83e910058829469e3b1137d0bca3ae4f14f37be65c753967ac24388f933b0c1566a015f
+DIST opera-next-12.12-1680.i386.freebsd.tar.xz 13518380 SHA256 b1b0137b41ce172c1cd250de66928c06d7177fe5a72840e4dfae25467a24c857 SHA512 3d42a5f600e074b13abb593f8c2f08f4ee738132abb6c5da3a49c67364665cc3e9a14412240525a8b7ce4d7906e5c572bfdda4f64cae9425e29d6291e2d4f3f4 WHIRLPOOL 8d55c9df04c03f623f6c9f257f30ccc76b0e4bc9bd7ea380eeef4387832f7ea20fa9b497736cb75b17473bd7b27bcccfa728f1ae854e85e24211e43c8145ab88
+DIST opera-next-12.12-1680.i386.linux.tar.xz 13515808 SHA256 e280a45ace3768669fbcfdb2f9edebe432566c0d450a5f6395f45c260beb120f SHA512 3c7e7e80d66d4d53ac5a0b2046ab71960af16fdd764f296a4cdcace9a2a476dd90624145e1bee8c1cf04f06506a1cf825fd686e79beeafb2d9e0b252899e04b1 WHIRLPOOL b6dad02b8bf006c0b26d42d498616a2fabaa87aae41a2fae513f77a8fc0c26a878c463ab66e16ac8ecfe71a6c02c880a749a89f647b52023e1b505882ae802ad
+DIST opera-next-12.12-1680.x86_64.linux.tar.xz 13637788 SHA256 11065db0976a5b9a4bf13aa705a849687ee0f988f1e00e42aa42f87149839af8 SHA512 05f51d14135699229bd3915409a3352d5c1f364f2b5cfa17fedb3b19e2dde3d2e79979b161ca5f821d0e903e1f69bd730fd93f6b1eec8e00e57b1ab5ce016295 WHIRLPOOL ab9d62195c2cb798fe035d29ddf0fe5aaacf6f841afab921bb2dea5c5bbf3d99701063fa2d61fe7debdf3debd155d26a0cc5ffc4e152c1154f61ee7843643a72
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
-MISC ChangeLog 32327 SHA256 a5aac20a6a87da44717f01773e7e3bc068729131a6d0e94ad2a24f082b27802d SHA512 32029ed0a4c1a3e6c54f90e1f9fe15ffef2d54983208d527735032782096005117089faeace5306231f8c814ae36da539a5682f1f6dc36db4ee2d654f49810a8 WHIRLPOOL bf209597591281321bf57f0920421bc9fac1d3d98b44b82f3e39aac3a9121f5741bb0017e4d194d1c13c79d84d2cc2f5e0a61dfdfa8614d58ecdf0152695c40c
+EBUILD opera-next-12.12_pre1680.ebuild 6237 SHA256 ba7537f50ad5f1f8bea4c2e2407be54051cdedcae4b5c616fccbbec073443406 SHA512 07691c61ff32dea304e5146d3b65afff4a41f3186582cf11d4f3984e228b8909925c066f033903145c4046c3a1d3b0f3b1d7b722f91464e55abc14a5ebfb1c35 WHIRLPOOL 2ae3bde5dfbe2780d7bb7abcf239d6cec49c11d38b07e7ef14696fc657bdbeff4d4f1d69e431f3c68657a517e7945160ed62229d081ec458933716c4cdca2713
+MISC ChangeLog 32519 SHA256 14bd766201a14b69ea0ed0a29c8fabea43b360e191b507b529b48e5dd612ca3c SHA512 135c1fe305c2a59a97af8f63e15f1a208b00957a03e825ad43ac247aff11b7cda93992dd08772582cb654f8d3a68c87969a56d104ce00c4f8abceb528928e435 WHIRLPOOL b04c4006bf083f5d6591846bef299c5457b2773a9da8c3bcff54b7463aaad9c64ab61277c71e13b65ababf2ec3c462e017a32c3d25d80365c23f836e7d65c675
MISC metadata.xml 1523 SHA256 425b559a6232d98e76a1dd960c7518aa27509021792868ffe3bd6928ec18d68b SHA512 b2d0a81b199eab70512105df691525d969865950e16f0f3646c1ef5307177391d34d157b02436fe6d156431b6727e4bb07cb7210e03a284abb531d22c8f723d7 WHIRLPOOL 7bbb0acf3ea48057939f6e652c2112d2a294030109bda2b0bab114a8922ecc67a5b9f807530ff0a2854225ad09dd98e90e3e8b510109b403cb51c1bf405f6d3e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlC7h8cACgkQ1fmVwcYIWAbCUgCgj68byZf4xfBkaPNmMtLdL7la
-c/QAnRKd/2hPi4lWMsu81l/0xSURtkSV
-=xnxC
+iEYEAREIAAYFAlDAxNMACgkQVWmRsqeSphMTwQCbBLKPhsu78neoVdPScOccA07h
+4YIAnjNzh6X3Zn/HaBldkS4KdcILN9vi
+=MEHN
-----END PGP SIGNATURE-----
diff --git a/www-client/opera-next/opera-next-12.12_pre1680.ebuild b/www-client/opera-next/opera-next-12.12_pre1680.ebuild
new file mode 100644
index 000000000000..48695328dded
--- /dev/null
+++ b/www-client/opera-next/opera-next-12.12_pre1680.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_pre1680.ebuild,v 1.1 2012/12/06 16:16:18 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="ggdGZZ" # 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
+}