summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-03-26 14:41:45 +0000
committerJeroen Roovers <jer@gentoo.org>2012-03-26 14:41:45 +0000
commit47b5b908448f7f9c101bb27e12860ebf9fedce00 (patch)
tree2e382a79b35c12f187965e04307747a2d920d8a3 /www-client/opera-next
parentDepends on x11-libs/libXpm. Bug #406251 (diff)
downloadhistorical-47b5b908448f7f9c101bb27e12860ebf9fedce00.tar.gz
historical-47b5b908448f7f9c101bb27e12860ebf9fedce00.tar.bz2
historical-47b5b908448f7f9c101bb27e12860ebf9fedce00.zip
http://my.opera.com/desktopteam/blog/2012/03/26/html5-css-64bit
Package-Manager: portage-2.2.0_alpha95/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.1351.ebuild220
3 files changed, 234 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog
index 123b8c117e14..ada0938f21e7 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.69 2012/03/14 17:41:56 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.70 2012/03/26 14:41:45 jer Exp $
+
+*opera-next-12.00.1351 (26 Mar 2012)
+
+ 26 Mar 2012; Jeroen Roovers <jer@gentoo.org> +opera-next-12.00.1351.ebuild:
+ http://my.opera.com/desktopteam/blog/2012/03/26/html5-css-64bit
*opera-next-12.00.1331 (14 Mar 2012)
*opera-next-12.00.1328 (14 Mar 2012)
diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest
index 4c3001eb2aa8..60cdf1019ce8 100644
--- a/www-client/opera-next/Manifest
+++ b/www-client/opera-next/Manifest
@@ -10,17 +10,21 @@ DIST opera-next-12.00-1325.x86_64.linux.tar.xz 12719028 RMD160 2c339bb3c3357c0aa
DIST opera-next-12.00-1328.i386.freebsd.tar.xz 11787172 RMD160 8f264a2fdc69f2d04802e6f06942f86922b5ef8a SHA1 e98b87fb41979a70de78825980c4e78b4cecc4cc SHA256 1c7a5d258f2da4f959115aad8101f76f9d85418a7da1c5796fcc8a007b299307
DIST opera-next-12.00-1328.i386.linux.tar.xz 11872024 RMD160 2a84eb1fc77f7bf90ea0417fb233ed5366165303 SHA1 9cb6aa2bb598f9eb946a842aaf10439f168063c0 SHA256 5daebf261c9304fe6e10ca2eab5e1537b5d6d212568b17a7391ee1ab9c536842
DIST opera-next-12.00-1331.x86_64.linux.tar.xz 12725404 RMD160 8ff47ed0686df251a00311ef085bc95bf2ecb44c SHA1 1a034d67c9fba5980ad063149618485830f00293 SHA256 6b64e6f99e731ae6003ae7a27e52a69cebfab653d555bbdbdec961c2a1387f7e
+DIST opera-next-12.00-1351.i386.freebsd.tar.xz 12011696 RMD160 b0336fa83d857bbf534bdafb69f993e0ab7f08ce SHA1 b45e8f7e379a8779a93d11cb9f4b6a3556c38eed SHA256 2340bddcd0e4d2856205246a5c820d335945ea8097aec2741b7896d0edb5805d
+DIST opera-next-12.00-1351.i386.linux.tar.xz 12096296 RMD160 bc6ade8240dfa53563f0b4e76423872b6eb56290 SHA1 cc2d8a43067fa51bd92e242450a55ab500b2f74c SHA256 a6a445292c185d2b66ab5ea50ef05da5549c92192d2f999713e958701ab00387
+DIST opera-next-12.00-1351.x86_64.linux.tar.xz 13186420 RMD160 e05355e1033cd641e90b165b00443a1bace8ff8f SHA1 0451ccdec76dfffe96ffaa48ef5f293d7c39c110 SHA256 65754dddc2065acb018e021e8ad3002272e91923b3244d7d425473c5a10bb499
EBUILD opera-next-12.00.1317.ebuild 5403 RMD160 5f30ee372527f23c6bf244fc20c44f5950c5179d SHA1 a79c67a9948b1d8cd8e4e63a75d7087f4e48ee31 SHA256 7aa0e341db26a76f302a3e1ecd1f4844b19bdc1c1c3e327964beb508e1d7a42b
EBUILD opera-next-12.00.1318.ebuild 5342 RMD160 1fafd52944c9ec68cc99057c83c1b71ef1e41b7d SHA1 549b1ce7c92b3c57ee0f580f6c2266a2d10d65b5 SHA256 6cc06134cc63e918184cd5370b3de689675af0b8fe089bd6b7a0cae2a1d043a5
EBUILD opera-next-12.00.1325.ebuild 5459 RMD160 482c5ba077c8e8a083ec6c4836a5ddc004fbc8e4 SHA1 f780b6d37dfa415ebe2be719429dda7ec2c5bf75 SHA256 5901fcf3f5f2bcade934da0c5a0d294eb59e29cb0b815f7660a5285ddc6c60c7
EBUILD opera-next-12.00.1328.ebuild 5396 RMD160 5a6fafd3af9826e34c635a4d39b92db2d1f00ccd SHA1 e0704e777d77a4c9f7fe3a351d1d8aafd3f496fe SHA256 83f3b7c957918041c0369fe7c7198fb11d4a6ec78d4d51d58f1d14c490a71f30
EBUILD opera-next-12.00.1331.ebuild 5335 RMD160 b4cf516906b78daacd22acaf46fc3f473c731809 SHA1 bd5f2db484a383214458571fcc1ca30b947f649e SHA256 b5495f431e95a639b45bdbd2c4457f4b420e43d02edc4b9981e8a2a484abefaa
-MISC ChangeLog 14189 RMD160 37f6971290f835e8c525f90ee8b79ac72872ae40 SHA1 b1ab5261decb341786ab73c04311ef95e35bb571 SHA256 bd138c8bbc772ee1f9397bf95ce6ffaff4b083bda872efe2176cddf815c665a8
+EBUILD opera-next-12.00.1351.ebuild 5456 RMD160 f32e22118afbb8960a593d5b5a41433aff996d54 SHA1 e56d5d27f509fa93b553cd650a84b724d8b503f9 SHA256 3895da4c35aa514c2289f5acea25f06497dfd360ff7536c1b4a42f2daa5e6815
+MISC ChangeLog 14372 RMD160 a164b1c6288ba20aab6a88691557ff5a2e0840cb SHA1 f5e56d56a1961b8050f0eb61c823311f7b3ba413 SHA256 446df5b7e16955d99df1509ca4ce348069cd6c1782926d0a7479162dc83d85da
MISC metadata.xml 1638 RMD160 17ef00f7f0515dd445244bda48ddb4f3a8829597 SHA1 32894ca5e0efb115e4f98f27e46f547199e3dd74 SHA256 1479bc1f748e8186b8141d8a0eb7d45930c67f3fafd746527215e2ef1070be8a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk9g2GkACgkQVWmRsqeSphMg9QCcDjJouESbJ1hcde+AnpJAIZYQ
-M7IAnAywJYuv0XTHjKv5FTRWBFp7FD8L
-=i3DX
+iEYEARECAAYFAk9wgC8ACgkQVWmRsqeSphN5BQCfdR/D421NmHc1FW0+J7loHVvs
+LCkAnRhtVa8Vj6osA5kvzOIh9D1RMWk1
+=zFCY
-----END PGP SIGNATURE-----
diff --git a/www-client/opera-next/opera-next-12.00.1351.ebuild b/www-client/opera-next/opera-next-12.00.1351.ebuild
new file mode 100644
index 000000000000..d8dcec236d72
--- /dev/null
+++ b/www-client/opera-next/opera-next-12.00.1351.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-next/opera-next-12.00.1351.ebuild,v 1.1 2012/03/26 14:41:45 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="goodies_${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
+}