diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-03-22 19:31:01 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-03-22 19:31:01 +0000 |
commit | 5bd353839d06aee3429d499b19c0c9248f0073d2 (patch) | |
tree | bc9a18fa8630b0dfc780fbccd979703b00cf732b /www-client/opera-next | |
parent | PyQt4 needs to be built with the svg USE flag. This fixes bug #462428. Thanks... (diff) | |
download | historical-5bd353839d06aee3429d499b19c0c9248f0073d2.tar.gz historical-5bd353839d06aee3429d499b19c0c9248f0073d2.tar.bz2 historical-5bd353839d06aee3429d499b19c0c9248f0073d2.zip |
http://my.opera.com/desktopteam/blog/2013/03/22/opera-12-15-rc2
Package-Manager: portage-2.2.0_alpha169/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'www-client/opera-next')
-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.15_pre1745.ebuild | 241 |
3 files changed, 255 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index 97537552dae8..644f2e910379 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.175 2013/03/21 16:40:43 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.176 2013/03/22 19:30:59 jer Exp $ + +*opera-next-12.15_pre1745 (22 Mar 2013) + + 22 Mar 2013; Jeroen Roovers <jer@gentoo.org> +opera-next-12.15_pre1745.ebuild: + http://my.opera.com/desktopteam/blog/2013/03/22/opera-12-15-rc2 *opera-next-12.15_pre1742 (21 Mar 2013) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index 9a6ca9f2f79a..d968a41e696d 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -7,14 +7,18 @@ DIST opera-next-12.14-1737.x86_64.linux.tar.xz 13679612 SHA256 0e0153158a4836b76 DIST opera-next-12.15-1742.i386.freebsd.tar.xz 13527956 SHA256 816aa67a6d72c549b9184225d16dd603da8c1aa60fcf8ccc344d0bfe97e973b9 SHA512 64ccece32b4a6eeb37835fc6ff4b70089af8048730ac81906a01f2f0f67620bfab6f5b41e5844990c30cfb60db4746591f0cb84d20e44cfa6b08db5cecf101e5 WHIRLPOOL eca2ecda9dfe078ecf6eeb215ff66f6c7c1ef410bcb9ac245943c8fd9c9407b01d544ecc6eda7ad09563e5d449c2a4c5c55b15e52061600d4d2eb1737fd9514f DIST opera-next-12.15-1742.i386.linux.tar.xz 13601084 SHA256 0c64067772477000ced635d4c3c4574d9308ad3d1e6016ca051d8a31fda7078e SHA512 3269a26e0cb43285e02968ef77dee59dbd6ecc5ae18320d58db67585d20035255206457576f721f5441a513c97726da69beacc6da1a6a767d7b24bb928e8fcf2 WHIRLPOOL 10b9c54a8203756ed167c48c524556a15a49454928394507dbbaccc912442f921e270ab58a94bce20fe014a6706fdefb9b411eca7f313fec65be3cd9e4348d15 DIST opera-next-12.15-1742.x86_64.linux.tar.xz 13687272 SHA256 9a05570fa0c57a7226149f3d3cd538b541eaa649eb2a3aa23e475819b262ba62 SHA512 1f787a2d8835efd4fa54385270fc876568319cf20e7683c1b112c648a32d78c7b283fa8221c89ca085858b70b257a4ba6dddef789aa9fc7259414fbac41f8cb7 WHIRLPOOL 2d1b0d94cad3e3122d8c86a24c24c1dd4a661ed718e0d7e5c48ca52c669579fa11ac3f47dd16ca6ea84231d78c828b2828ec80841302ba5ea38b58bd971dd436 +DIST opera-next-12.15-1745.i386.freebsd.tar.xz 13523764 SHA256 ff7046d2d792c783ed87cadc34b286f5c0f2df02c6ece9be7204c5e494c6daa6 SHA512 5ef21ab370033945bd07e1febd4f4a029626499bb45daa8073a30277cbae8acd85af76a84b2714b4e7e298b7cf6170d4f12aff1c76ee6a67a03bdc707c39ec26 WHIRLPOOL 3657dba8ebeee9ccfbc866feaeb18894f3bb82ab626f1bbdd99e08506ad8bdeb9a776e77060513cf7e660e0a8c8975ed5aed96278607ede3b7f592bb0cae2c48 +DIST opera-next-12.15-1745.i386.linux.tar.xz 13558700 SHA256 dbd7b8ac526134d997498d52731e3378746831b48ded1c14bbf3b6d4686d6e8d SHA512 fd9fae0010979cbcc01b19028e5117d9364bc8dbd1ff2f9a00e137bcf9ebef99c022f066549f7f14b670669c3dd523bdf664f5167499883d7bc9659799e32e3b WHIRLPOOL c3c3e30fb34f5b16ceb6972cae451534111fe565b36c3723f2d8a7565f9b0c1dd7b7c6e3a89759bbbc00169bd41e22135ec51f62752f0af8723899715286a0d1 +DIST opera-next-12.15-1745.x86_64.linux.tar.xz 13686644 SHA256 711da1fc51e255fbb15bfd88e317e5e3a942a8f2346bcdbd157361966a4a3a13 SHA512 759260539b677cb15a51aa4cb2557f531933b1a79abfa7f5c533b7f96c69816cde9e9a407ef5faa23e429986db79a1fd1b0a54fbedd2ce9e6c6d3dc3b2d3fc17 WHIRLPOOL 3ecdacc4207bd638a9f63851dcee103a5fb81d0585a9859c5eafeaf1edbc4ef587f75dd741aa7022079b9e093c9026ca411df9b5cd7596c30af63f2adcd293e1 EBUILD opera-next-12.14_pre1737.ebuild 6257 SHA256 b8d2bda58e6eb9e732da36930c2d6a5243d104c1371aa380092b902aa890b76c SHA512 3cc2fa57744f0384e40cc955abc78d8fb1fb324b726eedccabd4a417428b9eb2522cccd0c6e76b4b33936bd509a8ae4ac062289ad998193fe8aec48416615972 WHIRLPOOL c9db7d163b99623a38f48685cd0e1683f9882f3beba39b55764f875a71e7269ba1d2111a18386bf3de5b8c5d19899f9087a272a142c0548274f65c09b971b3db EBUILD opera-next-12.15_pre1742.ebuild 6247 SHA256 4cea037bc6be0343a48b3977ec211071abb0f31305c3614babb29766bf3cc20c SHA512 00d42ff16826ab0c8a7dfd7badfb8256f4454cfb0516fd6400cf741450c39a018e9c29485bf7977aa2fc49b85feeb8308e9a1292f96061ee4068131f75888200 WHIRLPOOL 227e3a4fc1ab9719ebd67709d70994995a5eb0dd6e0bac247f763efb5a80ac51e228f741409720acd8ec26178dfa2a1cae87f60edf1da05487736623c69df63f -MISC ChangeLog 35176 SHA256 000480ee5c1d56e9bd5db9127e9ca3ac019c95cced5f39cd9bed335a4d43939d SHA512 5d33c6b47a60180376e8942ca851c32b453d038e7ad134fb4d765a6de16c116a8a02003eaa9004285d5ec80ede8edb4bed83142623ac1c97f6cf5a8f57c153bd WHIRLPOOL 065fe3b41cf1f8b43cc15624b1a1b04ebcf06651c3a40f912e140e8c850e409307eb612f74e2259e6f1d64cf508728fe061f10d21893d723a12b523ffb1c1df6 +EBUILD opera-next-12.15_pre1745.ebuild 6249 SHA256 5a5737ccfdf65a3add4f6e0cbe9517f405bb65e3e1378f46e050b9c538b32ef1 SHA512 5183cec6c1eccb69f9a1ca4849895d9dabda2ab661de3e6841bdd1d71b0b670a76c06b4b73b3ef60e2ab495d8eaf164ef6334722ed984e5fe3a527d388ee738a WHIRLPOOL 0f9a5bbae627014e7a6c7987d277441b71ffd8d985671bcf763b59a79848ed4407e8e6baf5c8457077da984d55414d08db76dcf3597844d3a25996f1ae3e9cb0 +MISC ChangeLog 35365 SHA256 6b810662c57a4b2d6ac0a0322827351ee1ff695d3cd0eea5a544300cb9fe0600 SHA512 1c70e7402c6a93692f1e5c7c411a0e9029b313aa0c9262315648089b702147199b0e4f02d293ea09f6e19dfe9883fe182c2d8730e50092fd1a49e71da48c56d0 WHIRLPOOL 9717784b62ab98f5f4a75e1c4a8c24f8e091196a09f2c409689cff1621277665e9a020836100c3d264b74ec11e0be0831683ded570133cab8f96e412b8061efb MISC metadata.xml 1523 SHA256 425b559a6232d98e76a1dd960c7518aa27509021792868ffe3bd6928ec18d68b SHA512 b2d0a81b199eab70512105df691525d969865950e16f0f3646c1ef5307177391d34d157b02436fe6d156431b6727e4bb07cb7210e03a284abb531d22c8f723d7 WHIRLPOOL 7bbb0acf3ea48057939f6e652c2112d2a294030109bda2b0bab114a8922ecc67a5b9f807530ff0a2854225ad09dd98e90e3e8b510109b403cb51c1bf405f6d3e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlFLOAwACgkQVWmRsqeSphNtPgCfT2tcCSTpLvQ6+R1fYXR/ChZa -6AkAn3j9zMEGAr1sKqnPd0o2RmxUSAO8 -=HJhz +iEYEAREIAAYFAlFMsXUACgkQVWmRsqeSphO+gACeLcpvlVIKseBmrk9QASappIBT +2BoAn14bjn7VZi+cac0lH+guodm83oSU +=LpAF -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.15_pre1745.ebuild b/www-client/opera-next/opera-next-12.15_pre1745.ebuild new file mode 100644 index 000000000000..8519c8ff640c --- /dev/null +++ b/www-client/opera-next/opera-next-12.15_pre1745.ebuild @@ -0,0 +1,241 @@ +# Copyright 1999-2013 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.15_pre1745.ebuild,v 1.1 2013/03/22 19:30:59 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)" # Version, i.e. 11.00 +O_B="$(get_version_component_range 3)" # Build number, i.e. 1156 + +# == Variables that often change == +# All other variables should be accounted for by _pre/_p + +O_K="emptsh" # The key to the snapshot URL + +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 +" # Supported linguas + +# == End of variables that often change == + +if [[ "pre${O_B/pre/}" = "${O_B}" ]]; then # snapshot: _pre + HOMEPAGE="http://my.opera.com/desktopteam/blog/" + + O_D="${O_K}_${O_V}-${O_B/pre}" # directory string + O_P="${PN}-${O_V}-${O_B/pre}" # package string + O_U="http://snapshot.opera.com/unix/" # base URI + + 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 ) + " +else # release: _p + O_D="${O_V/./}" # directory string + O_P="${PN}-${O_V}-${O_B/p}" # package string + O_U="mirror://opera/" # base URI + + SRC_URI=" + amd64? ( ${O_U}linux/${O_D}/${O_P}.x86_64.linux.tar.xz ) + x86? ( ${O_U}linux/${O_D}/${O_P}.i386.linux.tar.xz ) + x86-fbsd? ( ${O_U}unix/${O_D}/${O_P}.i386.freebsd.tar.xz ) + " +fi + +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 + dev-qt/qtcore:4 + dev-qt/qtgui:4 +" +GSTRDEPEND=" + dev-libs/glib:2 + dev-libs/libxml2 + media-libs/gst-plugins-base:0.10 + media-libs/gstreamer:0.10 + media-plugins/gst-plugins-meta:0.10 +" +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} ) +" + +OPREFIX="/usr/$(get_libdir)" +QA_PREBUILT="*" + +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 + 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 + rm lib/${PN}/opera_autoupdatechecker || die + 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 +} |