DIST opera-10.11.gcc4-bundled-qt4.x86_64.tar.bz2 17415883 RMD160 9593266a89d483beff8b9ceac68b290a86fd8cb9 SHA1 dec9036cd3d23aad5f301475bb73d05ede213c07 SHA256 61cf1d6628f52167310673836e930f7e31ca2e6befcb1dacd513d7774b69d1a2
DIST opera-10.11.gcc4-qt4.i386.tar.bz2 11809013 RMD160 9b8cd7a1ebf2d37945049c08b6c50f199dc323ab SHA1 a8be6753d64e815f4797c1654eec521299019440 SHA256 d390e5d9713dffeb349e097f9f51f8622467ec27b5b102a846648c9e3eb5ce1e
DIST opera-10.11.gcc4-qt4.x86_64.tar.bz2 12668836 RMD160 4182ad5b134462e3d553eceb178bad7cf3e2ccf5 SHA1 286079fa19484bfddf2b20ef509f4aebc5926d09 SHA256 611bdbf83eadc8dbd81df8d555a0d5d1fcac93edbb0e27795d68351d3b34c580
-DIST opera-10.60-6368.i386.freebsd.tar.bz2 13702436 RMD160 c74505043c50f7aa00c69a6d0a1e4777769faa16 SHA1 c6ae15d99ac06d9d915e059b73544b2b9b525c48 SHA256 dbf324d8036c5550ea8ae255c542f4a265c5ba77eb353136b359c22e0fde8ad9
-DIST opera-10.60-6368.i386.linux.tar.bz2 13701207 RMD160 33ffde3b254afc2cec14d8637e2af21e5e37c01c SHA1 cd94bdcb1fa8de9b1ab6f3f861ee48cfd158c8eb SHA256 31bdcffeead5d59bdfcb51aafa753466246bfe588fe15cbdbaf2e1900cb7c5de
-DIST opera-10.60-6368.ppc.linux.tar.bz2 14009434 RMD160 7d8ccb90db0b5dd3ab9adfd1243ef6237bbaee25 SHA1 b5479bf62c6b2965feb04f8711260735498582d7 SHA256 9a4ac5dc50fcafe23ff6099a002b3244f1aded6e5d5d501afcea5efd1aac193b
-DIST opera-10.60-6368.x86_64.linux.tar.bz2 14760207 RMD160 e94f6e7eb12c342f1461bfa149ffd1fb0a40bcc4 SHA1 f748a42c8323fc2cd93c17b52aec4c0eef3e1fdd SHA256 dc3f8e409b75d5d43e1ca5a0bcfc65256210484bfbff334ea7e01ad781bc5afc
-DIST opera-10.60-6372.i386.freebsd.tar.bz2 13703861 RMD160 0bd85a6f85c9e30b193b0c45cc7782ac39e55632 SHA1 17af69f848e8474d512f0d2d9bd302678fd05996 SHA256 86de6d69942db3a68e9db4d7a815ad30ca31b26b50e4adfd7f00d2d5d534635d
-DIST opera-10.60-6372.i386.linux.tar.bz2 13705042 RMD160 e2de6b16d83a1fedce7a3005ebfc87659909e818 SHA1 1fa784b0ac3018dbfae6185d9960603749d8ea35 SHA256 d71352a9f621aa051067a8ba8b5580fa4a329b9dcb1ce01b8dca3e788e424d9e
-DIST opera-10.60-6372.ppc.linux.tar.bz2 14013316 RMD160 dddc5f314f906e2443bf40ed7177c31159de8988 SHA1 5684ce27505c5de8f82a330451a92389b044197a SHA256 390f3c4a6d99cdba045d2fa6a63b1d45240af415c20b1b5bf3a4a0b0b2dbac9d
-DIST opera-10.60-6372.x86_64.linux.tar.bz2 14766143 RMD160 05e396dc1433524744dc2728337bb986281accb9 SHA1 643301e369f175ddb1e315fd6f70fe6226c7e252 SHA256 16b56212869568213a85bac729e222f6b1b1797f103af063fd40bc4d042de06d
-DIST opera-10.60-6374.i386.freebsd.tar.bz2 13704655 RMD160 804f821bc3c12945aef481358f46cf490221c86b SHA1 7895e2da57a133a03b312a439d83057e4eecdc0e SHA256 512380ba9655b9e3887cc5a8a55fe92c2c8f2b267be7b962ae27408717eef3de
-DIST opera-10.60-6374.i386.linux.tar.bz2 13702950 RMD160 02093514920900e8dc901999f20938f7afccb0c2 SHA1 38176434840fc89e8ce16f25f10080548b9ffb55 SHA256 fc67cf5e3916e485d8b02eaf11db38b7fd6e905204abe3007b8effa7aef2dfa1
-DIST opera-10.60-6374.ppc.linux.tar.bz2 14013423 RMD160 7546cef98348df9ac522309fb92dca2ee022f4bf SHA1 f2b4ab9c25541a15b4ccabf6d0b571f575eb99ce SHA256 f85d4219ee33550ad030e77215224027ac5de504014bf5691795bc26856d2924
-DIST opera-10.60-6374.x86_64.linux.tar.bz2 14764967 RMD160 ccc2a82d71a60e4fefe3eda962e6bb5c9cd72f44 SHA1 9f621447bfe6c4c540bf5ff5329244b6dbcd4207 SHA256 f2f89b66b254eb8ea61b92e8abec8b67b5a383a77307f0d51e9d85f1b6473b52
-DIST opera-10.60-6378.i386.freebsd.tar.bz2 13704975 RMD160 0cda74c12d669480c346c903cd176101037315a4 SHA1 70c00729cf21c2bae994b91db9e0f8d57a78900e SHA256 d446541e9697a6a44c61d94b9227fec99e37ba8b534171e6d3a441f706792fb2
-DIST opera-10.60-6378.i386.linux.tar.bz2 13705407 RMD160 619ab0f67a85c06bd181c259778fc4d348da8e05 SHA1 a7607ff44ddf02e6e30544d3ad5c40daa156d4d3 SHA256 a066c1f187ce3c427c1350e98c1e177e859e3f574ee90ae8413c1a6b11825429
-DIST opera-10.60-6378.ppc.linux.tar.bz2 14012651 RMD160 794d666ba0bcd05a9a70628544ef8a8933d7b73f SHA1 a224127040159109cd5804172f7f216d279ae05f SHA256 89a670a7665cd2dd6b1062674530a26e7632aab53ffd42db8a0051203fe68e97
-DIST opera-10.60-6378.x86_64.linux.tar.bz2 14764919 RMD160 60b52d65eea146e3ca5f37f1ab8d019c3de10bf5 SHA1 b415f9d1755f75014a8ef945a7371001681c391c SHA256 bfa12ba5845e641c2150bad690251af17079ddbb5fbd05644c9c2c5072be8be7
-DIST opera-10.60-6379.i386.freebsd.tar.bz2 13707276 RMD160 9df2774b85f26d2000c5327780ccd797f36b4965 SHA1 1ed05de70c64eb5b1bceaf8102d3e25a72e16682 SHA256 d3aef75e84bd45300b569acd8ba461ea08111ed9f0838d04c12b2ebaf7b4e3a9
-DIST opera-10.60-6379.i386.linux.tar.bz2 13708982 RMD160 08e88fca9b37712c66348b201fc6f4365ab0cb3c SHA1 56c35c17e3f0974539ac381a6c9c692ede3fb671 SHA256 eaa58afae016dd15fffe201b280e820e52c0975cd8bcdbad99b3190d4bc62007
-DIST opera-10.60-6379.ppc.linux.tar.bz2 14016463 RMD160 8c4d22a6b2c2131acaa93fc94e106827d57d5d6c SHA1 5a97a22ecbe370e324a5596ac62a0bc7fed90a05 SHA256 8540541585cb2ac962404e891eaf20a816164989b297b4534537bcd074f09b2d
-DIST opera-10.60-6379.x86_64.linux.tar.bz2 14767803 RMD160 836ab3c6821730ccfea4e99203b3b3b27c20077f SHA1 5d00a3b6543cb5127a35a7393bebaa7082532f18 SHA256 5fc1e37d7b77998c11055e1b223f521e15c8ea0d0476e85125dd1244fa5e79b4
DIST opera-10.60-6380.i386.freebsd.tar.bz2 13708403 RMD160 49885b3653ba37047c17696ff334d7bca1c2e859 SHA1 9ca243b2bde8d1ffa6454d0dd96f7f36f4c72bc3 SHA256 851cc0ef077e0ba7eba4cb7dfdf88d0b19ea153e7ab1a1164f51d1ed35032c34
DIST opera-10.60-6380.i386.linux.tar.bz2 13710826 RMD160 7bc7173886f77989f23ae64905c6c2206202abb5 SHA1 4eb4002598b20e5d725ecfee12b6af5d78bf8a6d SHA256 4f330b0c1e3e63ca47c8454197d0fe4eb4fad347442bd3b597926c4df9a85e0a
DIST opera-10.60-6380.ppc.linux.tar.bz2 14016560 RMD160 33890f192a35a0ea796ca1abb278b3c9fee77361 SHA1 ba97490df0a958db84146fce68eb0e4bca57f056 SHA256 0c180b35f2524942d4447aeddb54a13ccdd3f142ae0cd1978339322caf89171d
DIST opera-10.60-6383.ppc.linux.tar.bz2 14091599 RMD160 7b9dcbfcdbd84d2c23736b10310393429807ab88 SHA1 5eecbfc518cff8f006bd12dbdc5f2ba809c6dc38 SHA256 a3f7d35e70f9e139f6cd93139006b638666abc2dc3c4d55cbcea17dacb3880e9
DIST opera-10.60-6383.x86_64.linux.tar.bz2 14782855 RMD160 885a0ed7ef0f99d13362561779372770f257bd71 SHA1 baf376ffe05957d256224a8e68ba4ce46b5abff9 SHA256 ed60ecc04613e5043d5b0c2ed8892a8c0ab14b9acd1a9c327d3d1105b42c2879
EBUILD opera-10.11.ebuild 4895 RMD160 135051e159b1d6e5bd29b97efcc54b5a4b7d21eb SHA1 a395b737002353fbf71ece26ea14efc4572b5be1 SHA256 81cd524417d11b31e4733b942f45a0712eba2b3445257c1df1abfdc4d901e14d
-EBUILD opera-10.60_pre6368.ebuild 4883 RMD160 96c7bd86a6e8793f062dc6210d587a7bdf0d7ffb SHA1 5533f3b0f57da31769601ef1ddaa65a60ab2408f SHA256 c5e5d713be8c1dc893af258469d88392378147a075a1e7bfb10805492978dd32
-EBUILD opera-10.60_pre6372.ebuild 4867 RMD160 28d75737d9d11aee7e4ae0274901788c63d68844 SHA1 ec757129f897d40e3d33c542d40fb4c55239ccdd SHA256 7d278b70edd2b28065065e2499d9920331cb7e7ec41197f1825121813839e127
-EBUILD opera-10.60_pre6374.ebuild 4867 RMD160 0236fb461ae89a3d11176b25d9e89651f26781f5 SHA1 f64fe131e3b7aa62f146ae36070eb54dc285f784 SHA256 94475802c9d7e0f3078191e8c44839770d6e73361ad662846c2a27d89d25eede
-EBUILD opera-10.60_pre6378.ebuild 4867 RMD160 acac7b968443810ebbde4b30f988f2e3745efc8e SHA1 66b845181247923a0c432b25d9f204af58a930c3 SHA256 65f4293cc7a6592852b9ef87349705f4b5d6f3c25e4f95230c08646d4adcbaa6
-EBUILD opera-10.60_pre6379.ebuild 4866 RMD160 f9bd611eb1a354ce97def36dd4d5d7f04829096c SHA1 b1db8382245d487adab15ba37f467899f837852c SHA256 26763a336f70aa944907dd892d61c20bcd378f1f3545ce5e8f1165b0cecef31c
EBUILD opera-10.60_pre6380.ebuild 4871 RMD160 6ae1884ed33ca4d647ef10dfc83db2bd113ddf79 SHA1 10cf88f616906ceba1aeb721977156d714357af8 SHA256 9cb187d9ea2bca4091c52023e25f9e136c1001f9490bd56fd6e380f2c0a73c67
EBUILD opera-10.60_pre6383.ebuild 4897 RMD160 657d68f8222957a34ff6cf626f04ad62f81a71af SHA1 d57d5be398d3424fd4cab82dc356270590813725 SHA256 82bfba3a8c04f25f60920a7f456fa4abd9c2558e8737cbceb30756daf872a957
MISC ChangeLog 97045 RMD160 6f13eb95ae00519f5640e5ca835220bbe8a01263 SHA1 d01c48d5c9e3a41945c1aa7015f3017719e2d6ac SHA256 a24f155fa30857127ed0816502f13a2427bcb16fcf76078b22650a16bc532a07
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.60_pre6368.ebuild,v 1.2 2010/06/16 12:25:34 jer Exp $
-
-EAPI="2"
-
-inherit eutils multilib
-
-DESCRIPTION="A standards-compliant graphical Web browser"
-HOMEPAGE="http://www.opera.com/"
-
-SLOT="0"
-LICENSE="OPERA-10.53 LGPL-2 LGPL-3"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE="elibc_FreeBSD gtk kde"
-
-RESTRICT="mirror test"
-
-OPREFIX="/usr/$(get_libdir)"
-
-QA_DT_HASH="${OPREFIX}/${PN}/.*"
-QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
-
-MY_LINGUAS="
- be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka
- ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK
- zh-TW
-"
-
-for MY_LINGUA in ${MY_LINGUAS}; do
- IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
-done
-
-O_U="mirror://opera/"
-O_P="${P/_pre/-}"
-
-SRC_URI="
- amd64? ( ${O_U}linux/1060b1/${O_P}.x86_64.linux.tar.bz2 )
- ppc? ( ${O_U}linux/1060b1/${O_P}.ppc.linux.tar.bz2 )
- x86? ( ${O_U}linux/1060b1/${O_P}.i386.linux.tar.bz2 )
- x86-fbsd? ( ${O_U}unix/1060b1/${O_P}.i386.freebsd.tar.bz2 )
-"
-
-DEPEND=">=sys-apps/sed-4"
-
-RDEPEND="
- gtk? (
- =x11-libs/gtk+-2*
- dev-libs/atk
- dev-libs/glib
- media-libs/glitz
- media-libs/libpng
- x11-libs/cairo
- x11-libs/pango
- x11-libs/pixman
- )
- kde? (
- kde-base/kdelibs
- )
- dev-libs/expat
- media-libs/fontconfig
- media-libs/freetype
- media-plugins/gst-plugins-meta
- sys-apps/util-linux
- sys-libs/zlib
- virtual/opengl
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXt
- x11-libs/libxcb
- x11-libs/xcb-util
- "
-
-opera_linguas() {
- # Remove unwanted LINGUAS:
- local LINGUA
- local LNGDIR="${D}usr/share/${PN}/locale"
- einfo "Keeping these locales: ${LINGUAS}."
- for LINGUA in ${MY_LINGUAS}; do
- if ! use linguas_${LINGUA/-/_}; then
- LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
- rm -r "${LINGUA}"
- fi
- done
-}
-
-pkg_setup() {
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
- elog "If you seek support, please file a bug report at"
- elog "https://bugs.gentoo.org and post the output of"
- elog " \`emerge --info =${CATEGORY}/${P}'"
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
-}
-
-src_unpack() {
- unpack ${A}
- if [[ ! -d ${S} ]]; then
- cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
- S="$(pwd)"
- einfo "Setting WORKDIR to ${S}"
- fi
-}
-
-src_install() {
- # Remove "license directory" (bug #315473)
- rm -rf "share/doc/opera"
-
- # We install into usr instead of opt as Opera does not support the latter
- dodir /usr
- mv lib/ "${D}/${OPREFIX}" || die "mv lib/ failed"
- mv share/ "${D}/usr/" || die "mv share/ failed"
-
- # Unzip the man pages before sedding
- gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed"
-
- # Replace PREFIX and SUFFIX in various files
- sed -i \
- -e "s:@@{PREFIX}:/usr:g" \
- -e "s:@@{SUFFIX}::g" \
- -e "s:@@{_SUFFIX}::g" \
- -e "s:@@{USUFFIX}::g" \
- "${D}"/usr/share/mime/packages/opera-widget.xml \
- "${D}"/usr/share/man/man1/* \
- "${D}"/usr/share/applications/opera-browser.desktop \
- "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed"
-
- # Sed libdir in opera script
- sed "${FILESDIR}"/opera \
- -e "s|OPERA_LIBDIR|${OPREFIX}|g" > opera \
- || die "sed opera script failed"
-
- # Sed libdir in defaults/pluginpath.ini
- sed -i \
- -e "s|/usr/lib32|${OPREFIX}|g" \
- "${D}"/usr/share/opera/defaults/pluginpath.ini \
- || die "sed pluginpath.ini failed"
-
- # Install startup scripts
- dobin ${PN} ${PN}-widget-manager || die "dobin failed"
-
- # Stop revdep-rebuild from checking opera binaries
- dodir /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera
-
- # Change libz.so.3 to libz.so.1 for gentoo/freebsd
- if use elibc_FreeBSD; then
- scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${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 -e 's/libz\.so\.3/libz.so.1/g' "$i"
- done
- [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
- fi
-
- [[ -z MY_LINGUAS ]] || opera_linguas
-}
-
-pkg_postinst() {
- elog "To change the UI language, choose [Tools] -> [Preferences], open the"
- elog "[General] tab, click on [Details...] then [Choose...] and point the"
- elog "file chooser at /usr/share/opera/locale/, then enter the"
- elog "directory for the language you want and [Open] the .lng file."
-
- if use elibc_FreeBSD; then
- elog
- elog "To improve shared memory usage please set:"
- elog "$ sysctl kern.ipc.shm_allow_removed=1"
- fi
-}
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.60_pre6372.ebuild,v 1.1 2010/06/17 17:16:41 jer Exp $
-
-EAPI="2"
-
-inherit eutils multilib
-
-DESCRIPTION="A standards-compliant graphical Web browser"
-HOMEPAGE="http://www.opera.com/"
-
-SLOT="0"
-LICENSE="OPERA-10.53 LGPL-2 LGPL-3"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE="elibc_FreeBSD gtk kde"
-
-RESTRICT="mirror test"
-
-OPREFIX="/usr/$(get_libdir)"
-
-QA_DT_HASH="${OPREFIX}/${PN}/.*"
-QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
-
-MY_LINGUAS="
- be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka
- ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK
- zh-TW
-"
-
-for MY_LINGUA in ${MY_LINGUAS}; do
- IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
-done
-
-O_U="http://snapshot.opera.com/unix/26449_${PV/_pre/-}/"
-O_P="${P/_pre/-}"
-
-SRC_URI="
- amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 )
- ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 )
- x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 )
- x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 )
-"
-
-DEPEND=">=sys-apps/sed-4"
-
-RDEPEND="
- gtk? (
- =x11-libs/gtk+-2*
- dev-libs/atk
- dev-libs/glib
- media-libs/glitz
- media-libs/libpng
- x11-libs/cairo
- x11-libs/pango
- x11-libs/pixman
- )
- kde? (
- kde-base/kdelibs
- )
- dev-libs/expat
- media-libs/fontconfig
- media-libs/freetype
- media-plugins/gst-plugins-meta
- sys-apps/util-linux
- sys-libs/zlib
- virtual/opengl
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXt
- x11-libs/libxcb
- x11-libs/xcb-util
- "
-
-opera_linguas() {
- # Remove unwanted LINGUAS:
- local LINGUA
- local LNGDIR="${D}usr/share/${PN}/locale"
- einfo "Keeping these locales: ${LINGUAS}."
- for LINGUA in ${MY_LINGUAS}; do
- if ! use linguas_${LINGUA/-/_}; then
- LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
- rm -r "${LINGUA}"
- fi
- done
-}
-
-pkg_setup() {
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
- elog "If you seek support, please file a bug report at"
- elog "https://bugs.gentoo.org and post the output of"
- elog " \`emerge --info =${CATEGORY}/${P}'"
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
-}
-
-src_unpack() {
- unpack ${A}
- if [[ ! -d ${S} ]]; then
- cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
- S="$(pwd)"
- einfo "Setting WORKDIR to ${S}"
- fi
-}
-
-src_install() {
- # Remove "license directory" (bug #315473)
- rm -rf "share/doc/opera"
-
- # We install into usr instead of opt as Opera does not support the latter
- dodir /usr
- mv lib/ "${D}/${OPREFIX}" || die "mv lib/ failed"
- mv share/ "${D}/usr/" || die "mv share/ failed"
-
- # Unzip the man pages before sedding
- gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed"
-
- # Replace PREFIX and SUFFIX in various files
- sed -i \
- -e "s:@@{PREFIX}:/usr:g" \
- -e "s:@@{SUFFIX}::g" \
- -e "s:@@{_SUFFIX}::g" \
- -e "s:@@{USUFFIX}::g" \
- "${D}"/usr/share/mime/packages/opera-widget.xml \
- "${D}"/usr/share/man/man1/* \
- "${D}"/usr/share/applications/opera-browser.desktop \
- "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed"
-
- # Sed libdir in opera script
- sed "${FILESDIR}"/opera \
- -e "s|OPERA_LIBDIR|${OPREFIX}|g" > opera \
- || die "sed opera script failed"
-
- # Sed libdir in defaults/pluginpath.ini
- sed -i \
- -e "s|/usr/lib32|${OPREFIX}|g" \
- "${D}"/usr/share/opera/defaults/pluginpath.ini \
- || die "sed pluginpath.ini failed"
-
- # Install startup scripts
- dobin ${PN} ${PN}-widget-manager || die "dobin failed"
-
- # Stop revdep-rebuild from checking opera binaries
- dodir /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera
-
- # Change libz.so.3 to libz.so.1 for gentoo/freebsd
- if use elibc_FreeBSD; then
- scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${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 -e 's/libz\.so\.3/libz.so.1/g' "$i"
- done
- [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
- fi
-
- [[ -z MY_LINGUAS ]] || opera_linguas
-}
-
-pkg_postinst() {
- elog "To change the UI language, choose [Tools] -> [Preferences], open the"
- elog "[General] tab, click on [Details...] then [Choose...] and point the"
- elog "file chooser at /usr/share/opera/locale/, then enter the"
- elog "directory for the language you want and [Open] the .lng file."
-
- if use elibc_FreeBSD; then
- elog
- elog "To improve shared memory usage please set:"
- elog "$ sysctl kern.ipc.shm_allow_removed=1"
- fi
-}
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.60_pre6374.ebuild,v 1.1 2010/06/19 13:34:36 jer Exp $
-
-EAPI="2"
-
-inherit eutils multilib
-
-DESCRIPTION="A standards-compliant graphical Web browser"
-HOMEPAGE="http://www.opera.com/"
-
-SLOT="0"
-LICENSE="OPERA-10.53 LGPL-2 LGPL-3"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE="elibc_FreeBSD gtk kde"
-
-RESTRICT="mirror test"
-
-OPREFIX="/usr/$(get_libdir)"
-
-QA_DT_HASH="${OPREFIX}/${PN}/.*"
-QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
-
-MY_LINGUAS="
- be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka
- ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK
- zh-TW
-"
-
-for MY_LINGUA in ${MY_LINGUAS}; do
- IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
-done
-
-O_U="http://snapshot.opera.com/unix/31510_${PV/_pre/-}/"
-O_P="${P/_pre/-}"
-
-SRC_URI="
- amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 )
- ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 )
- x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 )
- x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 )
-"
-
-DEPEND=">=sys-apps/sed-4"
-
-RDEPEND="
- gtk? (
- =x11-libs/gtk+-2*
- dev-libs/atk
- dev-libs/glib
- media-libs/glitz
- media-libs/libpng
- x11-libs/cairo
- x11-libs/pango
- x11-libs/pixman
- )
- kde? (
- kde-base/kdelibs
- )
- dev-libs/expat
- media-libs/fontconfig
- media-libs/freetype
- media-plugins/gst-plugins-meta
- sys-apps/util-linux
- sys-libs/zlib
- virtual/opengl
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXt
- x11-libs/libxcb
- x11-libs/xcb-util
- "
-
-opera_linguas() {
- # Remove unwanted LINGUAS:
- local LINGUA
- local LNGDIR="${D}usr/share/${PN}/locale"
- einfo "Keeping these locales: ${LINGUAS}."
- for LINGUA in ${MY_LINGUAS}; do
- if ! use linguas_${LINGUA/-/_}; then
- LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
- rm -r "${LINGUA}"
- fi
- done
-}
-
-pkg_setup() {
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
- elog "If you seek support, please file a bug report at"
- elog "https://bugs.gentoo.org and post the output of"
- elog " \`emerge --info =${CATEGORY}/${P}'"
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
-}
-
-src_unpack() {
- unpack ${A}
- if [[ ! -d ${S} ]]; then
- cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
- S="$(pwd)"
- einfo "Setting WORKDIR to ${S}"
- fi
-}
-
-src_install() {
- # Remove "license directory" (bug #315473)
- rm -rf "share/doc/opera"
-
- # We install into usr instead of opt as Opera does not support the latter
- dodir /usr
- mv lib/ "${D}/${OPREFIX}" || die "mv lib/ failed"
- mv share/ "${D}/usr/" || die "mv share/ failed"
-
- # Unzip the man pages before sedding
- gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed"
-
- # Replace PREFIX and SUFFIX in various files
- sed -i \
- -e "s:@@{PREFIX}:/usr:g" \
- -e "s:@@{SUFFIX}::g" \
- -e "s:@@{_SUFFIX}::g" \
- -e "s:@@{USUFFIX}::g" \
- "${D}"/usr/share/mime/packages/opera-widget.xml \
- "${D}"/usr/share/man/man1/* \
- "${D}"/usr/share/applications/opera-browser.desktop \
- "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed"
-
- # Sed libdir in opera script
- sed "${FILESDIR}"/opera \
- -e "s|OPERA_LIBDIR|${OPREFIX}|g" > opera \
- || die "sed opera script failed"
-
- # Sed libdir in defaults/pluginpath.ini
- sed -i \
- -e "s|/usr/lib32|${OPREFIX}|g" \
- "${D}"/usr/share/opera/defaults/pluginpath.ini \
- || die "sed pluginpath.ini failed"
-
- # Install startup scripts
- dobin ${PN} ${PN}-widget-manager || die "dobin failed"
-
- # Stop revdep-rebuild from checking opera binaries
- dodir /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera
-
- # Change libz.so.3 to libz.so.1 for gentoo/freebsd
- if use elibc_FreeBSD; then
- scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${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 -e 's/libz\.so\.3/libz.so.1/g' "$i"
- done
- [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
- fi
-
- [[ -z MY_LINGUAS ]] || opera_linguas
-}
-
-pkg_postinst() {
- elog "To change the UI language, choose [Tools] -> [Preferences], open the"
- elog "[General] tab, click on [Details...] then [Choose...] and point the"
- elog "file chooser at /usr/share/opera/locale/, then enter the"
- elog "directory for the language you want and [Open] the .lng file."
-
- if use elibc_FreeBSD; then
- elog
- elog "To improve shared memory usage please set:"
- elog "$ sysctl kern.ipc.shm_allow_removed=1"
- fi
-}
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.60_pre6378.ebuild,v 1.1 2010/06/22 17:09:39 jer Exp $
-
-EAPI="2"
-
-inherit eutils multilib
-
-DESCRIPTION="A standards-compliant graphical Web browser"
-HOMEPAGE="http://www.opera.com/"
-
-SLOT="0"
-LICENSE="OPERA-10.53 LGPL-2 LGPL-3"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE="elibc_FreeBSD gtk kde"
-
-RESTRICT="mirror test"
-
-OPREFIX="/usr/$(get_libdir)"
-
-QA_DT_HASH="${OPREFIX}/${PN}/.*"
-QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
-
-MY_LINGUAS="
- be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka
- ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK
- zh-TW
-"
-
-for MY_LINGUA in ${MY_LINGUAS}; do
- IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
-done
-
-O_U="http://snapshot.opera.com/unix/16640_${PV/_pre/-}/"
-O_P="${P/_pre/-}"
-
-SRC_URI="
- amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 )
- ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 )
- x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 )
- x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 )
-"
-
-DEPEND=">=sys-apps/sed-4"
-
-RDEPEND="
- gtk? (
- =x11-libs/gtk+-2*
- dev-libs/atk
- dev-libs/glib
- media-libs/glitz
- media-libs/libpng
- x11-libs/cairo
- x11-libs/pango
- x11-libs/pixman
- )
- kde? (
- kde-base/kdelibs
- )
- dev-libs/expat
- media-libs/fontconfig
- media-libs/freetype
- media-plugins/gst-plugins-meta
- sys-apps/util-linux
- sys-libs/zlib
- virtual/opengl
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXt
- x11-libs/libxcb
- x11-libs/xcb-util
- "
-
-opera_linguas() {
- # Remove unwanted LINGUAS:
- local LINGUA
- local LNGDIR="${D}usr/share/${PN}/locale"
- einfo "Keeping these locales: ${LINGUAS}."
- for LINGUA in ${MY_LINGUAS}; do
- if ! use linguas_${LINGUA/-/_}; then
- LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
- rm -r "${LINGUA}"
- fi
- done
-}
-
-pkg_setup() {
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
- elog "If you seek support, please file a bug report at"
- elog "https://bugs.gentoo.org and post the output of"
- elog " \`emerge --info =${CATEGORY}/${P}'"
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
-}
-
-src_unpack() {
- unpack ${A}
- if [[ ! -d ${S} ]]; then
- cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
- S="$(pwd)"
- einfo "Setting WORKDIR to ${S}"
- fi
-}
-
-src_install() {
- # Remove "license directory" (bug #315473)
- rm -rf "share/doc/opera"
-
- # We install into usr instead of opt as Opera does not support the latter
- dodir /usr
- mv lib/ "${D}/${OPREFIX}" || die "mv lib/ failed"
- mv share/ "${D}/usr/" || die "mv share/ failed"
-
- # Unzip the man pages before sedding
- gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed"
-
- # Replace PREFIX and SUFFIX in various files
- sed -i \
- -e "s:@@{PREFIX}:/usr:g" \
- -e "s:@@{SUFFIX}::g" \
- -e "s:@@{_SUFFIX}::g" \
- -e "s:@@{USUFFIX}::g" \
- "${D}"/usr/share/mime/packages/opera-widget.xml \
- "${D}"/usr/share/man/man1/* \
- "${D}"/usr/share/applications/opera-browser.desktop \
- "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed"
-
- # Sed libdir in opera script
- sed "${FILESDIR}"/opera \
- -e "s|OPERA_LIBDIR|${OPREFIX}|g" > opera \
- || die "sed opera script failed"
-
- # Sed libdir in defaults/pluginpath.ini
- sed -i \
- -e "s|/usr/lib32|${OPREFIX}|g" \
- "${D}"/usr/share/opera/defaults/pluginpath.ini \
- || die "sed pluginpath.ini failed"
-
- # Install startup scripts
- dobin ${PN} ${PN}-widget-manager || die "dobin failed"
-
- # Stop revdep-rebuild from checking opera binaries
- dodir /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera
-
- # Change libz.so.3 to libz.so.1 for gentoo/freebsd
- if use elibc_FreeBSD; then
- scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${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 -e 's/libz\.so\.3/libz.so.1/g' "$i"
- done
- [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
- fi
-
- [[ -z MY_LINGUAS ]] || opera_linguas
-}
-
-pkg_postinst() {
- elog "To change the UI language, choose [Tools] -> [Preferences], open the"
- elog "[General] tab, click on [Details...] then [Choose...] and point the"
- elog "file chooser at /usr/share/opera/locale/, then enter the"
- elog "directory for the language you want and [Open] the .lng file."
-
- if use elibc_FreeBSD; then
- elog
- elog "To improve shared memory usage please set:"
- elog "$ sysctl kern.ipc.shm_allow_removed=1"
- fi
-}
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.60_pre6379.ebuild,v 1.1 2010/06/23 17:49:10 jer Exp $
-
-EAPI="2"
-
-inherit eutils multilib
-
-DESCRIPTION="A standards-compliant graphical Web browser"
-HOMEPAGE="http://www.opera.com/"
-
-SLOT="0"
-LICENSE="OPERA-10.53 LGPL-2 LGPL-3"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE="elibc_FreeBSD gtk kde"
-
-RESTRICT="mirror test"
-
-OPREFIX="/usr/$(get_libdir)"
-
-QA_DT_HASH="${OPREFIX}/${PN}/.*"
-QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
-
-MY_LINGUAS="
- be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka
- ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK
- zh-TW
-"
-
-for MY_LINGUA in ${MY_LINGUAS}; do
- IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
-done
-
-O_U="http://snapshot.opera.com/unix/3946_${PV/_pre/-}/"
-O_P="${P/_pre/-}"
-
-SRC_URI="
- amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 )
- ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 )
- x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 )
- x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 )
-"
-
-DEPEND=">=sys-apps/sed-4"
-
-RDEPEND="
- gtk? (
- =x11-libs/gtk+-2*
- dev-libs/atk
- dev-libs/glib
- media-libs/glitz
- media-libs/libpng
- x11-libs/cairo
- x11-libs/pango
- x11-libs/pixman
- )
- kde? (
- kde-base/kdelibs
- )
- dev-libs/expat
- media-libs/fontconfig
- media-libs/freetype
- media-plugins/gst-plugins-meta
- sys-apps/util-linux
- sys-libs/zlib
- virtual/opengl
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXt
- x11-libs/libxcb
- x11-libs/xcb-util
- "
-
-opera_linguas() {
- # Remove unwanted LINGUAS:
- local LINGUA
- local LNGDIR="${D}usr/share/${PN}/locale"
- einfo "Keeping these locales: ${LINGUAS}."
- for LINGUA in ${MY_LINGUAS}; do
- if ! use linguas_${LINGUA/-/_}; then
- LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
- rm -r "${LINGUA}"
- fi
- done
-}
-
-pkg_setup() {
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
- elog "If you seek support, please file a bug report at"
- elog "https://bugs.gentoo.org and post the output of"
- elog " \`emerge --info =${CATEGORY}/${P}'"
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
-}
-
-src_unpack() {
- unpack ${A}
- if [[ ! -d ${S} ]]; then
- cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
- S="$(pwd)"
- einfo "Setting WORKDIR to ${S}"
- fi
-}
-
-src_install() {
- # Remove "license directory" (bug #315473)
- rm -rf "share/doc/opera"
-
- # We install into usr instead of opt as Opera does not support the latter
- dodir /usr
- mv lib/ "${D}/${OPREFIX}" || die "mv lib/ failed"
- mv share/ "${D}/usr/" || die "mv share/ failed"
-
- # Unzip the man pages before sedding
- gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed"
-
- # Replace PREFIX and SUFFIX in various files
- sed -i \
- -e "s:@@{PREFIX}:/usr:g" \
- -e "s:@@{SUFFIX}::g" \
- -e "s:@@{_SUFFIX}::g" \
- -e "s:@@{USUFFIX}::g" \
- "${D}"/usr/share/mime/packages/opera-widget.xml \
- "${D}"/usr/share/man/man1/* \
- "${D}"/usr/share/applications/opera-browser.desktop \
- "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed"
-
- # Sed libdir in opera script
- sed "${FILESDIR}"/opera \
- -e "s|OPERA_LIBDIR|${OPREFIX}|g" > opera \
- || die "sed opera script failed"
-
- # Sed libdir in defaults/pluginpath.ini
- sed -i \
- -e "s|/usr/lib32|${OPREFIX}|g" \
- "${D}"/usr/share/opera/defaults/pluginpath.ini \
- || die "sed pluginpath.ini failed"
-
- # Install startup scripts
- dobin ${PN} ${PN}-widget-manager || die "dobin failed"
-
- # Stop revdep-rebuild from checking opera binaries
- dodir /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera
-
- # Change libz.so.3 to libz.so.1 for gentoo/freebsd
- if use elibc_FreeBSD; then
- scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${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 -e 's/libz\.so\.3/libz.so.1/g' "$i"
- done
- [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
- fi
-
- [[ -z MY_LINGUAS ]] || opera_linguas
-}
-
-pkg_postinst() {
- elog "To change the UI language, choose [Tools] -> [Preferences], open the"
- elog "[General] tab, click on [Details...] then [Choose...] and point the"
- elog "file chooser at /usr/share/opera/locale/, then enter the"
- elog "directory for the language you want and [Open] the .lng file."
-
- if use elibc_FreeBSD; then
- elog
- elog "To improve shared memory usage please set:"
- elog "$ sysctl kern.ipc.shm_allow_removed=1"
- fi
-}