summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2016-04-20 21:54:49 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-04-20 22:10:17 +0200
commitcef0243697e13bbb5bbbbbec05c2b4f630d44d81 (patch)
treea5b0311d7c1b1b02ab5cb2c77471c98f8b6a9256 /app-office/libreoffice-bin
parentwww-client/chromium: dev channel bump (51.0.2704.19); fix build with system f... (diff)
downloadgentoo-cef0243697e13bbb5bbbbbec05c2b4f630d44d81.tar.gz
gentoo-cef0243697e13bbb5bbbbbec05c2b4f630d44d81.tar.bz2
gentoo-cef0243697e13bbb5bbbbbec05c2b4f630d44d81.zip
app-office/libreoffice-bin: Version bump
Package-Manager: portage-2.2.28
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.1.2.2.ebuild240
2 files changed, 252 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest
index e294f39dd8b1..75705edc60b5 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,12 +1,24 @@
DIST amd64-bin-libreoffice-5.0.5.2.tar.xz 77007548 SHA256 e27462dee3432c69a341964983a8500fe66164097d1e29d33fee0f84918f7c1b SHA512 ff5d300c158195b0d53df2e9f9aa237432bb4f00c3cf776e77dc129923e66f9b3ca98b5c2661f3adda00940dbbf785c2da801efdbcba06bece288b445b9281c5 WHIRLPOOL a728a718bfd7a1e2366498d1c5077882eb153a143df478faeb6e8adf5d0fd27f97e58965527d536ae824b5ba27ef64d05361ec70bd904d0a7cdb74b580c4ae0c
+DIST amd64-bin-libreoffice-5.1.2.2.tar.xz 77357936 SHA256 13f9dce6175db3f1958e3c0ff52de86cb906230b293295fec43ab4f9c0189101 SHA512 3235b06df687dadaa74c7bb11141d26356a2ea0156890fa3257b76b541334ab9c49ba8be21959bc7e53a844be5ae8b64d8575139defbee19aa47bec8280cd567 WHIRLPOOL 19eef19ef6a8f785cb77e1dd97ca8d7680c610bd7bc3e712c757898f6463006ab9bdf59f95bec3e9f567f1f42be6ec1f278e0e894da42e5077c9330ab432479e
DIST amd64-bin-libreoffice-gnome-5.0.5.2.xd3 429970 SHA256 de6dfaa786bc5fc9baa18f2c8a310943bd3c89d891a7daed1004c509856e8dc0 SHA512 4326872359f94f9820bb46b695a4f7b97ef979b5da75c47c20bb3c34979544f9f45ce75de25a18a72be809ef388e20a82905f3b586c590867bb895b062033f18 WHIRLPOOL faa9d3458429d4e7ac2ab34e760b560f38fcbd480a43b6457bc411fc7a809afed80c4f7aa53c75ec9f1088097fc6846d623bfb49eaf60da7f78a2a01c5c04f53
+DIST amd64-bin-libreoffice-gnome-5.1.2.2.xd3 403632 SHA256 803b3cdc228b64116ab3217aba57313c4f9191f0e7dffeb93d3cadd7e80f1c04 SHA512 279611e64b4e219ba543fb8bbb9abdc226274458304d486def6dfbc522780784f58fb214337f947326200c4c0e176b69ae29415c7c64aca3ad18a5160855aa5b WHIRLPOOL 2a5c3b8b390da9a306178ee890f7e222330f383a9d19af904a83b7fcbf9715bb9bc8abf15c2688160ca0e713549dec54f0b06a18e9da4e9d875450ab32914c14
DIST amd64-bin-libreoffice-gnome-java-5.0.5.2.xd3 25782921 SHA256 5223af3fb9323d0e93a585306eb84a5e9b194f04fdc46e5004bdc20679e80dab SHA512 a978f0097078221c5cdb5db15c6b11c406969fe8a75e8b207586d6052d2b667576399833d3ae96ec91317d4d4efac699279eeecb9cc9d24bbe76e900408a0f63 WHIRLPOOL 3f554ec2c074a7249694fce83667c795707191be5e5cfafff924b8e74b5debc093faf6f32495cdaa687718f61e9ff3bece668a77a587a6be6e513d76d9466413
+DIST amd64-bin-libreoffice-gnome-java-5.1.2.2.xd3 25521452 SHA256 5127c83dd3b1b99e538eba6c30a9c398672659eefc00b1f36921c86cee938ec8 SHA512 dd41b58eae3eee4ead3bb415c2bd24a6c5ca73e9d09ff1e961eb9da11dc1c95c7bb836a77e8f5abf6003e00c976001a8d4c1710576952f7e0073e1f5356c85a4 WHIRLPOOL b0a2dcb7cfa8d009c006779d5617229aa4189d1c6dacbba4c8568777af1f88daa3bf5ab4dda017d21c34d87788430c32439f632febe89100d4326c984658f31e
DIST amd64-bin-libreoffice-java-5.0.5.2.xd3 25423904 SHA256 b2b1f04bc27e6884887ce641ca324ac8e048ba289c70637c2d93787b15385f5d SHA512 2e56c66b5fade293785e42377dddaa226e2421416e474bda867afe66ed7323c8deac1b150f95198a04dc533aaf3f08a843e72173e214f45ddb9ef44e9ebfd7f2 WHIRLPOOL 0d82b04706c93f5dc48cf76f95adb66e44c07232af1f15c10be712a75733c928afbbf3c464a49d0e4b02dbd7e5831efc1dd858189081a81e6ce466fd0b02a292
+DIST amd64-bin-libreoffice-java-5.1.2.2.xd3 25172516 SHA256 2195a9e4d8fee22ff2a45f1d92d7a325484562ee7ccd2d4be7cb388e9ae65947 SHA512 b98df419c16e49037e38851025a844993c1ebf9238e3bf3ae9b81e59f7ffbd1c0205e353e846b5504741a977996a9cfd4c13172b56aa3c44c562d974c17f988d WHIRLPOOL c8f6b0b844117529d312884930048cb995553185909684c0bd027dc03f5174f9a7bff62c3b05f6fdb8f1b2f4170aaae731bd2e9eaa49a908b1d7f8e9d8bd77c9
DIST amd64-bin-libreoffice-kde-5.0.5.2.xd3 7893019 SHA256 42bc1df7bdd0dbad735e0a8a4e6c862ad1c4cbc36cecd65abb2bc2e6addebb46 SHA512 0b57e26e5d34b6e96698a9eab741ecade9499e5ce9c0cb44fa65dcd1e71f9e8123478478c40e31cc41dca7b9cdda33b343aff6bfb9a8d8bb520775da2d23dbc3 WHIRLPOOL 98a88052acede322f522fd422de8b7046120492e413aa1d9622e4ea6e7c0869bbba4aa9f66d7bf7f646a9272ed29f5ad401638c9c02863b3464d60fb9e0369f3
+DIST amd64-bin-libreoffice-kde-5.1.2.2.xd3 7523826 SHA256 e5a3bb421375f71555e193b04bc2023cc69907b4308cb0d6c5eeb2c3585e4a68 SHA512 9c69e33236d4e6f90bba891a59b837e9e78f4a00f1eed0c708b35233000a4eb19d94c08475ffc65f0f0a6e889636da11568721630b25ff691a1aef4bdb409e74 WHIRLPOOL b4533734e42e538ba13a5653a26aaf788de79fc0a3878ae3304f5e28128903a21e3852c72721add9326c8e92ef9c48a4cb56c568dbcfd10aa0810ab3e62194ba
DIST amd64-bin-libreoffice-kde-java-5.0.5.2.xd3 25462697 SHA256 f618f080294f3e0107f4a2bce694d3da4f01f79f36ed1e7c941bc6e61d935677 SHA512 d33528f8553ebfdf6b4b21a0445e7c44ee37238f7a8edcec66d9611911cc156e50f4b42d3b12240b221c6a15fdb4d0ac89ca36876b72c42abae6b07126e58652 WHIRLPOOL f0935f4dcac6e7377edd94fb68f8659b890776ad71b7962255d6ce371e6246884e69bd54c05552118cc74983226e0a012b80b43c5e6eb724dfee26e2001733b8
+DIST amd64-bin-libreoffice-kde-java-5.1.2.2.xd3 25378181 SHA256 baf099a39ebb82b77ba745175d76fca4f5f09d1dbdcb16b15878c0915ef19d3d SHA512 5249713f70f58701e3316a23c1624becacdddd2f099681a914e88c64a57759fce5243175cf9469e4dddfc68ac9286f803a6b251625d1ad60263ccf7d94e58e4b WHIRLPOOL 471c37bf91ad7b32023f300b04462ef510d98bdbc331357519fa099634a4a09d86326fc58fcbad72a9e2600ce2ca7aa601ca2c8f25deaa03949f964157991990
DIST x86-bin-libreoffice-5.0.5.2.tar.xz 76229348 SHA256 a2f167398e439933afbc57ccbc30855cb618415af6c93a7d448f37fbcb327ae1 SHA512 8bf6fc31cd1bcb38bb154611aad3f0c8aaa72addeb8825e0afc0ad9857034a1eb1f192b3149de8312cfe08501ad5c71a4c5ae51e20d981a231d5d87e3c22178c WHIRLPOOL 0569d64562b8d616397107b6be9efe5ab724ab8d419c99a453821f1e66c202506ced2fe3966ab8cfccf871fb6cd90a4e80d46c2179767fdaa9912606a1391eb3
+DIST x86-bin-libreoffice-5.1.2.2.tar.xz 76481432 SHA256 6fe4907ae94c58a376a3679429017253179223c959ded9de422ee2e9bc22faef SHA512 39c0b8a7fd3dfd761762cb85129627e3310496e79866e302f49a16887e8f6e85dbc01143f42150d990bae494e29ad3563765ecb09eab7023a500996fe0468f08 WHIRLPOOL 9eb1aa34f685e7c1116939153bd9ddc773014cbd0c7f3446cd6031729d1ebd17d71167299b1d69eb777975b83f160a945d0280fa40aaccf97828ff11e169648b
DIST x86-bin-libreoffice-gnome-5.0.5.2.xd3 400041 SHA256 96666941b7fef1dc2aa686332a3cac90592f6b83e6af34f719388cc7041ff62c SHA512 f2ea55f87bdb944ede8f8dd80c163cd7571c26faafa8144b7af8ea3ca4381f7834246ae2e8a4aef7ccd2b5314fb16543362e7830868708886d45fd283d299647 WHIRLPOOL 2a231f2d6fd70cbdeaa854e02e84b6c8f50073759cb37a0f1f9d19f5470fcccad12a0b99f1430511890d2b29503f4918d4db273a640bfeb52089bbd1730001e1
+DIST x86-bin-libreoffice-gnome-5.1.2.2.xd3 378054 SHA256 cf5835e9cf1dd5cbd3d51bad0148114757f1db8558e3caeba97be5d03552160a SHA512 004dcd5eaa9b6e41e6dca17aa952f319d27e22906f2eb8a3bf49e9881e01a65e69c47111a843565d8c4987bda98974311341897530cd0eee3d53e93a109299eb WHIRLPOOL f1abe1c6a724987640dbdcf4ae784c1a8fe484857487a77a9861f405137c756b2c8477e108dea02d50a8ab20eb91d004353cca882ee1d18867c72c9a6508df8e
DIST x86-bin-libreoffice-gnome-java-5.0.5.2.xd3 23114772 SHA256 37b241e0753976546dd0aae96751fbe0bda39036ebee8604098a464b081e95dd SHA512 0d5ea6738023300635d48662020917dc3781feef179132cd9e0b9be57bfcba00fbeaaf1c30df593ec572bb8a052bf81819562a2812d7410e67b3493e3687aa97 WHIRLPOOL 8dd5b0e337b2b8258507789911a293d3d9c0f6b74eb12df0cb30b7e2a4ba43357c18b284daa107f95a42e761a3dc53ed267c5ca6a99afc3082a79c7a0f832257
+DIST x86-bin-libreoffice-gnome-java-5.1.2.2.xd3 22321871 SHA256 795810447908122ebaa2eb1620599f5a8f5f56cf3ead73ef3fc69576c364997c SHA512 8db1affef7c4bce123940f0a872b778409017e2821c25a7727632b7b6bdc39bd967a8b3db86af89b6a8e8f32695118c8f36d1a7b0a01c340cd6a8956fb682e37 WHIRLPOOL 13ef87a22b79ac88bfe4ff7de5f8bfdb641a4f3577c466b7738de6f5bde6a536f9eaa139f9c7f79946116746865fea8d98c66d7e38dc6b9b6a1d9ca4edfdc79d
DIST x86-bin-libreoffice-java-5.0.5.2.xd3 22950526 SHA256 c3e30257b11b15da9b00043b12bf5fe39ea82080e7e4ba6e79a2d4494aafd54c SHA512 8434aa2c5f48ea25946ff8322e0cfaa74e632e8770c3a3fe0f61f88874475c498754812e83a2120c23fc531a0f92c2c7b7ecfbbceb1314ec7c5720b1954bb5e3 WHIRLPOOL b083a9f9ae0b9608385f30b957217ad1c544f8c58e669f61a05cdfa13b898a0d5d2ac1b1781915f0792d4036426fe2c3607a1f4165369fcaf43f132ac48ef775
+DIST x86-bin-libreoffice-java-5.1.2.2.xd3 22358553 SHA256 f715e537b2f8c8768b179d08f3ba22fdabac34f7cc26fd8207ce16bb6c845dc0 SHA512 4103057c610bdb4582a818c7b0c934e22bcab0f4a63483c8bf8c7c7c64c3996c90ff4d12736b9aa5ac68bfb83a367eeb099632dbe726c5d32009c566084349f1 WHIRLPOOL f1abcd3bdaaf97a3afaa0fc959024177026787e619956ac92d6b663503192fb0e702be0b212785c88575def0ec8122b2f84001fde769da8bac6e7815ef564ba6
DIST x86-bin-libreoffice-kde-5.0.5.2.xd3 3978200 SHA256 c7bee4ddf710f7dbe035e1570a96f92f75e0ebd2da74275f3b75275f497c67a3 SHA512 4167d9ecd4fc153b9cd2229bca0c3ec53e223e3a859b4aa586e8efaba882e209b180494500747e082f5ec5e2dcd2f9d7ef6de78e3e8313cb4d8b608df83510a0 WHIRLPOOL 3285286ea7537de4f798352706d15b5356a6b12028b00a33643a6e8c196e33342529dd99e9381be5fb9cf0a2d8b32794b8ffe6dd013ee2771eaec65d95180a33
+DIST x86-bin-libreoffice-kde-5.1.2.2.xd3 4338669 SHA256 ac91d060e4e9badfc0071d5492572555d7a884afd6c7eb6081eda2e869849451 SHA512 542191a536f682345cc8b357384000fbda7f345b6b878043d8f777ee70c1f1b3974cb221420213580537e96f288af7458f7da2b38b47fef7666dc2211cb914fa WHIRLPOOL 6884acac0e19b9cce926e10bacebc4d6a6db5fdd3921f5856250e214d6d15c77422d14b2c8e53dca47540dfa8b7f4cc9b5522c0d71289db441c28045f170ce50
DIST x86-bin-libreoffice-kde-java-5.0.5.2.xd3 23032293 SHA256 4d34852f808961a724bc51fd701b18ff814b074992e515e45eb3d35af14ffbd0 SHA512 0fe5b4d2abed920ff66f345b9e91e1bd81e6e16d7a7d904952c614258a56e65066b6089c1bde71a302748a0995e40d28714f520bc2e136a12c06d1b87d509580 WHIRLPOOL 2f72a2c15292ce54d2df82ae7fb0ac33efc8356d5114b88b103603f65074e17f54639e842917f6c7cfd4e368c5718d7c38577fafba57cd8bafd49f154054b99d
+DIST x86-bin-libreoffice-kde-java-5.1.2.2.xd3 22436389 SHA256 07130e76d3535b608a323857eed8568ad94ffa3bdbdcbd6c9cb74490ea0ba560 SHA512 e129257617dd01ba7b58720f81f9e9698a2f0a9128de3b22497fef7af56eb5899f36d5b984e6fe7f43f8fc1d80c828ac145e80b72b99da14b1365627687005f7 WHIRLPOOL b89f1edcf73d6c2f6526424121509d854c6fc6b3b367acde85b03077b91d22da1808801af90808f3538c237a1f70f0bcd27a5cd3c27a89eb7be19762b69cdba6
diff --git a/app-office/libreoffice-bin/libreoffice-bin-5.1.2.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-5.1.2.2.ebuild
new file mode 100644
index 000000000000..322816963403
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-5.1.2.2.ebuild
@@ -0,0 +1,240 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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-${PV}.tar.xz
+ kde? (
+ !java? ( ${BASE_AMD64_URI}libreoffice-kde-${PV}.xd3 )
+ java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PV}.xd3 )
+ )
+ gnome? (
+ !java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PV}.xd3 )
+ java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PV}.xd3 )
+ )
+ !kde? ( !gnome? (
+ java? ( ${BASE_AMD64_URI}libreoffice-java-${PV}.xd3 )
+ ) )
+"
+SRC_URI_X86="
+ ${BASE_X86_URI}libreoffice-${PV}.tar.xz
+ kde? (
+ !java? ( ${BASE_X86_URI}libreoffice-kde-${PV}.xd3 )
+ java? ( ${BASE_X86_URI}libreoffice-kde-java-${PV}.xd3 )
+ )
+ gnome? (
+ !java? ( ${BASE_X86_URI}libreoffice-gnome-${PV}.xd3 )
+ java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PV}.xd3 )
+ )
+ !kde? ( !gnome? (
+ java? ( ${BASE_X86_URI}libreoffice-java-${PV}.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/59
+ dev-libs/boost:0/1.56.0
+ dev-libs/icu:0/57
+ >=media-gfx/graphite2-1.2.0
+ media-libs/glew:0/1.10
+ media-libs/harfbuzz:0/0.9.18[icu]
+ media-libs/libpng:0/16
+ >=sys-devel/gcc-4.9.3
+ >=sys-libs/glibc-2.22-r4
+ virtual/jpeg:62
+ kde? ( >=kde-base/kdelibs-4.14.16: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.4.4
+ >=app-text/libebook-0.1
+ >=app-text/libetonyek-0.1
+ 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/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.9*
+ >=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,-xlib-xcb]
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ virtual/glu
+ virtual/opengl
+ net-print/cups
+ >=dev-libs/dbus-glib-0.92
+ gnome? (
+ dev-libs/glib:2
+ gnome-extra/evolution-data-server
+ )
+ 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-${PV}.tar.xz"
+ xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.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-${PV}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3"
+ xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3" "${WORKDIR}/tmpdist.tar" || die
+ mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
+ fi
+
+ einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
+ unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.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
+}