summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-12-18 16:03:34 +0000
committerJeroen Roovers <jer@gentoo.org>2012-12-18 16:03:34 +0000
commitd0122b66a423004924b0e8786758e6e673dc93ce (patch)
tree77ae12aa67749c1c91319a9c65e6c3cd03afc66c /www-client
parentStable for amd64, wrt bug #447588 (diff)
downloadhistorical-d0122b66a423004924b0e8786758e6e673dc93ce.tar.gz
historical-d0122b66a423004924b0e8786758e6e673dc93ce.tar.bz2
historical-d0122b66a423004924b0e8786758e6e673dc93ce.zip
Version bump (bug #446096).
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog8
-rw-r--r--www-client/opera/Manifest20
-rw-r--r--www-client/opera/opera-12.12_p1707.ebuild (renamed from www-client/opera/opera-12.12_pre1680.ebuild)4
-rw-r--r--www-client/opera/opera-12.12_pre1693.ebuild238
4 files changed, 17 insertions, 253 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 36a825e2e29b..f869e8cecae3 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-client/opera
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.782 2012/12/13 04:33:01 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.783 2012/12/18 16:03:32 jer Exp $
+
+*opera-12.12_p1707 (18 Dec 2012)
+
+ 18 Dec 2012; Jeroen Roovers <jer@gentoo.org> -opera-12.12_pre1680.ebuild,
+ -opera-12.12_pre1693.ebuild, +opera-12.12_p1707.ebuild:
+ Version bump (bug #446096).
*opera-12.12_pre1704 (13 Dec 2012)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 78e7bfc10f58..077044cd8e8c 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -4,26 +4,22 @@ Hash: SHA256
DIST opera-12.11-1661.i386.freebsd.tar.xz 13472248 SHA256 de0675401defd2caa3b40525fdf4a3cd793308017ba0545ff4a6b3fc24b5938b SHA512 48c74f9747c1b653cbdc608c852401b4d335063e7e986d2fcaca722506b9f9a9b8666e51b2a4ddab7905ee3e138c947dd45d05e6dff47534f0b44c2a58d35892 WHIRLPOOL f73ae96392525f6878059c8c2d3f6086e97e138a0eb074d87734d2fe587821a5064db0ef0ccde17e9573e6c473d4edeb9d24bb11aa45a6b6b97b9ea33bf82c34
DIST opera-12.11-1661.i386.linux.tar.xz 13552952 SHA256 735299d288c4cf55bfde50e02a685f8adb365494ec2566ca776741402d9ba22b SHA512 e051b37fccd1015ed82eff85d80c04a314ba51ec79f01d2503227f192489a31e292a1e81bb80c05b49035907b59be84cb2f0e99209c5c2ab50dcfc7373637f2b WHIRLPOOL 7b6482d7198d2f1fc5eab5770a3b481c4005fe6afb5800d840f21bbc174a23ff8184cd2b6172572171fbd692130c7f2d15b62d28aca184118485fe44b100e464
DIST opera-12.11-1661.x86_64.linux.tar.xz 13634672 SHA256 773584d3fad92516f1d22a83607cf08e7d7f63a3d999378fa8356bd52669cade SHA512 df5d1194a598428c9ec348dc815081244115f469d8c684bec624a412d18695542447298f10692dd42a5f162040c965d89f2462705d7155d0dd22f6a8a35b5111 WHIRLPOOL b4d10ece15045a2117b9439be2c7dc8b8e2c638aef3516d99f901da78060c76453ff62e4754782a5ff35ddc7ad0650ce66999730625e9a79e2429ffa61770461
-DIST opera-12.12-1680.i386.freebsd.tar.xz 13513576 SHA256 7bedf1ca37bb70a2a405a58cf4e90e9d73aaa341a38ae93103d2b8245b5ef98a SHA512 e38d48a7eb860f14f4f57fb24f965aad7aa21bca5c069a73747ff7bd1beb8cc8889d82710185b528ddda3a0799b62fb0637610d1f71324ffb4de51c945be67ed WHIRLPOOL 72a8fec5121df34673f33d43af4c36d9afcc7e7ec651625e1711e4cc914fbed96906854051684233aae3ae2468b3dbefcc0085b8a328741b0fa48beb3b84c3ef
-DIST opera-12.12-1680.i386.linux.tar.xz 13518292 SHA256 5238b2bc3ee840c836390102ad8ed6c7a2bde52783b605c154465632a26e125d SHA512 0167f3eac0ca764b6a5cd7dbd97c00ef2d436604cb13a1972063f5c82bcab317fdaf3d07b0531fe010f9844211d220cb48c0b9dcfe8931fd87de445aac012f96 WHIRLPOOL 9025cbdf5814f4d7f4b50bfba2415ba0898065c7eb87d1146ad1deeed5fb19dadaba961d3b49b3ac495b8762be8cc5a1ac5907a022d11f5b355691005e0823c4
-DIST opera-12.12-1680.x86_64.linux.tar.xz 13635436 SHA256 7d13669c8a80b0dcd7136017e6ca7f1ff07116a7734866cfa9713c1922389870 SHA512 2b04057623d2ede3f33bedcf083905370c51410ee193de2b51b7d37a2f4573bb9b75a4d34841a2a4c253810168939ba3f018964af4c1083e3bb4f713ab6adc60 WHIRLPOOL f5b718cdd3429f2d856ccf40be65b860b21f72776d2bfee34dcb2f56bb6bb04c5fa7c87b1364b3c096e0f1fa70db66f74b186bd5d2cd52025670046e784ae7fb
-DIST opera-12.12-1693.i386.freebsd.tar.xz 13515644 SHA256 388164d9db4816154c2fddb90614ffe14f0eccc9751245595c921d42c711352c SHA512 977c08db951bbe66ca792d940aa240824a1295687b119971d432509e3aa10bd8eb8bf320252e6cc31112323d77293cf9e5b9c03b1dc41bbef7422aba7dd6ec84 WHIRLPOOL 6bfefe2a13ae6184c9ffc69e15481439cbf1fe929aece8322d586d5b340060de1e591a1e70e54ea901e84af2d5749dec87d8c21d8ba012f075632f9f50803926
-DIST opera-12.12-1693.i386.linux.tar.xz 13520188 SHA256 4e8fe26996a581b328bc824e6056d82ca1d6ed76d8c74a2e0e61db5dd904664e SHA512 8ff3cf7a8b9fd0f1a093b10e5d1c1625c3a0690a375a80cc3548bb33a2667bc3afe54da6b14dc9b68eaa3bef96439d907a885e319c3ffaeeb7e0846286b18e6b WHIRLPOOL 9b1c61cbe96c1a1c7dbff86afd4ec79e80c13d5357e11ed425de99f21b311f0c86aee44e56ca1b4c4dd6ca38ac7d1c250d3dfcd8829c506554fab5b407619b93
-DIST opera-12.12-1693.x86_64.linux.tar.xz 13637720 SHA256 eba2eab8633393d98ecd623ceb6c36c32b48f0a24ff51baf25761314f7228030 SHA512 1d88df80877aa3b993e3c6352ae8c41b6d66a7e541b6ff491b9db1af999cd7e769e8e9f320616a91ead1e5a9d931cea1afa6ecb914e51cb140e20fae69d64f6e WHIRLPOOL 5c8d82ae2b980e765ad1937675ceabdec519ef0c33569c9226c2f25df8326d1fb1e8585de6deee65ac6b58e0fcfeeb8e28fcdf20e6804ef1ffaa3b56155b6041
DIST opera-12.12-1704.i386.freebsd.tar.xz 13513000 SHA256 8f5a38ee96235270d1e919afb3a1ecccce4c430e4ffabd0287cc9507f43ca6ec SHA512 105f4329c29b537b3a70a9db6784d7794d7ed46989e0bb6f4a0a4cffe69373a2cb38223712264dbab7dd7ae334a1287ccb9629430201f14b6b98b186f7fc4d73 WHIRLPOOL 11c94a02c3bf197c2adee6a69849a4d5bd1f71b24c8d26526d60bf813c39f93a9d7695d7fcbf7a33331b75fa94d056e75876f19cac832b05c51165887d078790
DIST opera-12.12-1704.i386.linux.tar.xz 13522856 SHA256 c40ffef0117ca7e8d373ff51330bb46d122077855873183320d956faad9a1269 SHA512 faf567489b0a86bacd5b7751c798a055bc6e20977d83a26f98a8497bccee6f1d778c17734516a4b18b99f254fd228b37cf514edabc5009a2922a5a5375b37b6b WHIRLPOOL d677998e1e32308f423c923ad42898b6a77b6334b2ca99b94c554fd4fec6eb878780704af724cd99d22ae008a607283792f27a5c0a2ba4a5238c0e279c3a15c4
DIST opera-12.12-1704.x86_64.linux.tar.xz 13637620 SHA256 60393580d60677c5e8f248a9e9c303831943dfd662dc6ff52b88b377fe3e4876 SHA512 2627994451165840d0a401349f1906ce090db03d3cd2396e8c621ddec2d30946fe57640f1dc8fb964280fc6811b3feb2bc88d2d036e7da7181141191d1e4488b WHIRLPOOL 0f36bfc0f561285451af6936b8527b7a2319f3481efe943b51395042c149fcee116e38d93ca2c611513bf562bba6b40bc3c2c3e53770cd581e5507981255e2af
+DIST opera-12.12-1707.i386.freebsd.tar.xz 13517344 SHA256 04c4a3a8f780ab0c3b64e64af7c07402d329437eeb5b7d0daff2c252b77c1b0d SHA512 f0d23d15c73c64cf86cb614e4598f04c603e2378d12b8a42dbad05ef17fb88e02688b3e09e560066317fa195a920371288b93edcb5fe67b570bee65cbafc1ce9 WHIRLPOOL 192f5b7ad28ff198606da7f3fe9147be4ac2c6dd675795b0b8841aad089628f70457e586614208bb7bf5e87a0eea3fb3f9e5b175fb2b9762fe17f279ca77f4e0
+DIST opera-12.12-1707.i386.linux.tar.xz 13522976 SHA256 7f766faa08d62be616ea43cf4bb026c8b6afb5a51fa8eae1227f16d5658779ca SHA512 676a58fb3006cacd6498c31f73ab0699fd6d75704a6f244326495bd5f7b20a0122c8ade0fb436e5c6f4fb7b655bf40a6dc877765fe20e95175425f4664600830 WHIRLPOOL 134d2f526be0379a96337f52baa3be1b3bd3e98d8de3c232ad36619b93c4be42128c5cca9d6d9a92dd58e6870e6d4fd06c02afe5c5f487170e0c630644e092f1
+DIST opera-12.12-1707.x86_64.linux.tar.xz 13642760 SHA256 1ba428bd5acf4f17a8ef0f970fb9e1334477468abbf21612dd8c2eec5fff9129 SHA512 edde729b43fa317449928c03046c0206724559f95f9c7f6989322691d2e33b3517d47db35f24220f3af4a3a4725d007ca2c4216228068a6af083b61e3f2dc7a2 WHIRLPOOL 50528dd2e28e99d1cb8c72e35a2bb1b7da133de32561ca4188223e8ebf347f68e769a8def6f2ee42c45b7ea79851858588b10f2d9398fa49543ee642ec8c0378
EBUILD opera-12.11.1661.ebuild 5545 SHA256 91401257a757e04da4657edc3d5214fc7d188596a0e1c798b66bcb5cbcee16ff SHA512 6e470a839ccef34fa9cab11e31b80b261ec4f4d65743d856f4eae98d6427d70e9b93e41e315f0b86780c4a5b90cc019a8b4596fb7369afee0858afa809a2720d WHIRLPOOL a9e320b66b02c955993bfb6878286e4c158468c1de51d146d3bb7cfdedd9427301b9c7943e781cb430a5124fc0f215a460506a96cf4168a1b281cf6668bfd9cb
-EBUILD opera-12.12_pre1680.ebuild 6224 SHA256 5cc0c5f486266222c77abbcb727731659bd6e144c818e80cd275941e616b6be5 SHA512 dbffb182eed262a354e3927aa65f1c08decb5f6959f095344d521f078c831f7eb140abfe59cdd44b0cd0887058f7d966237f0333002f8341c09db81739bc9680 WHIRLPOOL 21018aa3e4486d6bddccddf3641d307d329e70e181235951e25e16956a625a4bb1bf0943871c5be2670e3bfc7959cb1b96222a1977648023f970e0351dc44634
-EBUILD opera-12.12_pre1693.ebuild 6233 SHA256 700101494d1b5489049e156c5d1d8d53f6d65d744ea3ba51d7dd51b69e2f5584 SHA512 d8416c862464b6b8c493e883a61377e97ed2beeec4b23c501580d48a73d69079b707f02d61145301bcb52ef0c4d5174569d8d977af2e71028832e6c7ae686513 WHIRLPOOL ffa73ecac457b911d7f91848ea3d846b59ae8c572f34563e9f27c31ee4a7f4833fcc933a0f41e572f20cc6284248dbbef027d3040c1f2a447281a61b039b37a9
+EBUILD opera-12.12_p1707.ebuild 6225 SHA256 fb51e7a6abf164903ecd4f6928911def60f76ee3ee94b58ad78c567e0b3c8463 SHA512 fa012f9d235ead8a20a72da43b835dc9d9bdfcf8bd5dfca2b1adf83e9046368fdff33fbc4d51b902423c14ab03d08e7c3de705114dec2e3f18b5eda3425c5b0e WHIRLPOOL ec173c8a1456566f48fa33f4e7614016d36c96718085f363119d47f507c04b142d0302c669708e9ba73f0206fd5362933b8e3f765280e7da8f91d546fb18cb24
EBUILD opera-12.12_pre1704.ebuild 6227 SHA256 b8453daf1c7d3d43a34cd186b74c26b79136069e7ead76e839842c960403de7b SHA512 3314f5ce4e762c5c6bb915c9d55c7ed77230b5c964e501611196e05f2b7bc41f7a4d32862e36c328eb3eef3280e0d82f679b5d76d2dcb4bc09f8d9fe7071703a WHIRLPOOL a024f9cdc7cbf83d02c87bab0be2923e0ee5a19b0532f84703a7408acab20fe05364d4459d1a99b4a5340edbf3aaf95e6725269883ee49855e565d5884d39ceb
-MISC ChangeLog 33401 SHA256 bea871ee2145197fe1671547dc6635cf9366ea242ae793d1c4cf15e753ec4480 SHA512 18a6e585c262e3efc094d6b4886cbbfc011edcd161c8be41a4cd557e010335112842496ca7778f1123daf2a42bca659b7d98c54deb5d121d621236bc118fa1df WHIRLPOOL 493aacc53502df2b93a7cf7f48cccc7aa261eda71a8f5cb93687d3743ea8b86c251d3a1c26649b2fb4026c4424d008642c4cb2255042af69b93d9e521e4bcd18
+MISC ChangeLog 33600 SHA256 bc7a57804d2b356d73d5a3484c7d4a6a9ae05a23858ddb7ea3f2f304a7c64d7c SHA512 08b58fe5de8b76f75439fa52e2921597591866a350e63d68ff08eb85746adb08b73f4f4018384b58d3eb5d3afe1e524d292bc8152a2f48736ed25bc33e547547 WHIRLPOOL 81ea2636df040f4822405256b30be05edd9b1be717b9d78bf9c9a0262ccfaf47794533f468b9cd667f9d39c000701c9f9f42d2cdd68b25780a76e4191d494c84
MISC ChangeLog-2010 112299 SHA256 5c3b5c58119b4a6b1911d840892c42234f25dae57452287fb0a9e6cca78ed171 SHA512 9dc4dc7e7508bb1621c390837ec2e47d9e96075906b2060be419ee64e505c8f0da9e4d3a8bc7cc2de66c6efc383f026afb8fa5e886afa15da6349514a93c9edb WHIRLPOOL edaf1c2e810e91d37b2d90847640900374b447a12e2e0e927654966cc18c3a14f332ce6daa07c5a0049da06f5e89bfd0daddb5f73a4d79b334ded4397349cf7a
MISC metadata.xml 672 SHA256 3fdb3d81bfb1c469bdf86811329eb4888ce909cce63d2aa71257b91a6f8f012e SHA512 4aae9fbf8a753b30b7ef5868b0084c1eb55ed34cc9e1ece8814db13230e07b455f45be936c810bc8a9426ce6c9eaa7449612ac50b47aad253dcae57a683b5b6a WHIRLPOOL 9dc490f6cffad6c3ff1beb27a74818fc66a194856b7d5a84972d387a6bcdf81cda95bb2d1f2b5cb9d58f47cf898bcede39b2a68fdaa5405c5efbffaa51986f3d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlDJWn4ACgkQVWmRsqeSphOpPQCfa5ve7lWPwAA3Z1zXcH3v2BzA
-TW8AniaDjfqDy8ojH6HMubH8RDxMWcXl
-=0sY6
+iEYEAREIAAYFAlDQk9YACgkQVWmRsqeSphMRjQCfXjLBki94iNmuV4HShBvDVHU9
+bnAAn2O8pokP/yYBV/ZpCXZZJT1d8D71
+=lroY
-----END PGP SIGNATURE-----
diff --git a/www-client/opera/opera-12.12_pre1680.ebuild b/www-client/opera/opera-12.12_p1707.ebuild
index def92fe37698..5ea196a267a3 100644
--- a/www-client/opera/opera-12.12_pre1680.ebuild
+++ b/www-client/opera/opera-12.12_p1707.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-12.12_pre1680.ebuild,v 1.1 2012/12/06 15:37:39 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-12.12_p1707.ebuild,v 1.1 2012/12/18 16:03:32 jer Exp $
EAPI=4
inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator
@@ -19,7 +19,7 @@ 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="ciw" # The key to the snapshot URL
+O_K="stndrd" # 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
diff --git a/www-client/opera/opera-12.12_pre1693.ebuild b/www-client/opera/opera-12.12_pre1693.ebuild
deleted file mode 100644
index 17490e84c331..000000000000
--- a/www-client/opera/opera-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/opera-12.12_pre1693.ebuild,v 1.1 2012/12/11 16:04:41 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="julekalender" # 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
-}