diff options
author | 2012-04-20 12:59:51 +0000 | |
---|---|---|
committer | 2012-04-20 12:59:51 +0000 | |
commit | c33f842d1d13bdb72a238ebad3bc1815ae845a6e (patch) | |
tree | 4ab25b9e9bd7e253ce989c8ca77574bbcfd8e037 /www-client | |
parent | Version bump. (diff) | |
download | historical-c33f842d1d13bdb72a238ebad3bc1815ae845a6e.tar.gz historical-c33f842d1d13bdb72a238ebad3bc1815ae845a6e.tar.bz2 historical-c33f842d1d13bdb72a238ebad3bc1815ae845a6e.zip |
http://my.opera.com/desktopteam/blog/2012/04/20/update-on-hardware-acceleration-in-opera-12
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-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.00.1380.ebuild | 220 |
3 files changed, 235 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index d1a573698fd5..8a9849d9431f 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.74 2012/04/17 15:42:47 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.75 2012/04/20 12:59:51 jer Exp $ + +*opera-next-12.00.1380 (20 Apr 2012) + + 20 Apr 2012; Jeroen Roovers <jer@gentoo.org> +opera-next-12.00.1380.ebuild: + http://my.opera.com/desktopteam/blog/2012/04/20/update-on-hardware-accelerati + on-in-opera-12 *opera-next-12.00.1372 (17 Apr 2012) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index 51bf18ff8dd0..3829fd1a2c48 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -7,15 +7,19 @@ DIST opera-next-12.00-1362.x86_64.linux.tar.xz 13220900 RMD160 3c01196bf2813bafe DIST opera-next-12.00-1372.i386.freebsd.tar.xz 12081680 RMD160 ae2e95d44374eeac7e7b5f58405271956fa073be SHA1 9b19c60010f0ae9307423ff48dd53744d8c450f0 SHA256 4f08d233e272ffea3b7636c3b8b71060b57de39d5dafa5d011bdd26a76732598 DIST opera-next-12.00-1372.i386.linux.tar.xz 12140928 RMD160 d0f53e7a5baf06beb14cd8f0106c17829e6ea162 SHA1 f2682a3df4de4d45126cec8d48926dce67ec6974 SHA256 7f0beaed8f5d2f7295487666ea23f6f8515bb0db5083824ccaf3e0c8414cb98c DIST opera-next-12.00-1372.x86_64.linux.tar.xz 13232356 RMD160 307493e3ef2e5ad15cb81be6ef607e62272a0402 SHA1 9a4276ee5434ec7c6eb5032f8fd86cddd917540d SHA256 0687e7ba974efb51e218db188a3e813643310e7763d21be30f45797848e6e9d5 +DIST opera-next-12.00-1380.i386.freebsd.tar.xz 12126884 RMD160 46bc3de3a396a9e9fa8e796df3aeb0c886b2c5f5 SHA1 a364f2ac654b31a34eef6cc02e543b9f916b4497 SHA256 a5661582af6a441dd0666083a0c69a1eb13c5fbcaf69d8754a58a7c77a4bb5e1 +DIST opera-next-12.00-1380.i386.linux.tar.xz 12176060 RMD160 40c25676ff411e4afb00c6d54be9194036b2d234 SHA1 ba6afdbfe5abfee76f6cca2f7a8b59e7f43ed119 SHA256 d51ba07e46f07f0f99296257bcf51eeec0cd596731771f6db8a7f99007da0664 +DIST opera-next-12.00-1380.x86_64.linux.tar.xz 13256772 RMD160 e8e8cd72a4c314a215d3cc4027f61e05528c9c44 SHA1 102557650a144979dc8747ee07547667e9ca9622 SHA256 6a55065f07e7f2d498c5f2221d1c884a6bb04e4f79242365acea416e3287d036 EBUILD opera-next-12.00.1360.ebuild 5394 RMD160 ca1da494116bea586b974faeb6c58c94470534fc SHA1 7e32b211a8782ee6f1b5651abe7e19c6aeff73ff SHA256 92ea2664448cafe2d3d1dcee780ed72d56467c895782cf143978366fba61b0a8 EBUILD opera-next-12.00.1362.ebuild 5333 RMD160 4b542a6c1f598cc4f6dee2c16ec328bb9594caa4 SHA1 3a522dc2694386b1dfcfdd5d8cfdb2e10ef2f590 SHA256 ab460bfca25a0b1a77c110dcb06a100d680aa7cc4c521d772a38fa6c1b03d0ec EBUILD opera-next-12.00.1372.ebuild 5454 RMD160 70ea281f78f4dcad9f76d6c46c4b4a54312ebdfa SHA1 8ee4f4376fe86b9d49d158a19d131e31c91ebb6b SHA256 cb756e92e004bd55f61a8aa5a58809f31cbb1c65c4d3e292f69b0bbf679b2b17 -MISC ChangeLog 15316 RMD160 52c09d045509b5cc7cd9b085a7ab7d465011e878 SHA1 ada5c9a286f7030ea14a9f5a742035c57981c305 SHA256 781c772635571cbd9ccd43ec6ecc1a950237e1951b04ea3ed4ab2730f3ddc7bb +EBUILD opera-next-12.00.1380.ebuild 5454 RMD160 77e4f00de1e47f056f6434eda5d053109f300d11 SHA1 99b3326850cb9ba01cc52c50b85df1ce66dbf39a SHA256 21261b42e98754541ff09d99827d44af3b67fd8c369df66637a8e8f719cb1a84 +MISC ChangeLog 15530 RMD160 f50b24e5b657a576e23fcc97f3a60f4cc435e218 SHA1 41326877d4af17cc84dbd32f01acd2583659cba0 SHA256 933bb261879a25d9b1149636bf81f071fe395ea8552a74f69fc8881dfafa027a MISC metadata.xml 1638 RMD160 17ef00f7f0515dd445244bda48ddb4f3a8829597 SHA1 32894ca5e0efb115e4f98f27e46f547199e3dd74 SHA256 1479bc1f748e8186b8141d8a0eb7d45930c67f3fafd746527215e2ef1070be8a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk+Nj30ACgkQVWmRsqeSphO2DACeO8Q6GbURY6bQBc5Oi/x3X510 -2gMAn0Djj2tqrwpd/14/X6yhLppq4ynR -=SWQH +iEYEARECAAYFAk+RXc0ACgkQVWmRsqeSphNcuACfa+ZSYB3hjIsXgXOhGiapPmzL +y0QAn0Y8Wv0RFba+hV3QTtWMnO5vVCdJ +=sqNN -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.00.1380.ebuild b/www-client/opera-next/opera-next-12.00.1380.ebuild new file mode 100644 index 000000000000..f3b5d3b2ded4 --- /dev/null +++ b/www-client/opera-next/opera-next-12.00.1380.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.1380.ebuild,v 1.1 2012/04/20 12:59:51 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="29515_${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 +} |