summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-06-02 04:17:11 +0000
committerJeroen Roovers <jer@gentoo.org>2012-06-02 04:17:11 +0000
commit1df4f5d36540c14873378dfac18f19321008edb4 (patch)
tree93cd3009307970e9f0347bb6da0372cc714446ae /www-client/opera-next
parentBump texmath to 0.6.0.6 (diff)
downloadhistorical-1df4f5d36540c14873378dfac18f19321008edb4.tar.gz
historical-1df4f5d36540c14873378dfac18f19321008edb4.tar.bz2
historical-1df4f5d36540c14873378dfac18f19321008edb4.zip
http://my.opera.com/desktopteam/blog/2012/06/01/oopp-windows
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/ChangeLog7
-rw-r--r--www-client/opera-next/Manifest12
-rw-r--r--www-client/opera-next/opera-next-12.00.1440.ebuild223
3 files changed, 237 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog
index 5d271683c04e..619ec372ed85 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.91 2012/05/31 14:41:14 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.92 2012/06/02 04:17:11 jer Exp $
+
+*opera-next-12.00.1440 (02 Jun 2012)
+
+ 02 Jun 2012; Jeroen Roovers <jer@gentoo.org> +opera-next-12.00.1440.ebuild:
+ http://my.opera.com/desktopteam/blog/2012/06/01/oopp-windows
*opera-next-12.00.1439 (31 May 2012)
diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest
index 7ef47a9d3a30..ccf6b5f3026b 100644
--- a/www-client/opera-next/Manifest
+++ b/www-client/opera-next/Manifest
@@ -13,16 +13,20 @@ DIST opera-next-12.00-1438.x86_64.linux.tar.xz 13703424 RMD160 6070a889b970641fd
DIST opera-next-12.00-1439.i386.freebsd.tar.xz 12618212 RMD160 91ef85e1afaad9ff8b326390181856bffa3ed569 SHA1 d6c2067d312650d07acf2aa2560ee31e90fcae7d SHA256 3c4c6b9d83056a470ec9c970fa8c8a54325d0e8899d02cfde25ee084fb11072e
DIST opera-next-12.00-1439.i386.linux.tar.xz 12649816 RMD160 2dd55ce608c63759b666b9e4645825fe2d4c968c SHA1 5251b4bd75e9c2ced8cc3df13a63f2ff27a2b319 SHA256 9e6481b721e7121817d3c7318b677feeb6166839947859f760dc3de06d78d100
DIST opera-next-12.00-1439.x86_64.linux.tar.xz 13706148 RMD160 017ad2cbf703cd856b49134513d90eb9775db6ab SHA1 32fd78c3e4a29b4f9ae7da3c9074d13b46baf98a SHA256 2524afb9edeb28491a6d96dba0cc69261af4a68b5b4afe5c3c5e861417401c10
+DIST opera-next-12.00-1440.i386.freebsd.tar.xz 12620252 RMD160 36ab217fc3e0f2cdd61e0bfb6df3491de50ea265 SHA1 f0b285e0182d9b6ad8a9cc30de408711680e6755 SHA256 4fb4218f936a7c8a6e1d6b5c5a45ea02411979b44919d6772f7dd7898ec471f3
+DIST opera-next-12.00-1440.i386.linux.tar.xz 12647208 RMD160 0f3a6c1b8e282549d5b224b4e3bd32586fa0f0d5 SHA1 91d8e246ed495f6e7190802dca796ac5c3727f0c SHA256 c50183b357c042d8ed9b2a397b44820a96b981525e47fdc862ec66f5c77dec83
+DIST opera-next-12.00-1440.x86_64.linux.tar.xz 13714028 RMD160 f6d3fe0e409785a4488cb435e3a6937ed4298f8b SHA1 3c3aeec1b63e5b181d114620aae0ff57cfad42d8 SHA256 8af0e774ba13b2ee5c08ab0a985115866ccf68171a2d832704c49d6dc942b431
EBUILD opera-next-12.00.1431.ebuild 5510 RMD160 842c9882e9a072df7b6e1c28a2250536ce5c38a4 SHA1 b4343997f20a896738136eb6ee6fa36ccde9ec8d SHA256 cb2cf4fabe1240b9fccb52ba44ed7f3a2e6c8d8ff6ab04221873c7119b10f405
EBUILD opera-next-12.00.1433.ebuild 5508 RMD160 f5a16afdee7fd973f5087aa9c9aec9055bf58006 SHA1 ee8ebece545cc9200ad46816117420cf81914294 SHA256 d70b2624edb29e08700cfa25a54438eb9adf5df25847420990cc6a8dfa57f072
EBUILD opera-next-12.00.1438.ebuild 5505 RMD160 ee8817d3cf75868a19cbd9b7e9c559464ab105e3 SHA1 7f1412a84d280c225bf503771df7b8ec2b8506fc SHA256 b41c2f18018cde12c45fc0f4313f9147316b78648d5cd99b4089fa5002394be7
EBUILD opera-next-12.00.1439.ebuild 5505 RMD160 c09a33ff72075d2148f21ceff89d26de0c9da481 SHA1 bedc8813b82767c4c785ad8eb6524d13043b013b SHA256 08ece6c9d7219bcb0bd38e75b4ed14a0d269e9d38c091f2835634c9c8204176e
-MISC ChangeLog 18983 RMD160 b012141f2c7f39eebd57e52bd7477be6c0bb7b6e SHA1 cdd5eb88fc3d3c770e8636a9455bd8c66fc9dbb9 SHA256 23ff30a8abaeb8e3798ab4fbaa51a4ea04866bbb21c095946bdc82ba98fad065
+EBUILD opera-next-12.00.1440.ebuild 5508 RMD160 c340c18430359653a051b07b8390e82664a12689 SHA1 148f6ddcb9ab6e24fd615caa434b34e6e49950a7 SHA256 c6d7aac6d212a8fb3a099f306ce901b949b9729bbc87ceb83541a4d5dfff4c3c
+MISC ChangeLog 19163 RMD160 d6bb8ec075cc19b0d50c98853a698e1a762ff1ea SHA1 3988898935a5a0a62acde52be5e60bd769b6569a SHA256 0c6f2ff5194fc2ef7e496dd3df9ec151f3eb8a90faebac8d2a6ec5a6b66bb68a
MISC metadata.xml 1583 RMD160 dd5554bed2dcc35aecefd6128071453321f0fe72 SHA1 23df98cede689a9f06fdf2f82288ac7f59b23c3a SHA256 bdd625fc4e2581a5b7449ad13b227a1991da039d9c1d07b459eace4771429359
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk/Hgw8ACgkQVWmRsqeSphNqVgCfbGHNSp3ZeY0ZjGHXZWLVd4XF
-//oAniYx6vfjmeJl74pT8JV0MDgWNneF
-=NtYQ
+iEYEARECAAYFAk/Jk80ACgkQVWmRsqeSphOzGACfd58s4/UeuUHfn+hJKL5OyN3m
+iQkAn24pk9hz9jKsUqjakMgWEScDElbD
+=u1xO
-----END PGP SIGNATURE-----
diff --git a/www-client/opera-next/opera-next-12.00.1440.ebuild b/www-client/opera-next/opera-next-12.00.1440.ebuild
new file mode 100644
index 000000000000..b3ed59f03c93
--- /dev/null
+++ b/www-client/opera-next/opera-next-12.00.1440.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.1440.ebuild,v 1.1 2012/06/02 04:17:11 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="bonkers_${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
+}