diff options
author | Andreas K. Huettel <dilfridge@gentoo.org> | 2018-01-29 15:29:40 +0100 |
---|---|---|
committer | Andreas K. Huettel <dilfridge@gentoo.org> | 2018-01-29 15:45:38 +0100 |
commit | 8859770ea5961c5653eb288e45a57e7f1742e6f9 (patch) | |
tree | 0e84bd5847f805a11570b9f5644e7afe716f1e98 /app-office/libreoffice-bin | |
parent | package.mask: mask new LO-bin for old hardened profiles (diff) | |
download | gentoo-8859770ea5961c5653eb288e45a57e7f1742e6f9.tar.gz gentoo-8859770ea5961c5653eb288e45a57e7f1742e6f9.tar.bz2 gentoo-8859770ea5961c5653eb288e45a57e7f1742e6f9.zip |
app-office/libreoffice-bin: Version bump
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'app-office/libreoffice-bin')
-rw-r--r-- | app-office/libreoffice-bin/Manifest | 12 | ||||
-rw-r--r-- | app-office/libreoffice-bin/libreoffice-bin-5.4.4.2.ebuild | 255 |
2 files changed, 267 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index 39d3a7f27037..72655b664d94 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -1,24 +1,36 @@ DIST amd64-bin-libreoffice-5.4.2.2-r1.tar.xz 75362012 BLAKE2B d217824ed319df6b3e9b7b772f9f131141674e0cfb6c2e0d860ab2b62e30438f7b7a1a5f987affd5fed9cdd5009fcdf7638ecc268775d9ca0f48dff73a7061df SHA512 a28f64b8e1c5e2b7ddc204227bf7e49b929199b818fa8ee830f0b95d23b5fe2d088ad820696b23a45202e600f7be9c3edda901f475c106df4634f8cd47a159d1 DIST amd64-bin-libreoffice-5.4.2.2.tar.xz 76103708 BLAKE2B 289b0fa454effdf4ad9a8bbeec633d2592f547f6907eb9c814e32c1ec25a45aff72ade4b84294d8c0960b3385a945e030ebd15306f6c261c414a8eb42a50d83f SHA512 ac577138f065ad8699b26743b905c7b94b4875eb45fa3c9a580410d2e587519df01de7669c0f6c1baff879b879f41140be4fe844174037dd89bdfa10eb0c4812 +DIST amd64-bin-libreoffice-5.4.4.2.tar.xz 75454500 BLAKE2B 0708d66535d15efd044837a3dc978bd564fb8716cbd212a95f70f63185f8dee1c56ac1d01a6fcb4d188762ac16dbb0353dc64f08bdcd75edbd93b83df5c885d2 SHA512 5e4c2c36c16419def7385d1bffd712e437c55217e645c2ffee69a385a57ab3f4704df58449b8b793a5567c3c3313aadd6fa8b3a5671efb2ce03ea5b16eb0c677 DIST amd64-bin-libreoffice-gnome-5.4.2.2-r1.xd3 16337443 BLAKE2B a784e90e24987c09122ea44e59aa44f9d3730c4aae6498da934518ddc0ad708fb3fbe7c64c32041616b4d04dd45281e7c618769cbbaf1ae7385f5a7055a5d464 SHA512 8a35544616ea145b2862e9b9fefc54f55a9f2aedeb98cab691f37d3a308dff0b7a92a46068956c7e3b26ce455bdc7744720d24db990615bb19c1a0377015dd04 DIST amd64-bin-libreoffice-gnome-5.4.2.2.xd3 17096769 BLAKE2B 7d91c62ef0f10b10758de63a463ac52350ea8cf2f426c6d52b4c7fc9edca4ca615be7d9ce8481d78031b3a40f38653ca3e5bb9267097d921055c2a18e78f2eff SHA512 079141e1ac63a228682b3b3f204fca288285fa2064841d66a0eab4cbf36e743a402e7d85129ab5b4f3b60f023ca1f04217529ca78ac6f40ebeb08933f59d75aa +DIST amd64-bin-libreoffice-gnome-5.4.4.2.xd3 16217377 BLAKE2B a3f59c2ccf7559ebe6854a3db529e6d3dd3b9328690291bfa110120d7139f5ba219f0b79724d634515b8e057c21af1f34a94854aa992a2d42d0088f04d076a55 SHA512 214b2d6fdd90767ba0cef83f089f63841de78d661fee8c979cd7278745f7ea7d831e5ae58605b3066467ae9e2c045829fb68c69083cdedae21a6c863cdad93ad DIST amd64-bin-libreoffice-gnome-java-5.4.2.2-r1.xd3 26558117 BLAKE2B 2ee08980b53314b0570a96f4bb76f8d61dd7c752348a0ab626ce5fb732f1c44319c64af9a595183ed13df832958266b4c958995d9253a1ac172b6e90f42d626c SHA512 dd8004642025a958a213dc767e4f73a282710fcc2ed3c2b8e0622ce8aa7833d466962d45016e81fff71896a7148ec8cb1447b3df77c4e6547279c109e1f4241e DIST amd64-bin-libreoffice-gnome-java-5.4.2.2.xd3 27455524 BLAKE2B a2271382f4c8e533467f4cc8158a2fcb4996c387012f016f1ffe1a82d5b1e7fd9b81a3ce078cb470de1a38094b8e64a0f8fda6b1ca349bbb3c97d14fe16043f4 SHA512 06a03f256ab45087706bf51999dab4e4185ee55c9d28bbf60c438ae71789b84fdded9614713afdd3b83c7bbbc72cc80747a7d41a633bd606a00715079c85f97c +DIST amd64-bin-libreoffice-gnome-java-5.4.4.2.xd3 26624490 BLAKE2B bb3a9534f57e036a2463a8eaa39b659c29d2cc38c43cab64d2a30dcbbca52507fc25d266a2e673827125252276087f5479300957a669a3dba4cf6e0a06865fcf SHA512 9f44171a3516b1fbfb8bf00f12d4e8d3c2ddd5dbb2bbf01df88db582dc155df35304974219e74df09052a3ed6b89638b845fdf79977bc910c9ede082c08d560e DIST amd64-bin-libreoffice-java-5.4.2.2-r1.xd3 25596784 BLAKE2B 493066f074077baeeb991935362291599db567e4ec4114ba78a733e89fdadc810cee607f77529f2543cba767000cc26c03ea9238ba892f4dea50374b6af98a04 SHA512 f25ddc420a63a8cb3fa89104dc875898b73c3be48936b0c59c34a4bec4ce574ab36e0ea5f4c06fe824b50dd15bd9c301ac181ead095d6bebb676e1255880254e DIST amd64-bin-libreoffice-java-5.4.2.2.xd3 26415061 BLAKE2B d7583a90bbec71436f9a66f6effe09131c9f89193eb1d1618cc890646f436b956e0e5952da9f6be6629dea02a35ff08caf7563318d14a3331e35c47f3edb5928 SHA512 e73c8710035337a5aaa07c3751deec9cd842dda61c5fefb9f3f63cb5b79b47f643f87e2559605855f5970daedf78ea2f5788d82351e623b86c909d90576cbb50 +DIST amd64-bin-libreoffice-java-5.4.4.2.xd3 25742615 BLAKE2B 4391bb0190badd18be15f1d48549484bfa77bdf93e04a988aece08b13f8eced2ebe568128b7baaaf01e23918db3f35c14ca03225dc690e3f4b76e00a51b88ea4 SHA512 131707e35b2a899904595c8d76c9d12f9d38f08c6d0209b5c4d4513f9892189a337d660f4816548b5d9ea69b93dc61cff4de67f220f801f8f59f95dd00f9d13b DIST amd64-bin-libreoffice-kde-5.4.2.2-r1.xd3 10234903 BLAKE2B 633e27bf7992ea7735680e33f22a2a1f6af84fd538999cf4cd98362ebfeac214c897862d5eab5f3644cb3e23ab640d6ace23a5d63f1c4db1452113808a66724c SHA512 07010c1e1370a6d3a375fafbdcd44496f34abb06c8bfa949eddbafbd85dc0d548ce43668b1c73e4cad2735564607454bdbfb893f48e76619b33f61f24439aa25 DIST amd64-bin-libreoffice-kde-5.4.2.2.xd3 9501055 BLAKE2B 3f98ee516ecdd506fb6a03506ce2dca9e9b93438f4287aec84bf29c729aba76294b6721f84fcc38f0ddad373a2a0780697fb3ee000362a4ce8aed9e7ad150a1e SHA512 f9f144971f7b1619b7124f68f0c5591ff440d891233662985c659dcf98c8ba93738f28a9c70c11f83e216f3488503e9b49b359eee44989e85c754b061147c575 +DIST amd64-bin-libreoffice-kde-5.4.4.2.xd3 9224240 BLAKE2B 594c2a77d8bea9657b90bbe4e44ccccbf9830f548fd16b67092e08c8403128b9ca430979033400b56349e303e5db414b5b761fbbec14e5f9619e7553b16efe5d SHA512 43e5c876e19b1d3e292048dfdc866c5449253b2f178f0c9838b95e5cd07cfccba6220276a4c5127191d4d503a4ee1f292e14c8d027102ec9d77053016f7cd9dd DIST amd64-bin-libreoffice-kde-java-5.4.2.2-r1.xd3 25826013 BLAKE2B ad18ba2ae78f6973d98816680804da8d838cf22567759fcf9536d42ec526e252e5ae47423f37ee5a68eebbd3471263417865f51b0b0c0dcff70e3e0abf7fe5fa SHA512 c80fd243aa8150ac69d8f9ce1ec76f32a7873aeb3d93e73841d34ea7c87c3afff07a414029806419b5fd99345a94769de40d4cf0d89b56960f14fe6d247c5c6a DIST amd64-bin-libreoffice-kde-java-5.4.2.2.xd3 26621192 BLAKE2B 5d9d6ceac4bb7772bc236ee44f0d602cc555626bab8cd89f4bc9221d16beb3d44469ac47e9a4a20dcb670ad87cf4bae895bcbae19f0c9161736045f9d05ff381 SHA512 883a897357cffef3f37961dae7be10d1d47093762a842cbd775c6a14b202fe5c9a2cf8878ed2d9587c511c1d427ce20da71ec3b21da6f7bf4f22fd5169ebbff2 +DIST amd64-bin-libreoffice-kde-java-5.4.4.2.xd3 25847518 BLAKE2B c11bbdf6bd2c24c6f1a7133147f573439e7ecd902f876a31f8c29c0a45a4f27127e2c16336bfcaab763e749d3bb646723b8799d67fb01680a758f0faf83aa0e1 SHA512 859533f4c44f569652beb477c0bbeb44a52fd77a3c6b8d7b1b63c655b611a06c2fa1870ab77cd8a853cdd190d8562270598dfad4c236529af62fd4d796c94d30 DIST x86-bin-libreoffice-5.4.2.2-r1.tar.xz 77497504 BLAKE2B f4258171c91144f7a96fc4c3f885337ca2f8614d2f1619c56db9f18bfb3e0d9f932c151bbf508b34755a390e5f61c62f5b564e441d4d328b1a2699fe1d60d717 SHA512 f670737962b667782542aafe5956dccec5bcc82e0a080311dade7565b8c702ae020c4ceaa917ac22135d5c57bc021681521e6d5863abf1adbc9789d25c36a186 DIST x86-bin-libreoffice-5.4.2.2.tar.xz 76197244 BLAKE2B d14cd52d70649a7d96348734ddf34796ae4e1612eb8965c1c294fa6c5dabd6b39d3d3c34345d4d8300f71917cb74ea5f079ed258c09f6f7198453488e3539967 SHA512 3e6a04ed0febacbdf78d0514df1d863196463cf777a646a5f33afb6ab3cdfb9f27245d4e362974f2112b484c29c810c2d563d5b57894feb603d9a4ac8ea19b5d +DIST x86-bin-libreoffice-5.4.4.2.tar.xz 77651884 BLAKE2B eea6e1546fb53411aacbe43878ab5194855dc46371ab94c8e634b70d1ee5a2c9b1efbfe06168b02064efeec80916f3c5e53adb5b71557dcf5c8b5288b1db1951 SHA512 4ba93a809288fbc33e7551a1f746191787efae9be3beb41fd4d0285da8de7aa0cfe509b20aa1699f10c211a0ac796d49c8bceb0459ecf9fbea9c67cc0caa74a9 DIST x86-bin-libreoffice-gnome-5.4.2.2-r1.xd3 14217445 BLAKE2B e952d53d749bbc78c67c1f987ea6ad48e1c0d345d36d092106798dded817f3625b60bcdc23998eea01bacdfc812a9175c18d4980ae47fde907cee595702e91b8 SHA512 568a176241b4d52d3872a3ed6e5004ebac5fbbc0561d1768b7990cf98c0172126e41e0f66febf6860262d9ab060952d62d40ad3d6b72e23b848e0d68d76ac907 DIST x86-bin-libreoffice-gnome-5.4.2.2.xd3 14720380 BLAKE2B 4790acfe2bc37c41597300e7283b1157e2047e5fb4c6e865f23e5494b9e7f35dc337d806702f8fbfc5a5c20ae63834e0c12ba2992a6471d3c105ee32417a593c SHA512 b73e6da0979a78049f1563a0fe61764d7b97197d27a307579b76639d881952a4dd656a49249351c172ef45a488291ce3a4f60879f9bff473df6db22ae598abd5 +DIST x86-bin-libreoffice-gnome-5.4.4.2.xd3 14270348 BLAKE2B f2e4bf463dc53e0919ae561369b90a675d11cd65ca06500917b611f7e6e4fa4b21d0f03e22800124598a3b8322990a31572ef41605b81657446e40c606f9bc60 SHA512 6a30c9efde0e37dad2858e4239c53fa592b8d8f4925f8548e07044d65907aadb0b7a4b4a116e8da1f030ea677287aab96481b968cbe0e37e6a1b81c28061b98e DIST x86-bin-libreoffice-gnome-java-5.4.2.2-r1.xd3 23765116 BLAKE2B d01b9c2f9eb2631a60d57c28de5911140a410bb96088bceb0a1c23d79ffa1565f87ba17f000c0111594551d3fb65c32dbdf5909f85c2edb661ac362664612da0 SHA512 c11f03628b9886d40ca8e4564c2d758ad71a7fcc5058cfdb794c3280b0f86d247e59adac0d8865678553f58b216cf6d12cd13de778d8b9e564f25d057a0e07d1 DIST x86-bin-libreoffice-gnome-java-5.4.2.2.xd3 25943139 BLAKE2B c1a76a8b1c10d8fdef90599c55fc566708877e245007959d5baec5b408bfbd74652acb61528bc13d795c8fc7ac1cb47c7ee99a8b0d127fc575e3d49fcf26cb2a SHA512 38de8628272f7633c9e1c32dc08161ecb40ca824bac433122f45d696b1d89376fb6a5843c125295f66e00f61c354da223b2cebb2683f0a03d38b6017b002f7a8 +DIST x86-bin-libreoffice-gnome-java-5.4.4.2.xd3 27065101 BLAKE2B a3c58647c6d2d0f8dd3d32fac9e1ba7967c41fb425b1a2104c92a223f4c7f301a9f9fed842a5a9ca31801f882d8fc0b702ff7b6c7cdcc742aa4ec9c716b5798b SHA512 ebc2775a379843daca4c9e273e2152f84a7b04ab542cf39394c6f2b4650a758f570baaebf3f49003a45cd06c60e6bce65782217836e8132488c49eef7c9205d0 DIST x86-bin-libreoffice-java-5.4.2.2-r1.xd3 22549416 BLAKE2B f1f1dfd68af16cfc3be1727bf223c8bcf3945045519cac1515a22dcff7d8304831917d610be4f269195238ca903d9150abe04df7e71b9f5149cb0dd78dc47b53 SHA512 2d8e4324bc588d6d9950daaa1d85f02580ced2c743326c656a1ef04aace957b2999828d607126bb4195fbce1f6dcd2dcd70da48bf6c5e6f889b641905e9faedf DIST x86-bin-libreoffice-java-5.4.2.2.xd3 24836939 BLAKE2B ccc413ba0900e7cc6605b0a17102cfcbc0410158580ecce759a149bde3614838d9d4f7fbed279b09331b388357467ba97e75892897e7095b26820f97cdbba69a SHA512 1b9a4ecb1f2304b60a19079d19405bd3d88da4123d80b14915a7494e0f8bb78b11fb9cbbba026691072cceeb74c4f7736a18167bfa67eb74b7a25dfafb69fa4d +DIST x86-bin-libreoffice-java-5.4.4.2.xd3 23531668 BLAKE2B e29b255a2eb5a235c436582d38e020a4dfcc17cf750cf8be7536cea18d9483bc6624b9d933dd04465c8aa0f482cbcfe79ec8939aa7f7faa0c33650a54f8b747d SHA512 9aeed28bf31a90d6647b11cb8f06f00da7b8d8686c6247202e9c1efc982d264032f58ffb7fd1fbd36dd70d3bc83dff77b3e583217365b1ec4ee33db4ac9e73bb DIST x86-bin-libreoffice-kde-5.4.2.2-r1.xd3 6268866 BLAKE2B 0870aaafe5d5d205d1abcf45504030190066fa7a2d0dcb27ef6486baf2f70b2277a6dbf931ef19a10e354e9bd285e0bb55cdd3dcbac19c416240c2d6456128ef SHA512 581916d02c36df1b27057acd21ff98b74ec574ef78441992598cb4aa9fa4795cb5c8767040d08711c2b3f3b471a1fbb6fc4b6139e4eda1b7b6de21fb76d0ed35 DIST x86-bin-libreoffice-kde-5.4.2.2.xd3 7039660 BLAKE2B 9c6bc3cac15ab322c206292c7e9cf560ef675737ad82bddf58d411069e5c657542bc7d8bbea365caf6f16960b70a4e092400783dfa1d7b50ac1b301a39b654ea SHA512 6e289355170bb7fdb9273902647332a8dff4f4b02e420416eabfcf40b1aca6986adcb7f682ad9d8a89907d90a1090ad8eff3c283f025ae688a1547b653149cdc +DIST x86-bin-libreoffice-kde-5.4.4.2.xd3 5822545 BLAKE2B 554e2f68d4c79908a118998405d628fcaa7dea34238a74d6d6822eb8f8f41d626eaaab40d02f36b6418c63827f3f3596317bea595da396aeb51dc58ec21ebfa6 SHA512 dbd9a8677bc248408505214c97748e5353937d425d6a1f34cec4d3e4595f4382f0e7e83295cf671da4b10a51c411d1bce4fdf51ac5c323c2c6fe23c52cb89f44 DIST x86-bin-libreoffice-kde-java-5.4.2.2-r1.xd3 22630525 BLAKE2B 744267ac7c1fcc12c818a2a77bae7c2dc07009518712627103952a9e74355cbbb7c99b925340d211ae74e50df267fe8b135cfc88c66e41cbe9ca366acc09d5fe SHA512 580a19d8ac55dcd179daf3a04692d1eed397912202fd11de5003d6a9b445b8e3e2a8a93ed9406b40ef287f8b98b685b0418f72ce5c9874d3a7fba0befa34b807 DIST x86-bin-libreoffice-kde-java-5.4.2.2.xd3 24919539 BLAKE2B 7da2fcad2eee3d35ad876d988bce486f11721cbe4506069bb782e760ef7b02372f529f4329eb290c603f0c7146a04c711f3facc431028b42b2c8ec655e25de8d SHA512 5c982b7bdd2071c57556e821e46ab58d2ceb3c34a8e45a4e9abc3719917991c5c69d3bb242639fc51654163849f3dc0668620939d082228e048d1236d6ce96fd +DIST x86-bin-libreoffice-kde-java-5.4.4.2.xd3 23590122 BLAKE2B a8f9467ab022a0181db8bceed85596ab1bfba49c4c629049aeee6b1b65a2b1a0f6bef82a46f0b5f8ce93ef2a3f977a818be90d72680a6889db4f2efcdd0f6aa1 SHA512 c574727bc3a0c9d9d0a97f20c2afd48e947dd619ae400ba76f8fa2844b84392da5fd42d0abcebb57ae6beb34fad84782f6f5d74a718d284e262796ff826ab1a5 diff --git a/app-office/libreoffice-bin/libreoffice-bin-5.4.4.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-5.4.4.2.ebuild new file mode 100644 index 000000000000..f74c47dc1b6b --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-5.4.4.2.ebuild @@ -0,0 +1,255 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +BASE_PACKAGENAME="bin" +BASE_AMD64_URI="http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-${BASE_PACKAGENAME}-" +BASE_X86_URI="http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-${BASE_PACKAGENAME}-" + +PYTHON_COMPAT=( python3_5 ) +PYTHON_REQ_USE="threads,xml" + +inherit gnome2-utils java-pkg-opt-2 python-single-r1 pax-utils prefix versionator xdg-utils + +DESCRIPTION="A full office productivity suite. Binary package" +HOMEPAGE="http://www.libreoffice.org" +SRC_URI_AMD64=" + ${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz + kde? ( + !java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 ) + java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 ) + ) + gnome? ( + !java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 ) + java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 ) + ) + !kde? ( !gnome? ( + java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 ) + ) ) +" +SRC_URI_X86=" + ${BASE_X86_URI}libreoffice-${PVR}.tar.xz + kde? ( + !java? ( ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 ) + java? ( ${BASE_X86_URI}libreoffice-kde-java-${PVR}.xd3 ) + ) + gnome? ( + !java? ( ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3 ) + java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PVR}.xd3 ) + ) + !kde? ( !gnome? ( + java? ( ${BASE_X86_URI}libreoffice-java-${PVR}.xd3 ) + ) ) +" + +SRC_URI=" + amd64? ( ${SRC_URI_AMD64} ) + x86? ( ${SRC_URI_X86} ) +" + +IUSE="gnome java kde" +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +BIN_COMMON_DEPEND=" + app-text/hunspell:0/1.6 + =app-text/libexttextcat-3.4* + =app-text/libmwaw-0.3* + dev-libs/boost:0/1.65.0 + dev-libs/icu:0/60.2 + >=media-gfx/graphite2-1.3.10 + media-libs/harfbuzz:0/0.9.18[icu] + media-libs/libpng:0/16 + >=sys-devel/gcc-6.4.0 + >=sys-libs/glibc-2.25 + virtual/jpeg:62 + kde? ( >=kde-frameworks/kdelibs-4.14.37:4 >=dev-qt/qtcore-4.8.7-r3:4 >=dev-qt/qtgui-4.8.7:4 ) +" + +# PLEASE place any restrictions that are specific to the binary builds +# into the BIN_COMMON_DEPEND block above. +# All dependencies below this point should remain identical to those in +# the source ebuilds. + +COMMON_DEPEND=" + ${BIN_COMMON_DEPEND} + ${PYTHON_DEPS} + app-arch/unzip + app-arch/zip + app-crypt/gpgme[cxx] + app-text/hunspell:= + >=app-text/libabw-0.1.0 + >=app-text/libebook-0.1 + >=app-text/libetonyek-0.1 + app-text/libexttextcat + app-text/liblangtag + >=app-text/libmspub-0.1.0 + >=app-text/libmwaw-0.3.1 + >=app-text/libodfgen-0.1.0 + app-text/libstaroffice + app-text/libwpd:0.10[tools] + app-text/libwpg:0.3 + >=app-text/libwps-0.4 + app-text/mythes + >=dev-cpp/clucene-2.3.3.4-r2 + =dev-cpp/libcmis-0.5* + dev-db/unixODBC + dev-lang/perl + dev-libs/boost:= + dev-libs/expat + dev-libs/hyphen + dev-libs/icu:= + dev-libs/libassuan + dev-libs/libgpg-error + =dev-libs/liborcus-0.12* + dev-libs/librevenge + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.0d:0 + >=dev-libs/redland-1.0.16 + >=dev-libs/xmlsec-1.2.24[nss] + media-gfx/graphite2 + media-libs/fontconfig + media-libs/freetype:2 + >=media-libs/harfbuzz-0.9.42:=[graphite,icu] + media-libs/lcms:2 + >=media-libs/libcdr-0.1.0 + >=media-libs/libepoxy-1.3.1 + >=media-libs/libfreehand-0.1.0 + media-libs/libpagemaker + >=media-libs/libpng-1.4:0= + >=media-libs/libvisio-0.1.0 + media-libs/libzmf + net-libs/neon + net-misc/curl + net-nds/openldap + sci-mathematics/lpsolve + x11-libs/cairo[X] + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + virtual/glu + virtual/jpeg:0 + virtual/opengl + net-print/cups + dev-libs/dbus-glib + gnome? ( + dev-libs/glib:2 + gnome-base/dconf + gnome-extra/evolution-data-server + ) + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + x11-libs/gdk-pixbuf + >=x11-libs/gtk+-2.24:2 + gnome? ( + dev-libs/glib:2 + dev-libs/gobject-introspection + gnome-base/dconf + x11-libs/gtk+:3 + ) + kde? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + kde-frameworks/kdelibs + ) +" + +RDEPEND="${COMMON_DEPEND} + !app-office/libreoffice + !app-office/openoffice + media-fonts/dejavu + media-fonts/liberation-fonts + media-fonts/libertine + || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) + java? ( >=virtual/jre-1.6 ) + kde? ( kde-frameworks/oxygen-icons:* ) +" + +PDEPEND=" + =app-office/libreoffice-l10n-${PV}* +" + +DEPEND="dev-util/xdelta:3" + +# only one flavor at a time +REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}" + +RESTRICT="test strip" + +S="${WORKDIR}" + +PYTHON_UPDATER_IGNORE="1" + +QA_PREBUILT="/usr/*" + +pkg_pretend() { + [[ $(gcc-major-version) -lt 4 ]] || \ + ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \ + && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)." +} + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_unpack() { + einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" + xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die + + local patchname + use kde && patchname="-kde" + use gnome && patchname="-gnome" + use java && patchname="${patchname}-java" + + if [ -n "${patchname}" ]; then + einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" + xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die + mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die + fi + + einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" + unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" +} + +src_prepare() { + cp "${FILESDIR}"/50-${PN} "${T}" + eprefixify "${T}"/50-${PN} + default +} + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + dodir /usr + cp -aR "${S}"/usr/* "${ED}"/usr/ + + # prevent revdep-rebuild from attempting to rebuild all the time + insinto /etc/revdep-rebuild && doins "${T}/50-${PN}" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update + + pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin + pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin + + use java || \ + ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.' +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |