summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-04-24 17:25:57 +0000
committerJeroen Roovers <jer@gentoo.org>2012-04-24 17:25:57 +0000
commit605054c8d05764126b3156cfabbfe6b7de31157b (patch)
tree246fe7ef976d94b9edb7c4a8cb1354b4e287ae96 /www-client/opera-next
parentStable for amd64, wrt bug #412565 (diff)
downloadhistorical-605054c8d05764126b3156cfabbfe6b7de31157b.tar.gz
historical-605054c8d05764126b3156cfabbfe6b7de31157b.tar.bz2
historical-605054c8d05764126b3156cfabbfe6b7de31157b.zip
http://my.opera.com/desktopteam/blog/2012/04/24/increased-focus-on-opera-extensions-and-ending-support-for-unite-widgets-voice
Package-Manager: portage-2.2.0_alpha101/cvs/Linux x86_64
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.00.1386.ebuild222
3 files changed, 237 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog
index 5ee632a5299b..f753f2de2a82 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.77 2012/04/24 09:46:08 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.78 2012/04/24 17:25:57 jer Exp $
+
+*opera-next-12.00.1386 (24 Apr 2012)
+
+ 24 Apr 2012; Jeroen Roovers <jer@gentoo.org> +opera-next-12.00.1386.ebuild:
+ http://my.opera.com/desktopteam/blog/2012/04/24/increased-focus-on-opera-exte
+ nsions-and-ending-support-for-unite-widgets-voice
*opera-next-12.00.1385 (24 Apr 2012)
diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest
index eca3b54b1c1c..3b3c23ef161a 100644
--- a/www-client/opera-next/Manifest
+++ b/www-client/opera-next/Manifest
@@ -13,16 +13,20 @@ DIST opera-next-12.00-1383.x86_64.linux.tar.xz 13365788 RMD160 ed0be05551e98886f
DIST opera-next-12.00-1385.i386.freebsd.tar.xz 12321224 RMD160 99bb15c72ee7b52437880c0b26d6622954d7ee14 SHA1 e2620c65b1c4272642f5fd3adfe249211cf793f3 SHA256 d789234e4a4ee391fc245873498b57bf1434d0b8ccc554dee042477bcd375bce
DIST opera-next-12.00-1385.i386.linux.tar.xz 12404056 RMD160 025517620b412d56ee1d59d0b02b4728789606c7 SHA1 8dbaeb8c26bc0fb5dba587e58b1d8bfe46554ea7 SHA256 416aded2e343850ebdde6aeb3d981f489000c942e999db7652344027a04f0b7c
DIST opera-next-12.00-1385.x86_64.linux.tar.xz 13489500 RMD160 a4e26c0d98e4912c5dc56d5d0660abd192d831cb SHA1 3e1945f9b9753ae838ffbfacae24c574e49d9f83 SHA256 9d1f2464ad8dc0ac7c638d3216ca476fdff5262ba6db37a657691a03f62ed9e8
+DIST opera-next-12.00-1386.i386.freebsd.tar.xz 12237832 RMD160 79d1c224ff60c4ee6b3e63c0b27ea3b8d609106c SHA1 246d243fa1203332d3c728b2b3cee3d1c2f9ee9b SHA256 b49cd2735415822af448a1aaf0eb19bb85de92d96a29f85fabc65e04c8f0aa6c
+DIST opera-next-12.00-1386.i386.linux.tar.xz 12271676 RMD160 7653392f28bf35931684ab3cbf2ce7108ccdfb1c SHA1 05008ea23c0bb20b3ff9bd0cca7b2ca6aeeb268b SHA256 ff08933cd0a6ecdf48e91b9b9f01c84e362a7257dabbbad928c864b6fae390f9
+DIST opera-next-12.00-1386.x86_64.linux.tar.xz 13355444 RMD160 b6c395a68d54550bb06076dd0c06912d48e8f319 SHA1 2de7dbd9022d098f40c47dd66fef264a3fab5b91 SHA256 53ca06230d0cbfda86102bfa6356aa25193050ab496c8fa003a515d95499a44e
EBUILD opera-next-12.00.1372.ebuild 5454 RMD160 70ea281f78f4dcad9f76d6c46c4b4a54312ebdfa SHA1 8ee4f4376fe86b9d49d158a19d131e31c91ebb6b SHA256 cb756e92e004bd55f61a8aa5a58809f31cbb1c65c4d3e292f69b0bbf679b2b17
EBUILD opera-next-12.00.1380.ebuild 5454 RMD160 77e4f00de1e47f056f6434eda5d053109f300d11 SHA1 99b3326850cb9ba01cc52c50b85df1ce66dbf39a SHA256 21261b42e98754541ff09d99827d44af3b67fd8c369df66637a8e8f719cb1a84
EBUILD opera-next-12.00.1383.ebuild 5470 RMD160 840521faa12475940100b098edf98da17eb66fd7 SHA1 aba6b597461121fcb2fa962c3fbfd15f960875d8 SHA256 ac28af0a0402d8c174be06d62e10a2403ab1f7a42d0dca36f5e5e64b1fbd0b6b
EBUILD opera-next-12.00.1385.ebuild 5471 RMD160 e84cb1cc80a9fe2766d0d855574e786b1cd40c70 SHA1 21684ae911d5ce36b2c27889a361b876531bf84b SHA256 862739e2d5b3e78a68e69edfd1022ebfee9beaa0ac3ea96e7d8b1b8c0a050198
-MISC ChangeLog 16030 RMD160 335ee9c0655b7a884161a6b59486b0660992209f SHA1 14deb47314c7f183fdf811835b50d564c36bd582 SHA256 f67ed2fc129878b7336b4a56898e890c33294ccdd77caed3b9d410fc654c4454
+EBUILD opera-next-12.00.1386.ebuild 5469 RMD160 4ffda4623a5ff52fdc29f80eb646be647f7b5ce1 SHA1 02d6cdc7900ba93b921843a0af182260d7ae02d5 SHA256 52519ea398be2991379777f4f5acacbd48100560c5950ad7d9e998b8ca30a24c
+MISC ChangeLog 16279 RMD160 4ff91192b7c87f454d7efe66912c7a889eeda776 SHA1 ad094aa7065eda57124561af783c23c1c36661fb SHA256 c7628353b32e023c396ed52aa22f7f11efa0714d6506295a783d0ff59bee580d
MISC metadata.xml 1583 RMD160 dd5554bed2dcc35aecefd6128071453321f0fe72 SHA1 23df98cede689a9f06fdf2f82288ac7f59b23c3a SHA256 bdd625fc4e2581a5b7449ad13b227a1991da039d9c1d07b459eace4771429359
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk+WdmUACgkQVWmRsqeSphN/bQCeM+ooT/rXNSVOSAIyuLGLIi30
-XIsAniLI0dZLoDoIZbv2LNEVNOlW4A9k
-=XiPL
+iEYEARECAAYFAk+W4isACgkQVWmRsqeSphPxAQCcDQtP3kXGa8oeG4zH36Fl2LT5
+XC8AnAzS50VAdejBYqgIwIbBsybwOzA0
+=IEhS
-----END PGP SIGNATURE-----
diff --git a/www-client/opera-next/opera-next-12.00.1386.ebuild b/www-client/opera-next/opera-next-12.00.1386.ebuild
new file mode 100644
index 000000000000..02989b9e0724
--- /dev/null
+++ b/www-client/opera-next/opera-next-12.00.1386.ebuild
@@ -0,0 +1,222 @@
+# 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.1386.ebuild,v 1.1 2012/04/24 17:25:57 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="cya_${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
+
+ # 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
+}