summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2016-02-28 23:01:44 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-02-28 23:01:44 +0100
commita35f443222145ce54c32bfee1c53ad3b76251e45 (patch)
treece7793e3f19dfb59c3744de76ef38fc3454460a3 /app-office/libreoffice-bin
parentx11-wm/stumpwm: Fix ASDF dir (diff)
downloadgentoo-a35f443222145ce54c32bfee1c53ad3b76251e45.tar.gz
gentoo-a35f443222145ce54c32bfee1c53ad3b76251e45.tar.bz2
gentoo-a35f443222145ce54c32bfee1c53ad3b76251e45.zip
app-office/libreoffice-bin: Version bump
Package-Manager: portage-2.2.27
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.0.5.2.ebuild236
2 files changed, 248 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest
index 28631f699e95..2b32521d81fb 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,12 +1,24 @@
DIST amd64-bin-libreoffice-5.0.3.2.tar.xz 76937972 SHA256 1a6029b3ba0141d1c091c02cb25313e24ded8fcbae88a2a63065379a68b8b82c SHA512 b2a7a0e91648a941e14645d94fed569c03ab7892d746a19e229e913d5dff9c49008b96e059e07a12baa04c11204121a1d7e8d5b5f7656ea01499640d02bff429 WHIRLPOOL 0491e68437494620e55953eed58028636febeb95753bfd66fb4a19c88531ac3dc3fc03fbcfddf99a2fbfd7c27dd004c981607f8b067084874fe575589dc732e3
+DIST amd64-bin-libreoffice-5.0.5.2.tar.xz 77007548 SHA256 e27462dee3432c69a341964983a8500fe66164097d1e29d33fee0f84918f7c1b SHA512 ff5d300c158195b0d53df2e9f9aa237432bb4f00c3cf776e77dc129923e66f9b3ca98b5c2661f3adda00940dbbf785c2da801efdbcba06bece288b445b9281c5 WHIRLPOOL a728a718bfd7a1e2366498d1c5077882eb153a143df478faeb6e8adf5d0fd27f97e58965527d536ae824b5ba27ef64d05361ec70bd904d0a7cdb74b580c4ae0c
DIST amd64-bin-libreoffice-gnome-5.0.3.2.xd3 429790 SHA256 c9dd315b628ce4dda14c2807f69429ade1f0238420213daffde12a0468605502 SHA512 3ebf2348d5d372278808619923420fc49146b80c7c0c61b7a9a69687d1401857d21fadd66e851d811ac34fdfcfe13746b87302d2dbc003126b2dfad1ae016df8 WHIRLPOOL 19cfc6838d93f88c4d8226ddc3ec1ddeaae46c00b2aa7cfb153ea903b4f729d6dfbc2c0d02f798861211dfea92790d5b335f079fc627196771aea0e70863a7cc
+DIST amd64-bin-libreoffice-gnome-5.0.5.2.xd3 429970 SHA256 de6dfaa786bc5fc9baa18f2c8a310943bd3c89d891a7daed1004c509856e8dc0 SHA512 4326872359f94f9820bb46b695a4f7b97ef979b5da75c47c20bb3c34979544f9f45ce75de25a18a72be809ef388e20a82905f3b586c590867bb895b062033f18 WHIRLPOOL faa9d3458429d4e7ac2ab34e760b560f38fcbd480a43b6457bc411fc7a809afed80c4f7aa53c75ec9f1088097fc6846d623bfb49eaf60da7f78a2a01c5c04f53
DIST amd64-bin-libreoffice-gnome-java-5.0.3.2.xd3 25786095 SHA256 64aaf07bef9f8d6ecbb9b10f83a2f547b91c164f73876adf4b2cee00f60160cb SHA512 8cb955df50b4294d38ce34699f6303f04aae6820d69c5d8cfca96b7147284f7845c9342adcb2e4a71141f43c2b789db4fa58aae2dece60f5ddd54e71d4ccb000 WHIRLPOOL 3f63388c0de6c3d4f0b67fe3252eb389f3353361eddc49d50f4b3969bab8fefb42d0df26849bfcb00ba844c329373dc3cdcdff88c6755b6d44b27a21d0f711b7
+DIST amd64-bin-libreoffice-gnome-java-5.0.5.2.xd3 25782921 SHA256 5223af3fb9323d0e93a585306eb84a5e9b194f04fdc46e5004bdc20679e80dab SHA512 a978f0097078221c5cdb5db15c6b11c406969fe8a75e8b207586d6052d2b667576399833d3ae96ec91317d4d4efac699279eeecb9cc9d24bbe76e900408a0f63 WHIRLPOOL 3f554ec2c074a7249694fce83667c795707191be5e5cfafff924b8e74b5debc093faf6f32495cdaa687718f61e9ff3bece668a77a587a6be6e513d76d9466413
DIST amd64-bin-libreoffice-java-5.0.3.2.xd3 25426909 SHA256 757fe5cdc9c464f5cf9ed9d34f01e1e8d9047b59c36d3e440314dcd25ab0722c SHA512 dad8c80de1fcd522553fe985e8f97cd1864848a41199e86c58dd6f8b5bac2c3764c366404dbcecd68e4911115868a32e2c4b29c946f184005fa70f29043b1022 WHIRLPOOL a6466f61fc97948812d769d0670d0a5336258324ba90f8390c160643ab5114fda8389ae651fe48787310fdfb83277a720ddf5362c98d4842241a0dbf81c1080d
+DIST amd64-bin-libreoffice-java-5.0.5.2.xd3 25423904 SHA256 b2b1f04bc27e6884887ce641ca324ac8e048ba289c70637c2d93787b15385f5d SHA512 2e56c66b5fade293785e42377dddaa226e2421416e474bda867afe66ed7323c8deac1b150f95198a04dc533aaf3f08a843e72173e214f45ddb9ef44e9ebfd7f2 WHIRLPOOL 0d82b04706c93f5dc48cf76f95adb66e44c07232af1f15c10be712a75733c928afbbf3c464a49d0e4b02dbd7e5831efc1dd858189081a81e6ce466fd0b02a292
DIST amd64-bin-libreoffice-kde-5.0.3.2.xd3 7586603 SHA256 e4e2227cfb82ba3f9de7cee6ea8d3415fa55637f77acdb2f20941e31a311917d SHA512 5eb30121e14b56a4f4dc08613522546bc38e8c2139b30c98d275d6681bf3f2a9eb8e029a19b4267456ba37676760365bca8ffd196410b9fe9526d44558f4269d WHIRLPOOL 54cca4ed63c65d3d44aea32de074bf70f4b2627a1625eb605071486298b92cecb9642ccd8ca38a35aa5c988e736b21af98849ec3dc85a61db025378da6449eff
+DIST amd64-bin-libreoffice-kde-5.0.5.2.xd3 7893019 SHA256 42bc1df7bdd0dbad735e0a8a4e6c862ad1c4cbc36cecd65abb2bc2e6addebb46 SHA512 0b57e26e5d34b6e96698a9eab741ecade9499e5ce9c0cb44fa65dcd1e71f9e8123478478c40e31cc41dca7b9cdda33b343aff6bfb9a8d8bb520775da2d23dbc3 WHIRLPOOL 98a88052acede322f522fd422de8b7046120492e413aa1d9622e4ea6e7c0869bbba4aa9f66d7bf7f646a9272ed29f5ad401638c9c02863b3464d60fb9e0369f3
DIST amd64-bin-libreoffice-kde-java-5.0.3.2.xd3 25542921 SHA256 dbf9f03bbb395c605baeb8b2c58185bbaa0bf07d6a8a20b1112c82dc8cc4e6a4 SHA512 92cca85ec4f98f3de96da0bbef538216d48037896f130517250b1b111da0bf1f9ccd0759c7c1158b32270599a0dea5f52773f7ac5ebc10b00cda41a55b571dfc WHIRLPOOL ab105506139cdc667ae282cb1aab5ddc1cde4028835a545ca131ede92bc8dd3056a3aa18b0319075dff11dd10ddbfe67521ecda50919cfbb752a80c827f5e9dc
+DIST amd64-bin-libreoffice-kde-java-5.0.5.2.xd3 25462697 SHA256 f618f080294f3e0107f4a2bce694d3da4f01f79f36ed1e7c941bc6e61d935677 SHA512 d33528f8553ebfdf6b4b21a0445e7c44ee37238f7a8edcec66d9611911cc156e50f4b42d3b12240b221c6a15fdb4d0ac89ca36876b72c42abae6b07126e58652 WHIRLPOOL f0935f4dcac6e7377edd94fb68f8659b890776ad71b7962255d6ce371e6246884e69bd54c05552118cc74983226e0a012b80b43c5e6eb724dfee26e2001733b8
DIST x86-bin-libreoffice-5.0.3.2.tar.xz 76148856 SHA256 0717a4ee1e20fb5cdd854fcf1f6ebbe3fc09670e665cbc8a4e25f66ab0121f04 SHA512 8f74134be0b70036b87fdaa30de097b3a39ed3e3e9d0249d5c74d24f3d6fe89f98f4b08bc9d6ce8a2762fcb1509f3605c0ab3fe8b27238ee15c1a17f92b69f38 WHIRLPOOL 14f005a5a2f7bb1987aae5d11768866811a3490656ced55c0dc252a0454dc5b8cf88290a1566369a42ef9d902ad23d86e537442441aae59b96287651cddfdb41
+DIST x86-bin-libreoffice-5.0.5.2.tar.xz 76229348 SHA256 a2f167398e439933afbc57ccbc30855cb618415af6c93a7d448f37fbcb327ae1 SHA512 8bf6fc31cd1bcb38bb154611aad3f0c8aaa72addeb8825e0afc0ad9857034a1eb1f192b3149de8312cfe08501ad5c71a4c5ae51e20d981a231d5d87e3c22178c WHIRLPOOL 0569d64562b8d616397107b6be9efe5ab724ab8d419c99a453821f1e66c202506ced2fe3966ab8cfccf871fb6cd90a4e80d46c2179767fdaa9912606a1391eb3
DIST x86-bin-libreoffice-gnome-5.0.3.2.xd3 400086 SHA256 8509e2686af8068c6686bcb23aada3bdcb337afd521447574b539fab9bd9a8d2 SHA512 f470859418b23ff91037802ec1de0f8e79742c72509aedc0c987cc5f158b9675d52aaab2b95502db7de18e9bd1eceaffc950902202069accaa75aa6245874212 WHIRLPOOL b4b969a52c77c305d36b0dc9901f96cc3a31add452cf94e30ef77788c68b7bcf327aad2e406b7fbfc61beb2b21683df999d5b298853429996de1d2914009adbb
+DIST x86-bin-libreoffice-gnome-5.0.5.2.xd3 400041 SHA256 96666941b7fef1dc2aa686332a3cac90592f6b83e6af34f719388cc7041ff62c SHA512 f2ea55f87bdb944ede8f8dd80c163cd7571c26faafa8144b7af8ea3ca4381f7834246ae2e8a4aef7ccd2b5314fb16543362e7830868708886d45fd283d299647 WHIRLPOOL 2a231f2d6fd70cbdeaa854e02e84b6c8f50073759cb37a0f1f9d19f5470fcccad12a0b99f1430511890d2b29503f4918d4db273a640bfeb52089bbd1730001e1
DIST x86-bin-libreoffice-gnome-java-5.0.3.2.xd3 22798046 SHA256 96b787b3cae667da518f525f6b702bcd59cb50fa6296b4111a8cf64a2366f754 SHA512 94dce6e4ecda95d3a7b9c0945af9fc249ed68f8852cc07d19463b2805d7c76a7eb65f0985075b64dd3289dc3127b60f49d1bfcb61e2d1abdf8432a6bfb70f421 WHIRLPOOL 9eca275ed66674d07d60c639a7345cc940b69307e535010530de75c850a5d2bd5d62540203eceead280626bf8ab234bdd310664938bb9524ae2227d6b628ff29
+DIST x86-bin-libreoffice-gnome-java-5.0.5.2.xd3 23114772 SHA256 37b241e0753976546dd0aae96751fbe0bda39036ebee8604098a464b081e95dd SHA512 0d5ea6738023300635d48662020917dc3781feef179132cd9e0b9be57bfcba00fbeaaf1c30df593ec572bb8a052bf81819562a2812d7410e67b3493e3687aa97 WHIRLPOOL 8dd5b0e337b2b8258507789911a293d3d9c0f6b74eb12df0cb30b7e2a4ba43357c18b284daa107f95a42e761a3dc53ed267c5ca6a99afc3082a79c7a0f832257
DIST x86-bin-libreoffice-java-5.0.3.2.xd3 22652978 SHA256 2361c68152134e6b14b268a4a19604e4a6d2158cd6262f338168798cd96d0f38 SHA512 905b3d8bb42e897f0638ec75f850e63ee616bf14d77854602e85da0d443aea80a379f459bdadac31f8caf5bb64781d70da43d756d864cbe27414125a47c3cef4 WHIRLPOOL 5c800702f5ad56d13b407d1f322f86bacde9398b5330ec9710a54107ebc01152c76bc346a54c58de307ea468caa5f16e5ac65a1211a5db4eb4f54f8a0293698b
+DIST x86-bin-libreoffice-java-5.0.5.2.xd3 22950526 SHA256 c3e30257b11b15da9b00043b12bf5fe39ea82080e7e4ba6e79a2d4494aafd54c SHA512 8434aa2c5f48ea25946ff8322e0cfaa74e632e8770c3a3fe0f61f88874475c498754812e83a2120c23fc531a0f92c2c7b7ecfbbceb1314ec7c5720b1954bb5e3 WHIRLPOOL b083a9f9ae0b9608385f30b957217ad1c544f8c58e669f61a05cdfa13b898a0d5d2ac1b1781915f0792d4036426fe2c3607a1f4165369fcaf43f132ac48ef775
DIST x86-bin-libreoffice-kde-5.0.3.2.xd3 4901403 SHA256 cd9237d2faf15bc1046cc8e55e9b0445208d70b20ad655de73fa958a4db779f2 SHA512 ab54747201a5ed2be83a9741e8d7f5c540648f7d58a16b27aae8a0dc254f7008040f3223fe55b49057bcc726adc5160fe9758e1a805ece8e922184c96190f599 WHIRLPOOL 6c43e95fc37f67cac033169b8c5729570600dc04487beddadbfdcc5050679376fb7c1c44dc7b7a1277cfddfa3e52cc95b5f8722be7ef245fd3a5b2a07f357c6c
+DIST x86-bin-libreoffice-kde-5.0.5.2.xd3 3978200 SHA256 c7bee4ddf710f7dbe035e1570a96f92f75e0ebd2da74275f3b75275f497c67a3 SHA512 4167d9ecd4fc153b9cd2229bca0c3ec53e223e3a859b4aa586e8efaba882e209b180494500747e082f5ec5e2dcd2f9d7ef6de78e3e8313cb4d8b608df83510a0 WHIRLPOOL 3285286ea7537de4f798352706d15b5356a6b12028b00a33643a6e8c196e33342529dd99e9381be5fb9cf0a2d8b32794b8ffe6dd013ee2771eaec65d95180a33
DIST x86-bin-libreoffice-kde-java-5.0.3.2.xd3 22740068 SHA256 bbe6526a2020269e937cf4805a908baed77b678e24b17ecbdfa9a331266b587e SHA512 49e067dcba374510bf68f135cda20f321b04b6d4352d16d32716d434fd9540f87a3e052234d3b41b0af1b00f651d870ef5933d180f266f222e6e88b7c1e7453e WHIRLPOOL ec376b0efc0b25ec30f6f3082f9fda633230abf8b59905cd5a0b4d8687af6ee4b579c35b148927adc06b8fcdc746338f35bb5552c5e8e79e26388a12197212b8
+DIST x86-bin-libreoffice-kde-java-5.0.5.2.xd3 23032293 SHA256 4d34852f808961a724bc51fd701b18ff814b074992e515e45eb3d35af14ffbd0 SHA512 0fe5b4d2abed920ff66f345b9e91e1bd81e6e16d7a7d904952c614258a56e65066b6089c1bde71a302748a0995e40d28714f520bc2e136a12c06d1b87d509580 WHIRLPOOL 2f72a2c15292ce54d2df82ae7fb0ac33efc8356d5114b88b103603f65074e17f54639e842917f6c7cfd4e368c5718d7c38577fafba57cd8bafd49f154054b99d
diff --git a/app-office/libreoffice-bin/libreoffice-bin-5.0.5.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-5.0.5.2.ebuild
new file mode 100644
index 000000000000..175d5f383297
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-5.0.5.2.ebuild
@@ -0,0 +1,236 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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/libexttextcat-3.4*
+ =app-text/libmwaw-0.3*
+ app-text/poppler:0/51
+ dev-libs/boost:0/1.56.0
+ dev-libs/icu:0/55
+ =media-gfx/graphite2-1.2*
+ media-libs/glew:0/1.10
+ media-libs/harfbuzz:0/0.9.18[icu]
+ media-libs/libpng:0/16
+ >=sys-libs/glibc-2.21-r1
+ virtual/jpeg:62
+ kde? ( >=kde-base/kdelibs-4.14.8:4 >=dev-qt/qtcore-4.8.6-r2:4 >=dev-qt/qtgui-4.8.6-r4: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/zip
+ app-arch/unzip
+ >=app-text/hunspell-1.3.2-r3
+ app-text/mythes
+ >=app-text/libabw-0.1.0
+ >=app-text/libexttextcat-3.2
+ >=app-text/libebook-0.1.1
+ >=app-text/libetonyek-0.1.2
+ app-text/liblangtag
+ >=app-text/libmspub-0.1.0
+ >=app-text/libmwaw-0.3.5
+ >=app-text/libodfgen-0.1.0
+ app-text/libwpd:0.10[tools]
+ app-text/libwpg:0.3
+ =app-text/libwps-0.4*
+ >=app-text/poppler-0.16:=[cxx]
+ >=dev-cpp/clucene-2.3.3.4-r2
+ =dev-cpp/libcmis-0.5*
+ dev-db/unixODBC
+ >=dev-libs/boost-1.55:=
+ dev-libs/expat
+ >=dev-libs/hyphen-2.7.1
+ >=dev-libs/icu-4.8.1.1:=
+ =dev-libs/liborcus-0.7*
+ >=dev-libs/librevenge-0.0.1
+ >=dev-libs/nspr-4.8.8
+ >=dev-libs/nss-3.12.9
+ >=dev-lang/perl-5.0
+ >=dev-libs/openssl-1.0.0d:0
+ >=dev-libs/redland-1.0.16
+ media-gfx/graphite2
+ >=media-libs/fontconfig-2.8.0
+ media-libs/freetype:2
+ >=media-libs/glew-1.10
+ >=media-libs/harfbuzz-0.9.18:=[icu(+)]
+ media-libs/lcms:2
+ >=media-libs/libpng-1.4:0=
+ >=media-libs/libcdr-0.1.0
+ >=media-libs/libfreehand-0.1.0
+ media-libs/libpagemaker
+ >=media-libs/libvisio-0.1.0
+ >=net-misc/curl-7.21.4
+ net-libs/neon
+ net-nds/openldap
+ sci-mathematics/lpsolve
+ virtual/jpeg:0
+ >=x11-libs/cairo-1.10.0[X]
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ virtual/glu
+ virtual/opengl
+ net-print/cups
+ >=dev-libs/dbus-glib-0.92
+ gnome? ( gnome-extra/evolution-data-server )
+ gnome? ( gnome-base/gconf:2 )
+ x11-libs/gdk-pixbuf[X]
+ >=x11-libs/gtk+-2.24:2
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+"
+
+RDEPEND="${COMMON_DEPEND}
+ !app-office/libreoffice
+ !<app-office/openoffice-bin-3.4.0-r1
+ !app-office/openoffice
+ media-fonts/libertine
+ media-fonts/liberation-fonts
+ 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 )"
+
+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
+}
+
+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}
+}
+
+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
+}