summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-05-27 23:32:23 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-05-27 23:34:36 +0200
commit4d62d7c719b6ea7bf594ac87bac9c4db9a7b3a15 (patch)
tree2bc54f1a40ea1ec740b0141c8b92e5abcb2d6fd2 /app-office/libreoffice-bin
parentnet-misc/networkmanager-libreswan: new package (diff)
downloadgentoo-4d62d7c719b6ea7bf594ac87bac9c4db9a7b3a15.tar.gz
gentoo-4d62d7c719b6ea7bf594ac87bac9c4db9a7b3a15.tar.bz2
gentoo-4d62d7c719b6ea7bf594ac87bac9c4db9a7b3a15.zip
app-office/libreoffice-bin: Add ICU 58.2 version
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-office/libreoffice-bin')
-rw-r--r--app-office/libreoffice-bin/Manifest12
-rw-r--r--app-office/libreoffice-bin/libreoffice-bin-5.2.7.2-r1.ebuild244
2 files changed, 256 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest
index e4dcc946ad57..84cd1c651c6e 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,12 +1,24 @@
+DIST amd64-bin-libreoffice-5.2.7.2-r1.tar.xz 74001496 SHA256 65dd7e60d790c0d094faccec43e5686a464ce2b378b24b04a88b02b2f7b8b13d SHA512 49f1086b9b617a0f4b52e6405e92ee64d7ae1556f046a855544d8f1e3ca42c62c0b9f24de5241841b3a6ee8a1003194a25b51e9c802f7b3de0a4ea9120c4a6cd WHIRLPOOL 7877350af51a560a7376ba75be2ecd23a03ab4b45d4ac6166e5d59eed9916deb06cc8f33267aa2cd8de52d0e6a69db237a09fb1a2798bfffae6d5180df86a62b
DIST amd64-bin-libreoffice-5.2.7.2.tar.xz 74008020 SHA256 ea3f998142dc8c72012d80701773b2ccb41057586364b946766d031e7d44d00d SHA512 ee1fb0eaff8b7c5ea2311d6b1adae6cfe7ca5e43db66bb65326acc778792c7de1ab82cc67fc20662d48739e92655481b23e7b51011819a4927ce0118f6c7c4df WHIRLPOOL 5c07e7344fee20e2c696f5d11b6c02c58a034dbdbfa089272afb79839ef46290bb4aa1e29b51232e315d40260c44693ce883199e6034a8e6cfe3513824682837
+DIST amd64-bin-libreoffice-gnome-5.2.7.2-r1.xd3 15383510 SHA256 4e19080462c146712b2984f559ce2023d2b3b4f972f653b65090796b8eff6b39 SHA512 633da1350049275d0bbd1aac5ceba28f07d8ef5b11a250a014cb1cc48d7ad8167b0c07d0c536a14973e4215d4f2765e3aca2c5109e08161c3dd964f1ffdf6bec WHIRLPOOL 9a569de92eec269271b752203653f24f2eef5fd45ed96fef907fc6ed4aaaaef20db04fed57cf6d653375aab628fd7bae917c04924f7a872fb78f80ba42bddca8
DIST amd64-bin-libreoffice-gnome-5.2.7.2.xd3 15383875 SHA256 9ddee3834cef610ce54d0b60280e16b5457223c96eccc58f4177be328f2aa1fa SHA512 d2c274440e45b3ad96d329b39aa5aec2b282aa38f9e7e6f5c7a648073fbafb8c48463647f5f7ab92fe80bd8fb45046c4dfc059bd4d63b9910430bb989efdbd75 WHIRLPOOL 6aaa1818ac852f2c77ae1f0107b23616cc9f477ec0de5f79990dc63c43138a0fce11290db804cf590827417dd26cf3711523f38b5b3586d093cb178feea1885e
+DIST amd64-bin-libreoffice-gnome-java-5.2.7.2-r1.xd3 24391729 SHA256 da7e5f79ea8bfff90ee6ceb2b79da0a0124a29777e012ebf2bd3349abf0edf91 SHA512 f153c41b4f6de78399978177722127fd5a1dee22186c8632d6762d9a9ed55c79ba613afe08b240c48bd012df1dd42cd43fcc6b4a399092a020ef632667e10745 WHIRLPOOL fc2b43027cf663d94a041f4a545b06945d1d99f0e4aa2b37a106f0258d07fc52030c4c70561e8b2d6d4fb86c77198dfbe7a60337d4a0995aea92441e33d5cb7d
DIST amd64-bin-libreoffice-gnome-java-5.2.7.2.xd3 24392555 SHA256 5cca2c63392bcf479caf1a244af79bf2b81a4ba8248d8101df1c8af55be8e749 SHA512 deb591c242e5d175824d3cdee896e95d5f82424be4e1108b224e09b950126a0e25ad6f87be82622482fe63638304ad058bb42e2c5b6bd4af56cfcca945cf950e WHIRLPOOL bf9760d0cbcd0763cd159f0f04dbddcffdddbe270f33a4186a8c0e020a0ea0ae263a002a74cd51478553e3acb0131a3f19bfb344e1cc6fbc110ee094f22785c2
+DIST amd64-bin-libreoffice-java-5.2.7.2-r1.xd3 23495434 SHA256 d1fa03b61e8524b2c4fca6c9eef99b935cdc950cd935dc93592fe6647fc87550 SHA512 4b2b70d636cfec0cbd9f3ec54bb477892a6541ca46d9fbee205c4f9aea95c51b7f2eee06f115933a96ebf786e3281535aefcfb52ffefd9a47e446ede6905a4a2 WHIRLPOOL 5c9b4c1a4a2420110ecfa854b4d467b175188960eab495cbbfc908bf74bb8bc09a1deb74af12557b358b612d994038ef8119dfc9f1dfe522031ebc8d1625c107
DIST amd64-bin-libreoffice-java-5.2.7.2.xd3 23497383 SHA256 fbbfda1d198ebb57882df84ff3413bb78321cb4c4115fa77a61b492c9245a692 SHA512 5eb05dd5a6fc01b807e6b7efa23a78fa9a67644de202b6a055d738994118c36777a988ca32e51780e9f876d579b3f2f764ac00114242febee33ee1359e8c12b5 WHIRLPOOL 237ce03f2bb4c01fe073773eb5f85f5a2eff2591b951bcba30e47c6b317933ebe33ee48c10fca5bac86f4392e5386dbf4c0755d6a656ab5218c9d50c22521e51
+DIST amd64-bin-libreoffice-kde-5.2.7.2-r1.xd3 7844257 SHA256 7becc126a59c0096e7ff1a3b347dec76cec7abb3fded7e328128640ed47720d4 SHA512 23792b9defc514f82dcf1b3d23ebb75e4f4697ff6d9f48e4e827147aa3e92d3bf6bf5bb7e94fe3639ac4cfecf2e237e5669b11256b1cc30c3d07c31783efef0a WHIRLPOOL e5bb14b094aa5b6fc86ba7f52e5ed7d72cd6f01555d0ce687331dffb9b0610d5035895bfc70f1a81af0ccda466003408e0fd360853f8ae11d46aa169044f6856
DIST amd64-bin-libreoffice-kde-5.2.7.2.xd3 7844820 SHA256 1dd1dc1d8e3be789ed23c3146a46eaf6a2f55dc7e59932ff5aa892fd4c026495 SHA512 43fc71e58819e62620abd327991ac0de01c2e3de38e487aa83b127aa0eea03e437bab2490fb2dfbfc43c4e72d3631b4dc8b42f4fea41551a1767b4d22ed3a144 WHIRLPOOL af47d4b0fc4fbb829f98ac5cb57ac5115ad92e67e5dbf49337f29b1d396992448ae1e0d50b89fa823dab46687f342ded6d465d8ce9c3672bde5c9928bf8f840c
+DIST amd64-bin-libreoffice-kde-java-5.2.7.2-r1.xd3 23683325 SHA256 c62088937538bd2882261c0ba5e0c16543e09978950043946bfe504d542d4fb7 SHA512 8b9971ca43069dd316b8321e8b3b45199fef2ebc08c007d2245304683d6682eb1a5a803b8536ab10f555c4bba1d24683aa1906fb92acf41a8ede4688820cf9c5 WHIRLPOOL 1a215bed96c98a9b95eb87283343332df69f82570b501605f467806c1a91c88b475b41b65872a13ccb69b35ba66dd5074f235f78870cbcd2b22374e6129799ea
DIST amd64-bin-libreoffice-kde-java-5.2.7.2.xd3 23683089 SHA256 a428206a6890e063ab60dd42031d54cce5153f6e29b95798006b16a0efd0f08f SHA512 a7ede56c4757d4fcdc4019344c4b8859dd157e1e06486087fd04545b136d53b7809102219baf73d3d038643b7ca24edc89e3264904b0a6ec0c28a9d0c7bcabb8 WHIRLPOOL 1eff7d08eee884a15f31273bfb4351337b486dcb7a4496683a8d9ab50e2676f9306c6396f4cf4db47040e9e3a5f0db75e73f9af03fc534dbf349e28eabfa4c95
+DIST x86-bin-libreoffice-5.2.7.2-r1.tar.xz 74279800 SHA256 97866e4bc1a26e16d051525f860632d6997f3c8523dc40ed11375f2cfe3485f1 SHA512 985cb9d2afdcb8e974b3e15aa0534c4faf015a0439d2e157c8e09927c5139d8d8cde3266b6de99c97122e43c01d82db6428310f2833f86444936e2898499aef7 WHIRLPOOL 1bb440ef61e3d98b0ef6c9f600f3f06c5a98ef1f352e2d77b7774a8328f1102fdc0767f079f71e2118890de17e9471103c6bda6a3892b493e48d15e6edb79766
DIST x86-bin-libreoffice-5.2.7.2.tar.xz 74278384 SHA256 c78957f87ba89fd646fcb7974a709f60094dc253c5824c32598987216bb152af SHA512 9ab468714826f8be3c6a8a8dd9f90cec8a9a88bc60430792dc4921637903d3bae07828bbc01df282480ea3012299fc31e3ca3c50dd20adf77cd54bd6ae6f3277 WHIRLPOOL 51b9073ef0c22fab137c68a89eff265de995b8486c5402390ab74f7c2b3cd659ca67c3320c1ca77fc0966733142c4ef7af891af631fcf5ae4ec876b1d2d6f4f0
+DIST x86-bin-libreoffice-gnome-5.2.7.2-r1.xd3 15516282 SHA256 b11d4ee6524cf2774fa04ce4896d50964b1a16ce14abe89d088b34461a4ff912 SHA512 2755549cd3d387e86590f249f37916e52ba3b99c5e1d7f81fba168ac4a70f4645d1134fc4fd848a8bb0b3a2ac997941192089938e86c727f06f797ac7d1e34f6 WHIRLPOOL 9a6298d6c7ea1be3ee27cb2999b812a315dfefb834c5ea1bd2358982ed0911eb59f1dc607467f8b06ec93fd73821df9b44d2bb514b24a3b21eeec1a004445ff8
DIST x86-bin-libreoffice-gnome-5.2.7.2.xd3 15520438 SHA256 54cd92b8936b0dee84efaa952bd9634a74ca74dc0f9697e30ef5ddd9959b573d SHA512 988f36b1efdf466598d2a1545bf8f03dbc3d37947649804c54b8a8031e1ed579fab6afba2954133e05c76a0a2093d9f1f30e36f2d27e5461290d70b9de01ee61 WHIRLPOOL c6fffa59b8fcc44710cad1d4e89715332fbd8788d1db51bbf4b88641c60069115fd03ba898639c97530fcb23aa38dbfce41e854403e94ea1a580920c27fa2d15
+DIST x86-bin-libreoffice-gnome-java-5.2.7.2-r1.xd3 22133672 SHA256 84f619067fdae2ae6972c2a17ccab018d82eaadf62e505b53120f0693f04694c SHA512 3b19b0935b609241bb7b6a827aef9a1cec5c2fcc2443a54d1b33a70dafb110f975ccaf3ee9f2a26b9dc7f86d728c028e3b83d539240dae1909246be5c8e89a87 WHIRLPOOL 6ae42688e303b176f33244c0fa1d9d0b7f18d194db8721812d888f8bb74090851da0e5344e9a317088d48621a356420c1142580924a449ecc44a75862290e500
DIST x86-bin-libreoffice-gnome-java-5.2.7.2.xd3 22136298 SHA256 669c5bc5225d02c4a878c818cf819041952d9f4264a5826a363c46c834cf05d7 SHA512 44f2fdc8b781b62c6c1c7afd35c11f46698d1271090e6542d20c69ba8e54e220b9586344c5eec4fca0b2ee6e8623d79000e5c9b95d95913ee17f5980057be22c WHIRLPOOL 3e89193fcb00beeb92f709e2cbc1b1b82c36b7b69d209173d024190327eebda840cfbfefb71bedfee3f8ae0dc8d4995622d22168fda7b2ccf430e46a9ccf376f
+DIST x86-bin-libreoffice-java-5.2.7.2-r1.xd3 21832419 SHA256 40ac64242f731c9c02575cb159ee780e43cfd5317fe92e38141442a47133c652 SHA512 31875260c096374004bf27ab01862eeebc7a08c111cfaba3c7f4553c8d33dbf0780b4f9ea3c88e97a7de868f870c44588895cefb028955eb7749b0f07dff02c8 WHIRLPOOL c24b1479083849658eefc70a54e9e884799a386abb87a3727f35a05aadb404933709a53dc0f223bee628eccd7c5009629db9f17a4601b6a54193832773301b6d
DIST x86-bin-libreoffice-java-5.2.7.2.xd3 21833970 SHA256 963d52886c78f8148dd48a8bc65fecb5bb61d6f812d79e26287b1b617b64251e SHA512 45ac43b1f331d07f5e266b6de144aa466b08c4539c91943477813f2b0ee8b1951fb5e99765cb49abebd750e379d077d667958c87f9bdefe1ca0e8b507efc1dd8 WHIRLPOOL dfd9858891b4de81e4741fc90adae253a9fdd8a029e14183d7a545bab102a4d35ce38ba9485147c8aa7897338f8b541cb0bc0b2be7e85ca215ce5151cf74fdfb
+DIST x86-bin-libreoffice-kde-5.2.7.2-r1.xd3 5112408 SHA256 1b2764fadd7a7aad6be2b6177c73e8678172561e0f1f800119665b832c7aa568 SHA512 36051a7a918d29607d851ecf7b3f016fa6cbe53563673797e2985aab3a4b45ac37e5a1e2db51bf992617ff416bc086fa137f30a83e71296832fe9d3d912d4201 WHIRLPOOL 15f56c6b02bde10f5d965c68a513e40e7e81716cda0088328b59f91c1b575f9af81a31d30bdc06adcd30e495ee9522bec49b0c3d6596824b1fb88cd1e897ddff
DIST x86-bin-libreoffice-kde-5.2.7.2.xd3 5113579 SHA256 9056a38d9f136f68a9e21d496581a343fbbbdde20bb8de46b8d34afa926ca2e4 SHA512 4610c58851bc605ebba223e8956a86e7317119db3077eb9caaebc20db2e3c5da6b498289a77aa7406c2655b3a0ca252f16b3ce25eccbb716e89a4f8f4ea2b3b4 WHIRLPOOL fdd7dcacd520eab3f18070a56c55209979832567030a8f89b428233c52a8450bff0af8007e5e04d4df99b9497bac02a9dd356068c26ce763ed973e5183fa88f3
+DIST x86-bin-libreoffice-kde-java-5.2.7.2-r1.xd3 21898456 SHA256 bb8a4840e77428490620ce531c539fd88612795ffcec56e6a96274d0e3affa15 SHA512 e2e42b19127ecd1c9efdfcce3afffb99e42b307e437d283ca720ee5d0186cdbf0bc80806ff9d17c661e9acf5f7b4f6963ff1bfd66bad08abe8cfe87765d4605a WHIRLPOOL 1f90c03ce7011d7f2190b890250a2bafa95178c1d19a57e521f7e4d439919c899d8ee0c183e05b8a70e1dfc45ae8a33115efd1fb0d19570a437d586283f846e5
DIST x86-bin-libreoffice-kde-java-5.2.7.2.xd3 21900376 SHA256 49001c8f6aef7049b0856750cd41ece0bc77f86a1ee8483fb0700af7d4199c24 SHA512 9b78114fb61cc7a70d006bf3914366c44ef2398a29d55f3ebcbf10c8b6935441077637f40d04bd9bb59ecdc84c5e687f3f4dd6cab54ef71994fffdc86374b464 WHIRLPOOL 517cfc41eddeb3f3ca5fb4d8b7df58ab34a6019815f74a5c2f2b7eb3754d2a6095aaefe74731e1ba661db526eb0d73c23dec5f7bd426db322172434ca17efe25
diff --git a/app-office/libreoffice-bin/libreoffice-bin-5.2.7.2-r1.ebuild b/app-office/libreoffice-bin/libreoffice-bin-5.2.7.2-r1.ebuild
new file mode 100644
index 000000000000..fc83e204e497
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-5.2.7.2-r1.ebuild
@@ -0,0 +1,244 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_REQUIRED="optional"
+CMAKE_REQUIRED="never"
+
+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=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE="threads,xml"
+
+inherit kde4-base java-pkg-opt-2 python-single-r1 pax-utils prefix versionator
+
+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.62.0
+ dev-libs/icu:0/58.2
+ >=media-gfx/graphite2-1.2.0
+ media-libs/glew:0/1.13
+ media-libs/harfbuzz:0/0.9.18[icu]
+ media-libs/libpng:0/16
+ >=sys-devel/gcc-5.4.0-r3
+ >=sys-libs/glibc-2.23
+ virtual/jpeg:62
+ kde? ( >=kde-frameworks/kdelibs-4.14.32:4 >=dev-qt/qtcore-4.8.7-r2: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-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/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-1.55:=
+ dev-libs/expat
+ dev-libs/hyphen
+ dev-libs/icu:=
+ =dev-libs/liborcus-0.11*
+ dev-libs/librevenge
+ dev-libs/nspr
+ dev-libs/nss
+ >=dev-libs/openssl-1.0.0d:0
+ >=dev-libs/redland-1.0.16
+ media-gfx/graphite2
+ media-libs/fontconfig
+ media-libs/freetype:2
+ >=media-libs/glew-1.10:=
+ >=media-libs/harfbuzz-0.9.18:=[icu(+)]
+ media-libs/lcms:2
+ >=media-libs/libcdr-0.1.0
+ >=media-libs/libfreehand-0.1.0
+ media-libs/libpagemaker
+ >=media-libs/libpng-1.4:0=
+ >=media-libs/libvisio-0.1.0
+ net-libs/neon
+ net-misc/curl
+ net-nds/openldap
+ sci-mathematics/lpsolve
+ virtual/jpeg:0
+ x11-libs/cairo[X,-xlib-xcb(-)]
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ virtual/glu
+ virtual/opengl
+ net-print/cups
+ dev-libs/dbus-glib
+ gnome? (
+ dev-libs/glib:2
+ gnome-extra/evolution-data-server
+ )
+ gnome? ( gnome-base/dconf )
+ 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
+ >=x11-libs/gtk+-3.8:3
+ )
+"
+
+RDEPEND="${COMMON_DEPEND}
+ !app-office/libreoffice
+ !app-office/openoffice
+ media-fonts/liberation-fonts
+ media-fonts/libertine
+ media-fonts/urw-fonts
+ java? ( >=virtual/jre-1.6 )
+ kde? ( $(add_kdeapps_dep kioclient) )
+"
+
+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() {
+ kde4-base_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() {
+ # Cache updates - all handled by kde eclass for all environments
+ kde4-base_pkg_preinst
+}
+
+pkg_postinst() {
+ kde4-base_pkg_postinst
+
+ 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() {
+ kde4-base_pkg_postrm
+}