diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-10-09 17:56:59 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-10-09 17:56:59 +0000 |
commit | cf17fe080e9f204cd0cf05abc23271b6510ee63b (patch) | |
tree | e9bd7363beebc284f01ceb92fb96145ea6f97d08 /www-client | |
parent | Cleanup (diff) | |
download | historical-cf17fe080e9f204cd0cf05abc23271b6510ee63b.tar.gz historical-cf17fe080e9f204cd0cf05abc23271b6510ee63b.tar.bz2 historical-cf17fe080e9f204cd0cf05abc23271b6510ee63b.zip |
http://my.opera.com/desktopteam/blog/2012/10/09/flexbox-and-supports
Package-Manager: portage-2.2.0_alpha136/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-next/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/opera-next/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.10.1620.ebuild | 219 |
3 files changed, 233 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index 09f03e6486b7..6777746c8bc3 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.133 2012/10/04 16:45:25 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.134 2012/10/09 17:56:57 jer Exp $ + +*opera-next-12.10.1620 (09 Oct 2012) + + 09 Oct 2012; Jeroen Roovers <jer@gentoo.org> +opera-next-12.10.1620.ebuild: + http://my.opera.com/desktopteam/blog/2012/10/09/flexbox-and-supports *opera-next-12.10.1618 (04 Oct 2012) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index 79e86b78ef63..3ddf624b34fe 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -7,18 +7,22 @@ DIST opera-next-12.10-1615.x86_64.linux.tar.xz 13575872 SHA256 e1dc82b38282caddb DIST opera-next-12.10-1618.i386.freebsd.tar.xz 13479440 SHA256 9dddb3279f5998de50ea08d87305545388b6e8a6a267f6e1318d7571dbddd3fd SHA512 76575748050172c545ede233fc4ad89dd46b0eae8e33395e4db995fb113b4e6a30362b91de116d1a060bb973bab2245387cd3c86037453c2078fc6656880695c WHIRLPOOL 505f52456d48a1e160d3b00610510d91dcd96b75460cafd2c5d6ae5d7c8aa7ca0ab603f55af8f4050a20963d10f6ac05780704ed22fa3f541206fbc77040a3a0 DIST opera-next-12.10-1618.i386.linux.tar.xz 13514732 SHA256 711ecd5798a9bb4996c7ab713fdfcf8e7d606e6a0f9cb3cbb1ac614b68e8e675 SHA512 287c228083441f8d991ed97775210f11e3a5dce1fb7525f0b3efc7f38e3682e448874cf03b11caa31238439350705c4a71eaecd1d3c5a33cdde6bd3b39ea00cc WHIRLPOOL 9899127005ed1df52ba254dc383e730ad3bac00220553feec5d926efc3b5685c80aee7a3cb09e6e169d4f6d7a719b69e5228b2b182ff46a08eb8a75296fc4409 DIST opera-next-12.10-1618.x86_64.linux.tar.xz 13565656 SHA256 cb2997da759e48062185566317af4a69182d02addd2cd3d6af2d11a49d014bf6 SHA512 8563c646b0dcd0682862cd9420240df9dbeb82ea4e80e9af8b7e2449f863f40211d084a924a6c49598b1eadee28362352fd05bef8fa32d87e7222021e181b431 WHIRLPOOL 54acd990bd313efad17bf804953651a7ac238329746c67644b974f49e0023a6098f200f1cd6c696247a107b67b2fc8170e1ba460b5d8dd377ad433e7bd2c8c7e +DIST opera-next-12.10-1620.i386.freebsd.tar.xz 13494364 SHA256 e910b486bc5c9ad41d1e5fb17d70c0d8f1c74d77f1d3768c86fe002f0d38495b SHA512 3e28c0c7d175f3a63f6b2148ff7f5cc15d6c34c3b34dc5695ebf33c50bc2330dd2e58e05149f6d57181ba2c6eba044169f79bc4f5c5e51a7e48c6e6ec9324e35 WHIRLPOOL 35117d50475cefcf6f533387cf82ee5d7fe4703644bbc58a67da0e2540303026030c1445d39b6f6d3fdf9a96e33dff7d55ec63a050fe3b4cb7c4c0c18f63bced +DIST opera-next-12.10-1620.i386.linux.tar.xz 13540932 SHA256 c7dc41e5720729d6dd13c954d5cdb44db5151046276530e54be6534f8ca17e2c SHA512 06184039f00dd0d80225ed0341f2068be554b8de2d33b064ac8265c015f6eb780c361e853dd43628b6e0646c5d74f197a490030eb432bff173e28769a76e25c9 WHIRLPOOL 3e1ad741529620a66356ed603395886f1e655512562cda8f8996aa808d15d7cd498d0543c676744d64a03b012ee64ba7bc43ad6a6dbf1c350910ebf6861d2419 +DIST opera-next-12.10-1620.x86_64.linux.tar.xz 13591140 SHA256 1ff1d792b936a7d35dbba820db8f001cf762274939a9c2a6cd3da07ed7d53819 SHA512 6c67b50dd57f54cb6cff0502ce2f03cae96708f649cbf91747019e9d2a01e0f17306b024d53af8c713d2a73b52fed7090b412360ce98849cc1feecb65effa5d9 WHIRLPOOL 9d804ac637740c0e404ca08ccad6c039d78ff6324f7db81cbaff4cfb20d6eceff3c0a93817814453e35eccce3e24a0f41af5f47f2f3a6903ef077a80d0ba41a2 DIST opera-next-12.50-1583.i386.freebsd.tar.xz 13365984 SHA256 5890c8fb9ac53fd039a7a9e46fbedc3cd86035c94a4b574c36f367b25fd025e2 SHA512 158794ff9018aa540d37916dd9823b02a3f2ff9b43266c4de5206fc155e3ce0f2fa3ef9d6edb0f2f2030568b2e22dcb58aa0e6c758c954616baf2c3fa9f21874 WHIRLPOOL e70d018025ce0a67d1f0f57f03b3c2cdccc94785c2d327c5a2e07fc0cfebdd76064377297c371dda7a2dd017bd89e471fc71763288ce4bac2064cff9d3606e6b DIST opera-next-12.50-1583.i386.linux.tar.xz 13486000 SHA256 c266419cf12e1968a87aae11275d51c343347d1bcc24ed01216c35c8bc680753 SHA512 073851b275d1cefa024b74801ea645759ac79a41855fb1569b3b4210517d3f43e93e823bbcd552a685011c1d111966b494a08c627fcbe26b7a2fcda64978aca5 WHIRLPOOL fa611abfb17bb12424705b89b13dad9479dda4e597ad0469103c12fa7f55454f52b8925d207d7c32a5812a8df8852a9c4feca546d23dd1c9db41f698ea841a9e DIST opera-next-12.50-1583.x86_64.linux.tar.xz 13645420 SHA256 be2b43eaf57f69c8433fc178bf8f62cf37ba8b4997c7476767feea3d426d7777 SHA512 c44de2d045dc8a83ab14eca8a63db4b4224e81a3db497714a9e8d31027afadd038fbc49c097701e7229e2ea570fc4e99ca303604e4818d5eedf11ebd8adb55ed WHIRLPOOL 295256515732f19907c6cb177c702c0476420ef42f61fe30219e804b37bcecdd4cf8966c7a1f5046893d452f8cf6a687adaf184d754c34a780606e4f02b5b4f5 EBUILD opera-next-12.10.1615.ebuild 5563 SHA256 b18613af1489dc79d54df514fbca2acd32ffc20353b149021fcc04d890953ab2 SHA512 ebfca1c21a36225ba906edc52610b3a2201edbfba4a1b2a056ef0d98fd7f93b0076df2b441b0c738dc4cb49e4cc344176b896714a6700296d78da4fb72e92cdf WHIRLPOOL 9096c0776a0e54e888847e62320bccb69e5bd3395ea2205744777c4e7ccfc66a81a80f6d3695b039748dac106cf0698fa74524536436ac77fba5acca88532fcb EBUILD opera-next-12.10.1618.ebuild 5563 SHA256 0db3c1e9bc5975639e3e95ce8eab593d50e353f60c9db13b333df4fe6802eeed SHA512 4824df42eae6e11463a82923dd52710eea5699f3e76d0f9ffb7ecfed9d1b33bdb322b08c7d32a9bb591f4cec333f301e5e83ee6ba02939dc705a7c0eccf0c755 WHIRLPOOL e2b02682e8e3d91ba066fd76b202511f6d744e23bbd5a1c8acd94b6128e31abc4dd082dff48408cd23d2ec893088a0529eb49aa693d6137e1f5d81fb2bffcd05 +EBUILD opera-next-12.10.1620.ebuild 5562 SHA256 d0101757bdf53c1509b573f6ebc5bfbf5f8ed093c0dcbb84efb1ed4a5650e816 SHA512 c4ea881ae5706919493e3d37df460b4a2b61125b4c9a6e9f19c282e4d2ccf766f9f266bf09dbaafd91a90ae25058dd6b96d7b066ba25fb039914cee06315229b WHIRLPOOL 343ff5dc1fb922ea664366ad6a97d3153d5ae03735d44f8fc8342bbb9cf6c5c7b7db4bbe67db02e6a837d21aff51d8c01a5073b20df5e776b47ebb8343052f54 EBUILD opera-next-12.50.1583.ebuild 5563 SHA256 8302edc8b8b08cae1b98df1b08459a4272b55bc75c8df248b8a48d8fc11b01b5 SHA512 082c064b7da3ca52ccb5cfe22d47db8cd5d0aec2c483eadd269b25630dd229711931c9df90cda3737a988059dc4740a692e2b4ea01d41aafc1296b64594b3bb7 WHIRLPOOL 6221d8db372f50dabb71937762d40437d27048556c4d6ff1bb1f7edb881caffd061fcc7db1912cea3eabd91d77fb0ea4f2c8bf1dd71daac3e3e4f3f54bea2628 -MISC ChangeLog 27171 SHA256 3761bc131c4ff6f30c31ba85adce837c095e954f410412b69e048b03f0502d11 SHA512 79d7c2adb00a7554db5772ad0db82d1111981a4ba70b124667155b321c5d6ed88bfad723a8620820492363f4791f86963b17ca7279c0dc7bf0b8a4893a3ed6d5 WHIRLPOOL 5efca64ed57e3f6645dfd1dcc1c0f79f7dfd94fcf4ba0a1b32ea9891fb3b1777fa0bef5e4e2ed83ff780f7ba6344653859dec26eaf209abc6e8964deee5144f0 +MISC ChangeLog 27359 SHA256 1cba7cf357623eae88b1f9152706277ac8966437d5c36c5dcec3a960650e2adf SHA512 69e7d757e5580b04b108688a8ea4189f34c7b0ef63cc7358951502e092cf4f77ce1c0d800eb903ae6f51ced1a0a739e82959a3874a28fe5a16aca465552f36ec WHIRLPOOL 655ff688f746edc8cd79dfdfae816e06d8db9d1b1a1a6d45e55eb07201f44d08c9d88a7dcf50f795c7255c3a66a277bda8afd2b758dc09343cc42cef5849517f MISC metadata.xml 1523 SHA256 425b559a6232d98e76a1dd960c7518aa27509021792868ffe3bd6928ec18d68b SHA512 b2d0a81b199eab70512105df691525d969865950e16f0f3646c1ef5307177391d34d157b02436fe6d156431b6727e4bb07cb7210e03a284abb531d22c8f723d7 WHIRLPOOL 7bbb0acf3ea48057939f6e652c2112d2a294030109bda2b0bab114a8922ecc67a5b9f807530ff0a2854225ad09dd98e90e3e8b510109b403cb51c1bf405f6d3e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlBtvSYACgkQVWmRsqeSphO/cgCeKxCYOlCvVJ2OHEapoppyFor4 -deIAn023yxyBcZErDr+Uz8FmP37RqHTA -=kHgm +iEYEAREIAAYFAlB0ZWsACgkQVWmRsqeSphPaBgCggTnLBtz95ebEWHi+nWp4wylj +bYQAnjcWtnwcFZtlo2YkZnl6aaaHw8kM +=ZnRp -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.10.1620.ebuild b/www-client/opera-next/opera-next-12.10.1620.ebuild new file mode 100644 index 000000000000..0090eba9d893 --- /dev/null +++ b/www-client/opera-next/opera-next-12.10.1620.ebuild @@ -0,0 +1,219 @@ +# 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.10.1620.ebuild,v 1.1 2012/10/09 17:56: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-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)" # Major version, i.e. 11.00 +O_B="$(get_version_component_range 3)" # Build version, i.e. 1156 + +O_D="solo_${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 ) +" + +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 +" + +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 + 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} ) + kde? ( ${KDERDEPEND} ) + gstreamer? ( ${GSTRDEPEND} ) +" +src_unpack() { + unpack ${A} + mv -v ${PN}* "${S}" || die +} + +src_prepare() { + export OPREFIX="/usr/$(get_libdir)" + export QA_FLAGS_IGNORED="${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 +} |