summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-12-18 16:04:58 +0000
committerJeroen Roovers <jer@gentoo.org>2012-12-18 16:04:58 +0000
commit11b2c32de12ba0b1e89602bc6509eb55948c2b9e (patch)
tree92875e1d32ebd903968d51aa365bd76b9bf4cd4f /www-client/opera-next
parentStable for x86, wrt bug #447588 (diff)
downloadhistorical-11b2c32de12ba0b1e89602bc6509eb55948c2b9e.tar.gz
historical-11b2c32de12ba0b1e89602bc6509eb55948c2b9e.tar.bz2
historical-11b2c32de12ba0b1e89602bc6509eb55948c2b9e.zip
Old.
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'www-client/opera-next')
-rw-r--r--www-client/opera-next/ChangeLog7
-rw-r--r--www-client/opera-next/Manifest24
-rw-r--r--www-client/opera-next/opera-next-12.11_pre1661.ebuild238
-rw-r--r--www-client/opera-next/opera-next-12.12_pre1662.ebuild238
-rw-r--r--www-client/opera-next/opera-next-12.12_pre1680.ebuild238
-rw-r--r--www-client/opera-next/opera-next-12.12_pre1693.ebuild238
6 files changed, 10 insertions, 973 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog
index 0e3f295b8547..2a2d600670c7 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.162 2012/12/13 04:37:09 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.163 2012/12/18 16:04:57 jer Exp $
+
+ 18 Dec 2012; Jeroen Roovers <jer@gentoo.org>
+ -opera-next-12.11_pre1661.ebuild, -opera-next-12.12_pre1662.ebuild,
+ -opera-next-12.12_pre1680.ebuild, -opera-next-12.12_pre1693.ebuild:
+ Old.
*opera-next-12.12_pre1704 (13 Dec 2012)
diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest
index b463ab73a222..c30e1afab2cf 100644
--- a/www-client/opera-next/Manifest
+++ b/www-client/opera-next/Manifest
@@ -1,32 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST opera-next-12.11-1661.i386.freebsd.tar.xz 13471112 SHA256 122262008b0f6618ec6c6333a479bea93491242a4cedbd7ff76c22aa3ebef851 SHA512 2b0f91f7ce12b2641e6355d674cb9f128ed1f52d8aade854168c1ae3fcf31110a2833e71f3e354edaa89909401e9c7043d899ece217a707341d4f7cee5eab8ec WHIRLPOOL 887dd709549949e8f895a36228ee1a90bdcf4011d74bc67b3d36df047b85b43b77b8133af24e95760d33ae51ab5a8b47f49fdb1d950ae063ebd6c43ba0c84c65
-DIST opera-next-12.11-1661.i386.linux.tar.xz 13558032 SHA256 d589813488b6ade5e1039e9a5ca42768a562d1677495b593adc2b067a1749c78 SHA512 f7cf025bd175a338cc6338f815ca9f2a04aa14d42a2c2ab28414223daefcef7a0410eb5911663fc8bbfdc74ae97a489797c04dd7f8ce7f14fba7f0842e2331cb WHIRLPOOL b63a1192c3ae08a9f14ff602d20bdeb2db450cb3ad45ae5bb5611c73069ebbc6d9e6ac4de10b95eaae6100470bc9c8695c0a4cfb3a05249908390c13c8527501
-DIST opera-next-12.11-1661.x86_64.linux.tar.xz 13636872 SHA256 897103e28b09e4b62749a30b779394fc8e665c3d6cc0792485113bc398d49df2 SHA512 e998f34c17554170994f6d7a99c7be2743a8aca5f3092c5ad73c750fee65e21402e23b8369c288f36a957a6cc2c2f80e10201c09b95c4d7eeb0ce22827fc2fd9 WHIRLPOOL 6eec5123b84eb3874dd08059a49d9cb22b60d7cb4b0df762038c12d79746eb9cf7d61e8bcd90d7607029376b95fd68037b2d8460581f06d2e4f4b1d56b5ab860
-DIST opera-next-12.12-1662.i386.freebsd.tar.xz 13513760 SHA256 9e5d8c867107bcfb8d38ad8bccd5171ef09114b36b4474c51ac3c902fcf3a212 SHA512 e11f0dfbe2afa3b8988cdff20158e65fb1c16a57d53b932ead342f5ef81fd1d964eee719ae853776e11ec7c555f9aaf5d10e0aaa67fe72e55a686aed7f7bd2db WHIRLPOOL af411b4e718476c212ddf2d861963182fa2bdf74f88960ac46a9b03b6fbad9be4471acb1c2e2a16da5aab7c8f01246f3a442eea6cb278c3cf50c3da7a4c9f644
-DIST opera-next-12.12-1662.i386.linux.tar.xz 13562988 SHA256 7cce59f9ea4799af3276e3f949def36fa0a75d69c5f2f6f9bd90454bbb4d6cc1 SHA512 0afd9ae11430f56625604d7c9f874e140af69327323b15cafcfb4d886e6883d7a20a1b14464b43ab95f8d601a7d474c2820218d149ccc669447a8c7e250cb33f WHIRLPOOL 12210fcf42d24e817bd24acb8e4e7e848b078cc06255e6eb65be7b3ab2e676bc523d0101ea2330dbfb32ddcb7393a587d14d760556024755036fb936fbfcb11d
-DIST opera-next-12.12-1662.x86_64.linux.tar.xz 13634232 SHA256 b02a52143f64191a8e3c7c0ff54944c225d3c023ca2e0c0a0c13d607ac4e38c0 SHA512 9526d2d1e8db44efad2adc5e10e74c0f4392dda6b31ff64be0ec949e656584cfad12a9d528ec062bcd7eea8130066158381e88f2e2ae511dd3151bf6cf9cced0 WHIRLPOOL 85e5e38a660bd03552082e8131c28246c9624f36d252949b3a6389e1d83e910058829469e3b1137d0bca3ae4f14f37be65c753967ac24388f933b0c1566a015f
-DIST opera-next-12.12-1680.i386.freebsd.tar.xz 13518380 SHA256 b1b0137b41ce172c1cd250de66928c06d7177fe5a72840e4dfae25467a24c857 SHA512 3d42a5f600e074b13abb593f8c2f08f4ee738132abb6c5da3a49c67364665cc3e9a14412240525a8b7ce4d7906e5c572bfdda4f64cae9425e29d6291e2d4f3f4 WHIRLPOOL 8d55c9df04c03f623f6c9f257f30ccc76b0e4bc9bd7ea380eeef4387832f7ea20fa9b497736cb75b17473bd7b27bcccfa728f1ae854e85e24211e43c8145ab88
-DIST opera-next-12.12-1680.i386.linux.tar.xz 13515808 SHA256 e280a45ace3768669fbcfdb2f9edebe432566c0d450a5f6395f45c260beb120f SHA512 3c7e7e80d66d4d53ac5a0b2046ab71960af16fdd764f296a4cdcace9a2a476dd90624145e1bee8c1cf04f06506a1cf825fd686e79beeafb2d9e0b252899e04b1 WHIRLPOOL b6dad02b8bf006c0b26d42d498616a2fabaa87aae41a2fae513f77a8fc0c26a878c463ab66e16ac8ecfe71a6c02c880a749a89f647b52023e1b505882ae802ad
-DIST opera-next-12.12-1680.x86_64.linux.tar.xz 13637788 SHA256 11065db0976a5b9a4bf13aa705a849687ee0f988f1e00e42aa42f87149839af8 SHA512 05f51d14135699229bd3915409a3352d5c1f364f2b5cfa17fedb3b19e2dde3d2e79979b161ca5f821d0e903e1f69bd730fd93f6b1eec8e00e57b1ab5ce016295 WHIRLPOOL ab9d62195c2cb798fe035d29ddf0fe5aaacf6f841afab921bb2dea5c5bbf3d99701063fa2d61fe7debdf3debd155d26a0cc5ffc4e152c1154f61ee7843643a72
-DIST opera-next-12.12-1693.i386.freebsd.tar.xz 13512152 SHA256 b6b8e6f4b782c82e3a8863a7d51858d9be7324d1606b31995a01c520d511efe0 SHA512 688f6d1258eb9f15ca0acb9d4a93319ccd635cc5e45e02b883ab1390ed925d4abe82cbebb0be2bd914ebf7a86c80ddcb0a726916c242f319a6898a59af7ec647 WHIRLPOOL ced50e37af1ca4eba2ce415e3af5d4bf6f4d59c3459ed9363d066a93188801cf543754b1b172a32a71fc722d209e6ff4381f0df20dec08a161c3067cf1e6dc86
-DIST opera-next-12.12-1693.i386.linux.tar.xz 13518836 SHA256 5e5f62e12a44284abd38693492d894f74a05980055af240d84117f613623364d SHA512 496a1946d3c6c5733f3acab1f09c9feaa8eda7a827ccdeba9de2623dc8ba0aa3736126e469100ab90bcc7c1456f90044ca16f251b7f13f72690f19c301112aee WHIRLPOOL 890f3c574183326572caccdb5e7bfe44aef17c949e750419bd49b453f8abbe11614efa777cfb4b38865c24a76bc8560afca658210a6550ffffd164036d270fda
-DIST opera-next-12.12-1693.x86_64.linux.tar.xz 13641216 SHA256 4dac23177189cf2d9b2c10d74204f954a748ad40c49a18b3779a02d9afcb1c32 SHA512 a53f04614fd3cbc3e355b684f4fcdc958744a4dd0cb1fb6e7c75fb4543ebdabcd53deb6b1338767ba8fb7dd3970ab42efc85ccebdb9be52db08ce3e589c272bc WHIRLPOOL 3c41d73a102dfd6e13e101eada964fc5118f0aa88280779bef37b678f6cfda30a49e0b68f34a9bbe78f0d6493244647ca6fba6c99e7264bb2fd266bf5f481321
DIST opera-next-12.12-1704.i386.freebsd.tar.xz 13514108 SHA256 8fe2ad57e6db2b632ec57b36d5af8ea4ef541179f732efe7cbb84dd6489286c2 SHA512 e850f80f72583f5cf3cb682c8913fc60966cd7348c794bbd49c1693b6b2b4434f6d87648f10026698cc8d9f0406e4eff24b0771ae5fdc4f3dcbaa27d32e1147c WHIRLPOOL 9c19ba5d5ddc4858175ca299f314bf26492cd30278f23bb2aceb9541f400fe0eb38b64d58dc3d5a139414a564e4e77d8a9232c4696bee68b518863231f81dc29
DIST opera-next-12.12-1704.i386.linux.tar.xz 13521328 SHA256 769b0107b9ad6f5c464919294b171e9d474763c41f08ed444bad8879d689aa44 SHA512 c79c69c855226280da856a7d597d57c1662cb2b361b10b7772dfbea85db4a371bc7189474a4451a5f3c8785215d598f80277c1a9d17079da6da80c4c70a33159 WHIRLPOOL 564d69b6b9e991c91887181fe12e1d47f0a25bd6608f98e0b723e7deb01b81fa3aebec2ff2e93d02b2d2533417be2d48695c0e52eee4977550889479f7c4bd43
DIST opera-next-12.12-1704.x86_64.linux.tar.xz 13639024 SHA256 0235fa3d1fd3693c8ea11af9f8309ab46e99b71adf45519105d2a7f0dccc3734 SHA512 d103dcf448d512a191f5fc0e9321325563ed64007d1ad0c3a6b0d64e4b385b656b8baa403bee8fd6d47bd815654bd13579f0995f07f2b9ebc1b54f5d777f8c6e WHIRLPOOL a054e56061ed1a6b7ef5c6b7e134115fc09c97e4d82f04c397bb52487b962e93b02cdb3eb6fa49cd1986caf766a21743b97bc1d2bfe0118451541d110b9c4cbc
-EBUILD opera-next-12.11_pre1661.ebuild 6234 SHA256 c52fb995f44e0e63ba14927aa442ba034209a582af217fcc12dc9de84d974ec6 SHA512 95efb5e0c10e8cc8c899a09dd00e16370a92726332812c96c6d5a9f3a2b27b7397a0cece8e7a76a9154ecadd150310850fa991e142b0480bee7f893c28217433 WHIRLPOOL f0cfe4f2bdaa96a8458ca4590ba00a46a4b6c22992d6470e6326ec8f52bebb0bc8a09ff6ff85717fa5cc01e9244577fce4d0b8331e0b35f563ec947811966037
-EBUILD opera-next-12.12_pre1662.ebuild 6235 SHA256 0774d618340fdd4e35741897fcf16952c8ecffc2b1c4ef6eb7f5d0b27bc944af SHA512 9ec426c86afc3867a3b49c540fc1fa3719381781057419f4f7083fd05fb6ba689ee1d58cf83878e1acabca7bd961b4c32c301accae82372a46e87ae2a3550a23 WHIRLPOOL 5a4b65a5de68f2974b6665df0a9ca681da5bd6fa405ad7e4c5f8c74b6e5405c1667d707863d19fd57e50ef941ac70196770d6347ad88681f234bf41d46b1b290
-EBUILD opera-next-12.12_pre1680.ebuild 6237 SHA256 ba7537f50ad5f1f8bea4c2e2407be54051cdedcae4b5c616fccbbec073443406 SHA512 07691c61ff32dea304e5146d3b65afff4a41f3186582cf11d4f3984e228b8909925c066f033903145c4046c3a1d3b0f3b1d7b722f91464e55abc14a5ebfb1c35 WHIRLPOOL 2ae3bde5dfbe2780d7bb7abcf239d6cec49c11d38b07e7ef14696fc657bdbeff4d4f1d69e431f3c68657a517e7945160ed62229d081ec458933716c4cdca2713
-EBUILD opera-next-12.12_pre1693.ebuild 6234 SHA256 961c63e12b22e46f2030140a88b41a6fdfc8074c8568d57df33672c04d541718 SHA512 791f401ea2932e4bea3f3160b88b61d26ce54a7d637d09ee8ac4d77fd328e192c5b2c2ace8c7229f48fd5d30045bbcc95ec72b70a663d525df8a7b9e62cd694a WHIRLPOOL 98ecec0cb6f7dc0e674b477633486e4ca834ab301949d722c21a9d6a9733ffe4a6765c949d5ff2f4981672fe7c802f162bfeef4aaa09ca2d65c091b5569c9629
EBUILD opera-next-12.12_pre1704.ebuild 6235 SHA256 80f566fe36e456579c652a9c226d294ef19795a7cdb854ce7e364596a29d45d1 SHA512 dac57fe563816bc0946e7cf0309097e848a4c39275f14d97c01a7b2b562eb9bd8ea71edf2f45a09b568985a7fd3bf47ef3242c4838a75fb8582bed83da4ed3b5 WHIRLPOOL e9f4b2206216aed653b8761c4d6bda24e41048fade4fe03ff74b7967661fbe9730ba4744ce82378a52413e5f92840cdd08c56a90afe86ea3dd4376d33ecfcbd3
-MISC ChangeLog 32898 SHA256 2d0a37d799d7dd39d47ba7ca8946d009412c2508479ae77285fba1a6facb8ba9 SHA512 7eedbd69f101e751680d2668b462360ab4e746528308c7aa8a8d0e2783d6378ca2835e6577bc60bd2892ea5a15276bb8ebcf754c4b7b457656e1422d54851127 WHIRLPOOL 108a481988cf8db4862ad6043a48577c989eb07ddb03629cacbc997baa04de535372db279b414f83eac8a6cca5df0c850a8bb7f6ccedf2ba175c75e679ddb465
+MISC ChangeLog 33093 SHA256 1ca190ccd776bf347e81e10e97c6b308490e0f519f53113f3fae0b97d2882961 SHA512 2e084fb3ac4494cb0bdae1f6200422c59228a622799175793b7e2b3cdb4f1e328e84beacb7b0721bbf67d8d119a7dbc2433c3e4b42b8cb121327bd320702c901 WHIRLPOOL 7c0c234b0540bf9b8305f8c616877d11031d6abdd267f98a3d3b143a37593824939f96a48a5437d8e3d6c7c111fe0df25a071c5b76f0fc23404092c6570d776b
MISC metadata.xml 1523 SHA256 425b559a6232d98e76a1dd960c7518aa27509021792868ffe3bd6928ec18d68b SHA512 b2d0a81b199eab70512105df691525d969865950e16f0f3646c1ef5307177391d34d157b02436fe6d156431b6727e4bb07cb7210e03a284abb531d22c8f723d7 WHIRLPOOL 7bbb0acf3ea48057939f6e652c2112d2a294030109bda2b0bab114a8922ecc67a5b9f807530ff0a2854225ad09dd98e90e3e8b510109b403cb51c1bf405f6d3e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlDJW3YACgkQVWmRsqeSphNCKgCeIILI9p7C4HMV845LV3q6jfcY
-XUoAnjAsL+Ip1T9QINmu8/5upfeafYS2
-=kEYJ
+iEYEAREIAAYFAlDQlCoACgkQVWmRsqeSphM7swCfS3tazKpwv6tppTbZfd7t/kZO
+iZAAn1y9MiWGHFssHBT2hhATc2UP8S9g
+=nx1K
-----END PGP SIGNATURE-----
diff --git a/www-client/opera-next/opera-next-12.11_pre1661.ebuild b/www-client/opera-next/opera-next-12.11_pre1661.ebuild
deleted file mode 100644
index d9d652abfabb..000000000000
--- a/www-client/opera-next/opera-next-12.11_pre1661.ebuild
+++ /dev/null
@@ -1,238 +0,0 @@
-# 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.11_pre1661.ebuild,v 1.3 2012/12/02 16:54:30 eva 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="rev" # 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
- 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
- x11-libs/qt-core:4
- x11-libs/qt-gui: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} )
-"
-src_unpack() {
- unpack ${A}
- mv -v ${PN}* "${S}" || die
-}
-
-src_prepare() {
- export OPREFIX="/usr/$(get_libdir)"
- export QA_PREBUILT="${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
-}
diff --git a/www-client/opera-next/opera-next-12.12_pre1662.ebuild b/www-client/opera-next/opera-next-12.12_pre1662.ebuild
deleted file mode 100644
index 33608604489e..000000000000
--- a/www-client/opera-next/opera-next-12.12_pre1662.ebuild
+++ /dev/null
@@ -1,238 +0,0 @@
-# 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.12_pre1662.ebuild,v 1.3 2012/12/02 16:54:29 eva 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="1712" # 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
- 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
- x11-libs/qt-core:4
- x11-libs/qt-gui: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} )
-"
-src_unpack() {
- unpack ${A}
- mv -v ${PN}* "${S}" || die
-}
-
-src_prepare() {
- export OPREFIX="/usr/$(get_libdir)"
- export QA_PREBUILT="${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
-}
diff --git a/www-client/opera-next/opera-next-12.12_pre1680.ebuild b/www-client/opera-next/opera-next-12.12_pre1680.ebuild
deleted file mode 100644
index 48695328dded..000000000000
--- a/www-client/opera-next/opera-next-12.12_pre1680.ebuild
+++ /dev/null
@@ -1,238 +0,0 @@
-# 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.12_pre1680.ebuild,v 1.1 2012/12/06 16:16:18 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="ggdGZZ" # 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
- 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
- x11-libs/qt-core:4
- x11-libs/qt-gui: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} )
-"
-src_unpack() {
- unpack ${A}
- mv -v ${PN}* "${S}" || die
-}
-
-src_prepare() {
- export OPREFIX="/usr/$(get_libdir)"
- export QA_PREBUILT="${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
-}
diff --git a/www-client/opera-next/opera-next-12.12_pre1693.ebuild b/www-client/opera-next/opera-next-12.12_pre1693.ebuild
deleted file mode 100644
index 70d6dcfcefa5..000000000000
--- a/www-client/opera-next/opera-next-12.12_pre1693.ebuild
+++ /dev/null
@@ -1,238 +0,0 @@
-# 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.12_pre1693.ebuild,v 1.1 2012/12/12 15:05:19 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="143" # 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
- 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
- x11-libs/qt-core:4
- x11-libs/qt-gui: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} )
-"
-src_unpack() {
- unpack ${A}
- mv -v ${PN}* "${S}" || die
-}
-
-src_prepare() {
- export OPREFIX="/usr/$(get_libdir)"
- export QA_PREBUILT="${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
-}