diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-07-31 22:27:11 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-07-31 22:27:11 +0000 |
commit | 9831607e361cb4365c2a162608ea3093d944f770 (patch) | |
tree | 65ca49849f61acc7717b5ed835a57d28a3cd0852 /www-client | |
parent | Stable for x86, wrt bug #418853 (diff) | |
download | historical-9831607e361cb4365c2a162608ea3093d944f770.tar.gz historical-9831607e361cb4365c2a162608ea3093d944f770.tar.bz2 historical-9831607e361cb4365c2a162608ea3093d944f770.zip |
Old.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-next/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/opera-next/Manifest | 28 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1467.ebuild | 222 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.01.1486.ebuild | 221 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.01.1491.ebuild | 221 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.50.1497.ebuild | 221 |
6 files changed, 10 insertions, 910 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index f89d8f29c0cc..473af0eec8f7 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.112 2012/07/26 15:12:31 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.113 2012/07/31 22:27:11 jer Exp $ + + 31 Jul 2012; Jeroen Roovers <jer@gentoo.org> -opera-next-12.00.1467.ebuild, + -opera-next-12.01.1486.ebuild, -opera-next-12.01.1491.ebuild, + -opera-next-12.50.1497.ebuild: + Old. 26 Jul 2012; Johannes Huber <johu@gentoo.org> opera-next-12.00.1467.ebuild, opera-next-12.01.1486.ebuild, opera-next-12.01.1491.ebuild, diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index 4bcb525f6601..fc7601987f3a 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -1,36 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST opera-next-12.00-1467.i386.freebsd.tar.xz 12616804 SHA256 8be4409dfd46c7f56169a920f934baefb60a3267f22cb8db4c0f6cc0d731b1a5 SHA512 573498ae9d85ca6ddcdeca055cfe4f1dc49a854234c9d5a51c8e108a67dea0c0411d907d58baebb310152745380874f58f10a85b0d147a2e99e8b8dc23d9e3ee WHIRLPOOL 57151fb3a4ffa2419ddc083dc355d57af606d6f4cf6c8ba69ef09e63fd472897e5f6318bbb8dd9d6184a2782d7584d55cdeb735f4a7320f26be8d64dc04d08f7 -DIST opera-next-12.00-1467.i386.linux.tar.xz 12643420 SHA256 fd6885f6f459da4405aec9f606dd600835034c69d6230845aaaa8035ce4c3fb7 SHA512 53fd47dd6262de2010bd3bd42cc6558dae4f0064cf9eb6da4ecee09733c339fc9efc6852ae11b3c783cea301a855f5f97401fdc7861c1e1d2f1d825bb1d575bd WHIRLPOOL 66e442157678cc5d2060412bf6aec7139182a8fefe8cf60a0a8bdefd5ff7b57585423a76e49e30f2c54ede7d4392d47f7315f6f8bfba892379426f55d8623ddb -DIST opera-next-12.00-1467.x86_64.linux.tar.xz 13742424 SHA256 9223cf80f3b7fd67fe1cfd5d989153bdbf77d5698df376e628ab3dc8840d4ba5 SHA512 b54d0beb189f4cf5b665ab8262150109c40bf61ef0e271a0687f36701072c437e09b4cbdfa6dc60855bb05ad9e6192754354cf3631da6b716e0627f409d21f19 WHIRLPOOL 4802168610b80dfc26733027125ed695974e0a118b6d49ba68f4b12f668bbb00d97bac53e67b4ba9cd28022553812c0a1fa602174d0cf519534b9e83ad133f80 -DIST opera-next-12.01-1486.i386.freebsd.tar.xz 12708224 SHA256 fe747ccbb19a22cf9f932b7d4f8d544f57d8e7e6784f70fdfc416f100128472c SHA512 fecafaebab9ef1c2c96eaa05e64d4c3b9bbbb4ddae6040e76c87851751c30d5fa8f29cde0068a6879bcc6f591fe28cb3a3ae972e71d9efb02a7864019f0cf3c0 WHIRLPOOL e0646bbd8af9e3827dd9ae329639185b7ca5fffd79355adeddfdebb6d741250597379cbd97487641e82f94f556de98350dc3cd9c1870c9cae6b5a7cb110c8bf0 -DIST opera-next-12.01-1486.i386.linux.tar.xz 12803096 SHA256 8e9bf72f35cc7179e990b54f28493429c228bb3825df4bfb67cff6c7343f8ba2 SHA512 0ebd200c2b033b40ae4d9cb0c3e473b04eb8502cb364b02ce0715c844e460f4f436bcbd0969a6bbd999d17970fce8ee3e1fae9821aa718747e6590218bccd435 WHIRLPOOL 95e2ec1e05d12cdc209ac56732273baa803364b8b340ad4eb8f8dac58d1fae446f3e756f73d4511f585937edc0f5743b12e94f96f2b9dbcbc92696e81b933375 -DIST opera-next-12.01-1486.x86_64.linux.tar.xz 13225104 SHA256 f1f7ba7c3c203dae6cd6677d6fbf4acaa05fbfef8d93dfc9fd2864460d4e8874 SHA512 d57049af0e86aef5dcd1974a88bf9f7a0dc85461e250ebc1baad2a44d14ac884585d8c8ee590d5e09f71ec3c9c047a2385e8eac387a0e29e39d5b9a4ce2b1c38 WHIRLPOOL ba8c4e4a861d5370aa175e0f380a7084ccf9732ac22898ff7b367bf1ab82ee23dbefe0977c7f3f9e08ad33c0031bfed3609110de190a60cbe999de8f5ee5ffab -DIST opera-next-12.01-1491.i386.freebsd.tar.xz 12712128 SHA256 d84c7f68b393c92130645959435a1f386a58376a095a3d5fbe74da59d6ffe9d8 SHA512 d488c546dc278a00227bb59eb803bcf855ed0e81e540705647d3a7a8434bd2d0602c88b9443ab45c33f9635d47df1db4ed27734f3a9d055bf21bc3d0843e678b WHIRLPOOL a1b1cc1234a769b98d678cebf6b049709a364755de4e5bb96192d3e0c2b1f04fc4b5f8801bf8c6f79625fda263bfc9274ea0e0e6e4c3a6e0b4e828fd0e60a2c2 -DIST opera-next-12.01-1491.i386.linux.tar.xz 12804432 SHA256 597b6dc85f90db31e84d91cf1ca94157eb01344b599a1733779fb909af633b05 SHA512 543c3ebce78c20113721b772b6f3e012ef5ae55dfec2ef24920e0595a12b6f2cc4cdddabd74a4c3ef09488a5675f9d84a09b929031c1d0722f3226e70661dd8e WHIRLPOOL 68ab3f1d55ad081c5e096c78cc0c4661c3c5f4e3ce19099db6b828f2c4ca3ca36779a91fffde1611546c1a856ab415959d09d2f60a0a56fb4de8aab15fadc2fc -DIST opera-next-12.01-1491.x86_64.linux.tar.xz 13225188 SHA256 c2244cb135eaeb6f88d3d716a600f70ff87a35f2cd2191bcf0e7f1bf1c135c95 SHA512 c862fab80a8f4d0fba5d4cc6159390e3bfa947faec92507cda8d99621589c835529781a2de58afa8f75b692647e215081075bd780f6445b6391125dd911228ca WHIRLPOOL 61bb7b19598d9c8899bf55f36b774974ffadf0ed2527d9eedd1080d866cbb58ee3fd257c26b40a2da7605163c7e19f02d510c2cd1d7dcc19a5fc7b4f238de71c -DIST opera-next-12.50-1497.i386.freebsd.tar.xz 12775172 SHA256 26f44c48d36f012e42ccf6ba90a29a66139f027bb3f4ef92a6f9bdc042a3b846 SHA512 dab09fb35ab5d1feb27b149c3f1ba4f1403cccc7adb8acc0b7f4af4af94b62a94ff9f5073ff2554ef95d32ac42dd8a9d82c3ce88e50a9c4844a1fb76757852f2 WHIRLPOOL 56348027f7b3f676124566adcc09e8e5710ad8ecd46d9c0d62eb24fba7a977e5de27e6b3898af6ffc1d3e7a88694c1d0276bb30f858a3e63baf516b8705445e1 -DIST opera-next-12.50-1497.i386.linux.tar.xz 12864228 SHA256 04124701e225fdcd20aeb7f1991db19730f3eb7100105f59de924a542c61e6b6 SHA512 02998ff2f4fd87b2151d897ee2082e26d60ffbddbc2d16d6ea347a6be5dec756e3a2e08e1d6bd34dc977c50bd93cb57cc7e9c34cc01755358973314ddff8ac69 WHIRLPOOL 75e566b9e94c5c88cfe8388cc38e37c67b3a6e048c86feffd918dd8991e8d02d7fe43edc01cabe5868f8054c90de93682c162a8e82e0bba0c898cf47e5ba1c34 -DIST opera-next-12.50-1497.x86_64.linux.tar.xz 13284688 SHA256 6f6f4807cd248d9c5530c9a99e6c15f4b94fe61b9de5efea09af09680b86f364 SHA512 98e8dc68b6b805892bb47a9221d23ac3fa3e4236aa4eec15b4e51eba2232f0d61cd413f8e5d7a485eb9377aeafdc2cce753b6695256645dee2578853fee958c0 WHIRLPOOL 337bc54ce3f0ce7f52b59ae57672f2accb54dc85ba80422950d1f3bd4fc4553d9603c97ef826def5beda30d60b02b108f8c9c624a926f18649ee2d4fe1ad063b DIST opera-next-12.50-1513.i386.freebsd.tar.xz 12779056 SHA256 f4b03d02d184efbab7b62e0637bac16df73524cdafdf87bb4f1785524ddc4fc5 SHA512 6c3460fc70a7eee62350d39eea5f96b0fd462d1fb0a01c9e1c09d7993acb6c72ea3d19b7a0d9ef310d2151be5b3f423cbfddbb489f2a3c6a888eb42de7521649 WHIRLPOOL 2c49040821cc1fe7f03feb8efacb23105d7c865913dfe5f5d08cb3b7feb4f1bcac1795ac1bc2301542ef5006aa04bc1526d9f5a8b7a302fbac09ed9fb462ec53 DIST opera-next-12.50-1513.i386.linux.tar.xz 12865388 SHA256 e6156413a740763eac58834ae19ff1537338a8e843ce0aeb82a5de94982b9e65 SHA512 7a9337d85af4e72361da3c6dd774c11395d32db575f8b6fc917834c1ea68b233ec303df4a9e6c46971f0d72083e2e275b4f0254cf6950531e887d47a41c947a9 WHIRLPOOL 55cd1c4a39de36356a2033c2eed2d263a75899157344e88c3a93b74b21091ea91769861309c7b924d3bfae1d71b45e56d56599de18f355cdcac39c698c5f1dd7 DIST opera-next-12.50-1513.x86_64.linux.tar.xz 13287148 SHA256 5b9f9687ac14232568fba9f76b9a4538406fe6e914406e609ccf9a5ccd21b67b SHA512 e87b59954ed1d4d36bcc1ac2cb5f013bebb51ab679b393540d693af707a2970d98bb88e3b5f3ea7a6da2331deaabd3d09acf047cbeb6c0b305ac6a08ac20e253 WHIRLPOOL 1bd6cf25ba64f9641e95d9deb05130937b978243fb2484e42a1d20acd459cc78274edbf226010c57bed16668280c978c182d91b093abafb74542cfd6af07b9ad -EBUILD opera-next-12.00.1467.ebuild 5572 SHA256 b9178894390ab4ad10ca2857803b5278131a2851b156fff060ade1d4fe105530 SHA512 0b9dbbb113f288536d19a6eb06d743dd92a5273697d3aa1f38a850c1e0a0cfbf24335354c5a935bdc833ecb68d82d41184af662646e8932a48627b87b38c87df WHIRLPOOL 57f62ce658bbd1d5ee00e323f1fcf80212f5d877d52deb9a3808fbc9bee02ae10f789182f5cfd1f8dfc1a8f769037bf1de6af9a112a84ba028c5f3860c4017a7 -EBUILD opera-next-12.01.1486.ebuild 5619 SHA256 a179479c7cec88620683f6b2a621aed2d764f8a52c11c05727ca42bd02390792 SHA512 d66ed1b22607e0039d70e1b6c5b1108e49c3aa27c921a97ba485ed8c53c214dcc124bb84fe316491e3e4773639c8fd3ca77fa1d918b355a8b6872353ab024798 WHIRLPOOL dfcadeb7332216acaed29eb414d80ae164f92f11037cf8e905059c221fc9248e14a0292e5136c26effc735ecd1d313a12ddc4399435376d9a01e6f610212b5ce -EBUILD opera-next-12.01.1491.ebuild 5617 SHA256 15fef4d4cf12f76747fd490c8e8eac17ccf2e471bf4f0da4ea9133759a59f40b SHA512 22abdec2a496dd8372f32279a4e1ca9a7e8fe822f2a2ec49f268f71824e4fb56b3933d81c131442a6c76f7460457a388cb27ac7c2022dadb3e15d8127979cac4 WHIRLPOOL 9cd58945de8a3715d9a113b09882fdbf5d37b72a0070470eca301fca22180ca771352eb8fa2cf4446ead8003e6eb5e12ff1b4319c5c86b67b78d920884e07f25 -EBUILD opera-next-12.50.1497.ebuild 5619 SHA256 a3990074463b6b4e67ceecad862145e02b5a99f2e9a7b86f03f124c79f48639a SHA512 dbac775de8fb448b34798916e9ba2905aef4a1f79ac8e98d821cf8a3edfa9d3e88ffc137b7853cc1d3f2b7ef7bf3f11842fcbed81f61f24f44808f457f247481 WHIRLPOOL db3f3d0d57dc993faf805cc9dc7ba90cd30dc82b46be944cef3557eef53b62e51cf091290b989f3541d5030e5b62394407705df55c082e2d3480e36294424521 EBUILD opera-next-12.50.1513.ebuild 5620 SHA256 64c41217391074568d9a29bf0287ccc98f17843be4363b9da5033eaa9046afcb SHA512 db25c2c69dc7184ba882dc4a4a7efb8c1e3f38ee733cecf0e5e21e6fe93b18b6970b8a90a9bc614269076301ff6e02281f9c347c6708f07c5e064e51a86e8583 WHIRLPOOL 708cefb2e89b3dfd2c1c0be5740da319eb5e531aadd62a7162581ceb5def8a749d4beee555f6ea370f8d0fb66aec723244b30573b50c5921ec499701c03dc249 -MISC ChangeLog 22987 SHA256 98b6adc9f762984219485cd249cf326b27885df8a8b21112ba46c9544ecea331 SHA512 4961ab0c71a96c8d351aaccc6f7af3c7a904ad17a9040827d9eb02de786ccd41170e5948bb684a3818f10fb5e6d981b7d22ff6f3d1ee54274d19e91c9f1b3f16 WHIRLPOOL bb87bc6452e4ff3a6cdd86d5b6ae56da4701ac42d2270e212c8cfd0f3efa4a9b047b050ead47cb1f8062c4287d479bea14ca7231e1194d6aa391e4c2afe9d58a +MISC ChangeLog 23169 SHA256 785013184765f6f38cfb5896ceb36e1de11df71c1001d7633816293b4fe240cd SHA512 133147fc7d04d4f627a37f0404e2215141b72516fe03943cb38eacdc10d655a88f03148f54c2e899fc140579248f356a8774ac27ec3d9161171e5ffb7c6325d1 WHIRLPOOL 2eb9d39434b1d82ee565748d3edf6714572b5d92501485dd99d7e95d9a7638e4be0ad16e9a426924bf482549c12a1cd130a6a51b8f2299a4bc978c90727a4d98 MISC metadata.xml 1523 SHA256 425b559a6232d98e76a1dd960c7518aa27509021792868ffe3bd6928ec18d68b SHA512 b2d0a81b199eab70512105df691525d969865950e16f0f3646c1ef5307177391d34d157b02436fe6d156431b6727e4bb07cb7210e03a284abb531d22c8f723d7 WHIRLPOOL 7bbb0acf3ea48057939f6e652c2112d2a294030109bda2b0bab114a8922ecc67a5b9f807530ff0a2854225ad09dd98e90e3e8b510109b403cb51c1bf405f6d3e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQEV5fAAoJEO+t9ga+3I3auAYIAKRF1fygTE4quDklzn7ISZg0 -HMxt33H1zq6tnkFu5fKcR6ES4Va4R3GJiM6qjQo+jsIoRUuwtkSnQ0+L+b45xgl1 -E1zFqeenGTlC1JMoWAav4i4wJYp7/P4waamovcmPqMEFyQmnfR6b0ySL8601Q4JE -h9h0vXOX6aDsaY++cVcT40pJOxCks5goDlDD3SvMZya13lIh6CeBRpHn0m/gTNc8 -gF9YnQpNpnCjXqovY0genYgG72Ekm9nf6qH8m5dAsa9ZuXWYL/h+QXb8B9hveLTV -gkoU0C1TumsfPbJl0xmL49W78Xn+qQFyur69KOHWV3xwHRdYtbVxdsaZ+5pmDzY= -=V/k/ +iEYEAREIAAYFAlAYW8UACgkQVWmRsqeSphPs9wCfVfGVjbo9DuJ3EeVK5muRqRSl +zqoAni4AYruqvKbE+mmLlz7lVNkHqYqc +=5Sd/ -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.00.1467.ebuild b/www-client/opera-next/opera-next-12.00.1467.ebuild deleted file mode 100644 index fe0d780e3aee..000000000000 --- a/www-client/opera-next/opera-next-12.00.1467.ebuild +++ /dev/null @@ -1,222 +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.00.1467.ebuild,v 1.3 2012/07/26 15:12:31 johu 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-11 LGPL-2 LGPL-3" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="elibc_FreeBSD gtk kde +gstreamer multilib" - -O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00 -O_B="$(get_version_component_range 3)" # Build version, i.e. 1156 - -O_D="next5_${O_V}-${O_B}" -O_P="${PN}-${O_V}-${O_B}" -O_U="http://snapshot.opera.com/unix/" - -SRC_URI=" - amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) - x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) - x86-fbsd? ( ${O_U}${O_D}/${O_P}.i386.freebsd.tar.xz ) -" - -OPREFIX="/usr/$(get_libdir)" - -QA_DT_HASH="${OPREFIX}/${PN}/.*" -QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" - -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 me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr - sv sw ta te th tl tr uk ur uz vi zh-CN zh-TW zu -" - -for O_LINGUA in ${O_LINGUAS}; do - IUSE="${IUSE} linguas_${O_LINGUA/-/_}" -done - -DEPEND=" - >=sys-apps/sed-4 - app-arch/xz-utils -" -GTKRDEPEND=" - dev-libs/atk - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf - gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) ) - x11-libs/pango - x11-libs/pixman -" -KDERDEPEND=" - kde-base/kdelibs - x11-libs/qt-core:4 - x11-libs/qt-gui:4 -" -GSTRDEPEND=" - dev-libs/glib:2 - dev-libs/libxml2 - media-libs/gst-plugins-base - media-libs/gstreamer - media-plugins/gst-plugins-meta -" -RDEPEND=" - media-libs/fontconfig - media-libs/freetype - sys-apps/util-linux - sys-libs/zlib - virtual/opengl - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXft - x11-libs/libXrender - x11-libs/libXt - gtk? ( ${GTKRDEPEND} ) - kde? ( ${KDERDEPEND} ) - gstreamer? ( ${GSTRDEPEND} ) -" -src_unpack() { - unpack ${A} - mv -v ${PN}* "${S}" || die -} - -src_prepare() { - 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 - einfo "Keeping these locales (linguas): ${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 "${D}"/${OPREFIX}/${PN}/opera* -} - -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.01.1486.ebuild b/www-client/opera-next/opera-next-12.01.1486.ebuild deleted file mode 100644 index 960ba6d21169..000000000000 --- a/www-client/opera-next/opera-next-12.01.1486.ebuild +++ /dev/null @@ -1,221 +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.01.1486.ebuild,v 1.2 2012/07/26 15:12:31 johu 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-11 LGPL-2 LGPL-3" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="elibc_FreeBSD gtk kde +gstreamer multilib" - -O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00 -O_B="$(get_version_component_range 3)" # Build version, i.e. 1156 - -O_D="flower_${O_V}-${O_B}" -O_P="${PN}-${O_V}-${O_B}" -O_U="http://snapshot.opera.com/unix/" - -SRC_URI=" - amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) - x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) - x86-fbsd? ( ${O_U}${O_D}/${O_P}.i386.freebsd.tar.xz ) -" - -O_LINGUAS=" - af ar az be bg bn cs da de el en-GB es-ES es-LA et fa fi fr fr-CA fy gd he - hi hr hu id it ja ka kk ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr - sv sw ta te th tl tr uk ur uz vi zh-CN zh-TW zu -" - -for O_LINGUA in ${O_LINGUAS}; do - IUSE="${IUSE} linguas_${O_LINGUA/-/_}" -done - -DEPEND=" - >=sys-apps/sed-4 - app-arch/xz-utils -" -GTKRDEPEND=" - dev-libs/atk - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf - gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) ) - x11-libs/pango - x11-libs/pixman -" -KDERDEPEND=" - kde-base/kdelibs - x11-libs/qt-core:4 - x11-libs/qt-gui:4 -" -GSTRDEPEND=" - dev-libs/glib:2 - dev-libs/libxml2 - media-libs/gst-plugins-base - media-libs/gstreamer - media-plugins/gst-plugins-meta -" -RDEPEND=" - media-libs/fontconfig - media-libs/freetype - sys-apps/util-linux - sys-libs/zlib - virtual/opengl - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXft - x11-libs/libXrender - x11-libs/libXt - gtk? ( ${GTKRDEPEND} ) - kde? ( ${KDERDEPEND} ) - gstreamer? ( ${GSTRDEPEND} ) -" -src_unpack() { - unpack ${A} - mv -v ${PN}* "${S}" || die -} - -src_prepare() { - export OPREFIX="/usr/$(get_libdir)" - export QA_DT_HASH="${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 - einfo "Keeping these locales (linguas): ${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.01.1491.ebuild b/www-client/opera-next/opera-next-12.01.1491.ebuild deleted file mode 100644 index d7bd18fea03e..000000000000 --- a/www-client/opera-next/opera-next-12.01.1491.ebuild +++ /dev/null @@ -1,221 +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.01.1491.ebuild,v 1.2 2012/07/26 15:12:31 johu 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-11 LGPL-2 LGPL-3" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="elibc_FreeBSD gtk kde +gstreamer multilib" - -O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00 -O_B="$(get_version_component_range 3)" # Build version, i.e. 1156 - -O_D="1986_${O_V}-${O_B}" -O_P="${PN}-${O_V}-${O_B}" -O_U="http://snapshot.opera.com/unix/" - -SRC_URI=" - amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) - x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) - x86-fbsd? ( ${O_U}${O_D}/${O_P}.i386.freebsd.tar.xz ) -" - -O_LINGUAS=" - af ar az be bg bn cs da de el en-GB es-ES es-LA et fa fi fr fr-CA fy gd he - hi hr hu id it ja ka kk ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr - sv sw ta te th tl tr uk ur uz vi zh-CN zh-TW zu -" - -for O_LINGUA in ${O_LINGUAS}; do - IUSE="${IUSE} linguas_${O_LINGUA/-/_}" -done - -DEPEND=" - >=sys-apps/sed-4 - app-arch/xz-utils -" -GTKRDEPEND=" - dev-libs/atk - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf - gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) ) - x11-libs/pango - x11-libs/pixman -" -KDERDEPEND=" - kde-base/kdelibs - x11-libs/qt-core:4 - x11-libs/qt-gui:4 -" -GSTRDEPEND=" - dev-libs/glib:2 - dev-libs/libxml2 - media-libs/gst-plugins-base - media-libs/gstreamer - media-plugins/gst-plugins-meta -" -RDEPEND=" - media-libs/fontconfig - media-libs/freetype - sys-apps/util-linux - sys-libs/zlib - virtual/opengl - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXft - x11-libs/libXrender - x11-libs/libXt - gtk? ( ${GTKRDEPEND} ) - kde? ( ${KDERDEPEND} ) - gstreamer? ( ${GSTRDEPEND} ) -" -src_unpack() { - unpack ${A} - mv -v ${PN}* "${S}" || die -} - -src_prepare() { - export OPREFIX="/usr/$(get_libdir)" - export QA_DT_HASH="${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 - einfo "Keeping these locales (linguas): ${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.50.1497.ebuild b/www-client/opera-next/opera-next-12.50.1497.ebuild deleted file mode 100644 index c2047872f5a5..000000000000 --- a/www-client/opera-next/opera-next-12.50.1497.ebuild +++ /dev/null @@ -1,221 +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.50.1497.ebuild,v 1.2 2012/07/26 15:12:31 johu 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-11 LGPL-2 LGPL-3" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="elibc_FreeBSD gtk kde +gstreamer multilib" - -O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00 -O_B="$(get_version_component_range 3)" # Build version, i.e. 1156 - -O_D="marlin_${O_V}-${O_B}" -O_P="${PN}-${O_V}-${O_B}" -O_U="http://snapshot.opera.com/unix/" - -SRC_URI=" - amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) - x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) - x86-fbsd? ( ${O_U}${O_D}/${O_P}.i386.freebsd.tar.xz ) -" - -O_LINGUAS=" - af ar az be bg bn cs da de el en-GB es-ES es-LA et fa fi fr fr-CA fy gd he - hi hr hu id it ja ka kk ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr - sv sw ta te th tl tr uk ur uz vi zh-CN zh-TW zu -" - -for O_LINGUA in ${O_LINGUAS}; do - IUSE="${IUSE} linguas_${O_LINGUA/-/_}" -done - -DEPEND=" - >=sys-apps/sed-4 - app-arch/xz-utils -" -GTKRDEPEND=" - dev-libs/atk - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf - gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) ) - x11-libs/pango - x11-libs/pixman -" -KDERDEPEND=" - kde-base/kdelibs - x11-libs/qt-core:4 - x11-libs/qt-gui:4 -" -GSTRDEPEND=" - dev-libs/glib:2 - dev-libs/libxml2 - media-libs/gst-plugins-base - media-libs/gstreamer - media-plugins/gst-plugins-meta -" -RDEPEND=" - media-libs/fontconfig - media-libs/freetype - sys-apps/util-linux - sys-libs/zlib - virtual/opengl - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXft - x11-libs/libXrender - x11-libs/libXt - gtk? ( ${GTKRDEPEND} ) - kde? ( ${KDERDEPEND} ) - gstreamer? ( ${GSTRDEPEND} ) -" -src_unpack() { - unpack ${A} - mv -v ${PN}* "${S}" || die -} - -src_prepare() { - export OPREFIX="/usr/$(get_libdir)" - export QA_DT_HASH="${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 - einfo "Keeping these locales (linguas): ${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 -} |