summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2015-11-24 00:19:23 +0100
committerAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2015-11-24 00:19:23 +0100
commit3e33e23e767d91e673b02be9ad88a371e3f86e41 (patch)
tree63aed0e68be1133579db0312a652feb94884cd74 /app-office/libreoffice-bin
parentpackage.mask: Mask duplicate packaged dev-perl/TextToHTML for removal (diff)
downloadgentoo-3e33e23e767d91e673b02be9ad88a371e3f86e41.tar.gz
gentoo-3e33e23e767d91e673b02be9ad88a371e3f86e41.tar.bz2
gentoo-3e33e23e767d91e673b02be9ad88a371e3f86e41.zip
app-office/libreoffice-bin: Version bump
Package-Manager: portage-2.2.25
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.3.2.ebuild236
2 files changed, 248 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest
index ca560270f701..e26409064abe 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,12 +1,24 @@
DIST amd64-bin-libreoffice-4.4.5.2.tar.xz 71669212 SHA256 6b3010b02526c5f3237cc6b1d299ca757ef447bc05ddc3cee159db5547903dca SHA512 3d01e6c243ea7434f8a63a78d3700be7a4953fb3f10ba40f5cbac7bc1555484d5981f1c29111bf0b7c62ace3f6ce69a53b586d9c5204299ebc6bc1ccb698e563 WHIRLPOOL 5e069d9321fa2223bda8937d5408b239c9de81fab6acef3f38b36dc1fa3e13c1a29ed1c9dbf520798114a59ab16d498f18922fb2f91277c56fcfbb3356564140
+DIST amd64-bin-libreoffice-5.0.3.2.tar.xz 76937972 SHA256 1a6029b3ba0141d1c091c02cb25313e24ded8fcbae88a2a63065379a68b8b82c SHA512 b2a7a0e91648a941e14645d94fed569c03ab7892d746a19e229e913d5dff9c49008b96e059e07a12baa04c11204121a1d7e8d5b5f7656ea01499640d02bff429 WHIRLPOOL 0491e68437494620e55953eed58028636febeb95753bfd66fb4a19c88531ac3dc3fc03fbcfddf99a2fbfd7c27dd004c981607f8b067084874fe575589dc732e3
DIST amd64-bin-libreoffice-gnome-4.4.5.2.xd3 427007 SHA256 4dd68a31d7724af8fec5efd0c76c52fce4f0117d8dc604bae072798cdc147cf1 SHA512 e321939f6bec518b59f178fd527a64865b39b5a27e76725e39ccc44ab65af58872b26d999d3da0c4c294e5b6b13ca4b1bf3d40429e56e0c876afae79322446e5 WHIRLPOOL 5a345e27310e0ef62e705747f2133c1182ed77a8ee59588b2386d08bddc9de2c18ade9d8078d7ca755fab1692d4a65522814a89b8d0305f291c0c333f8e0ed08
+DIST amd64-bin-libreoffice-gnome-5.0.3.2.xd3 429790 SHA256 c9dd315b628ce4dda14c2807f69429ade1f0238420213daffde12a0468605502 SHA512 3ebf2348d5d372278808619923420fc49146b80c7c0c61b7a9a69687d1401857d21fadd66e851d811ac34fdfcfe13746b87302d2dbc003126b2dfad1ae016df8 WHIRLPOOL 19cfc6838d93f88c4d8226ddc3ec1ddeaae46c00b2aa7cfb153ea903b4f729d6dfbc2c0d02f798861211dfea92790d5b335f079fc627196771aea0e70863a7cc
DIST amd64-bin-libreoffice-gnome-java-4.4.5.2.xd3 23961398 SHA256 ed7a29e59a4699e7426a987c19644fb5b049e38b7c5690c5bd6b486af52b3794 SHA512 b32d317b72eec4870b92dea0bc8bcee98189e8d824e4f5d89ac597c07e233f6e0d3a8e0791b59d448d7bc97651b9761799ae91d0661a924db9e32a9dca485d30 WHIRLPOOL aaf64c873b9b3d39546477836ab01fd6e7a400d1d4413999bd19cdafda52fea29fe9fc64f9726097fa85ab3f5fdef8f7c95565dc70d6b8e5fcf09f1da9f4a3cd
+DIST amd64-bin-libreoffice-gnome-java-5.0.3.2.xd3 25786095 SHA256 64aaf07bef9f8d6ecbb9b10f83a2f547b91c164f73876adf4b2cee00f60160cb SHA512 8cb955df50b4294d38ce34699f6303f04aae6820d69c5d8cfca96b7147284f7845c9342adcb2e4a71141f43c2b789db4fa58aae2dece60f5ddd54e71d4ccb000 WHIRLPOOL 3f63388c0de6c3d4f0b67fe3252eb389f3353361eddc49d50f4b3969bab8fefb42d0df26849bfcb00ba844c329373dc3cdcdff88c6755b6d44b27a21d0f711b7
DIST amd64-bin-libreoffice-java-4.4.5.2.xd3 23584959 SHA256 09a0b7588efdafa9be3560ca9a3e34dae15961d6450c018edcb95d82a0cc0edd SHA512 cf7edb81afa2513756d9eacb8d98306a125d7d18f047f8f39f94769309a7a371eda71fde3d188d23516a6364923bc8e2063f4e550f0870266cdf29fb7cd5117a WHIRLPOOL d39cdd3f19a709603e8de74ea14653c7fa5ff93f34cb4f92e1f80bff82953060b1b0baa8ac77811726ebca1bdd800207aace89081156c426f9a1da26c7bec697
+DIST amd64-bin-libreoffice-java-5.0.3.2.xd3 25426909 SHA256 757fe5cdc9c464f5cf9ed9d34f01e1e8d9047b59c36d3e440314dcd25ab0722c SHA512 dad8c80de1fcd522553fe985e8f97cd1864848a41199e86c58dd6f8b5bac2c3764c366404dbcecd68e4911115868a32e2c4b29c946f184005fa70f29043b1022 WHIRLPOOL a6466f61fc97948812d769d0670d0a5336258324ba90f8390c160643ab5114fda8389ae651fe48787310fdfb83277a720ddf5362c98d4842241a0dbf81c1080d
DIST amd64-bin-libreoffice-kde-4.4.5.2.xd3 7455231 SHA256 ea25ff0f40a68fa6d6536d931342e3118fb9b942de4448f83d3e3ef973807359 SHA512 9f5a2c204a8e129a20dcc1343538533d2ddfb1dbc00e369214fc853156a9041d381f158912d6cb56a1f98adbd8aefde8184af3c9412532e560543a2369c7fc56 WHIRLPOOL 1e0a2fd8ba56e81dce34ea8372d16eaae411c74be9b9078f94af9940c81343c26e1d785087eceae3f520800fe4f7b3ecbc441f8b7acdac74dbf47cefb9fda02d
+DIST amd64-bin-libreoffice-kde-5.0.3.2.xd3 7586603 SHA256 e4e2227cfb82ba3f9de7cee6ea8d3415fa55637f77acdb2f20941e31a311917d SHA512 5eb30121e14b56a4f4dc08613522546bc38e8c2139b30c98d275d6681bf3f2a9eb8e029a19b4267456ba37676760365bca8ffd196410b9fe9526d44558f4269d WHIRLPOOL 54cca4ed63c65d3d44aea32de074bf70f4b2627a1625eb605071486298b92cecb9642ccd8ca38a35aa5c988e736b21af98849ec3dc85a61db025378da6449eff
DIST amd64-bin-libreoffice-kde-java-4.4.5.2.xd3 23622458 SHA256 28a55844ae1c3226e523471a515c5ebcc9dd748e0f9d51d08fcf3b4a6f70cf86 SHA512 010fc5efb60198ee4723cc13b55f1f98f716887c1babae030ad751f235f45dbeb2934d9663aaa347470c70d7acbc4c581627990efed27b861754a29fce97365a WHIRLPOOL 8c95fcbd6cbe55784506da86635aca6c795ffa95d274e3a54592668020b8e1c5ff7692fe2f5bf5317ef768714d77c998e25b47c31349bd52314d6e46ea020d79
+DIST amd64-bin-libreoffice-kde-java-5.0.3.2.xd3 25542921 SHA256 dbf9f03bbb395c605baeb8b2c58185bbaa0bf07d6a8a20b1112c82dc8cc4e6a4 SHA512 92cca85ec4f98f3de96da0bbef538216d48037896f130517250b1b111da0bf1f9ccd0759c7c1158b32270599a0dea5f52773f7ac5ebc10b00cda41a55b571dfc WHIRLPOOL ab105506139cdc667ae282cb1aab5ddc1cde4028835a545ca131ede92bc8dd3056a3aa18b0319075dff11dd10ddbfe67521ecda50919cfbb752a80c827f5e9dc
DIST x86-bin-libreoffice-4.4.5.2.tar.xz 70126812 SHA256 72c8c94794a65bf9d07424d0194f575f9f51c3f0b0b330a6ecbd05bb9922f0fe SHA512 04ed0b05e6030fbf12164eaa18fb1d01a2b39d8414ad9a3af1ece730c42b0b4eb286320a0e5246bcf063916ae1582f20e69fa071d921ba06155890a3af3b2fd9 WHIRLPOOL c82f6b35d41d2e3725548c4452314733c908c3c47132ada55da70e8970fad47e0ec254f0341f3170d07445ac38bfe8eb1b7953ea63aef6ad08302bbcc764b978
+DIST x86-bin-libreoffice-5.0.3.2.tar.xz 76148856 SHA256 0717a4ee1e20fb5cdd854fcf1f6ebbe3fc09670e665cbc8a4e25f66ab0121f04 SHA512 8f74134be0b70036b87fdaa30de097b3a39ed3e3e9d0249d5c74d24f3d6fe89f98f4b08bc9d6ce8a2762fcb1509f3605c0ab3fe8b27238ee15c1a17f92b69f38 WHIRLPOOL 14f005a5a2f7bb1987aae5d11768866811a3490656ced55c0dc252a0454dc5b8cf88290a1566369a42ef9d902ad23d86e537442441aae59b96287651cddfdb41
DIST x86-bin-libreoffice-gnome-4.4.5.2.xd3 389029 SHA256 6eff02322ed6291cba95dd7b1f20114c0574bca8920b7ebaaeefa6532360e7fb SHA512 d56a3d19262ee9df2dab4d54e429ed322e6e3c5a21c6ab718917d1229134caa4b4c883b2c1159ed911e22aee9c613a22d3648e0f6874cd675a2944e59490fe9d WHIRLPOOL 5bc79efe6bc7a65cf92a75c27f11cdf92bd6bce76799e9d5fb41edfa86d31aadf99623d768d910613dba9c65b3f16dae18bc2373d9219584d6982eb8eebd8334
+DIST x86-bin-libreoffice-gnome-5.0.3.2.xd3 400086 SHA256 8509e2686af8068c6686bcb23aada3bdcb337afd521447574b539fab9bd9a8d2 SHA512 f470859418b23ff91037802ec1de0f8e79742c72509aedc0c987cc5f158b9675d52aaab2b95502db7de18e9bd1eceaffc950902202069accaa75aa6245874212 WHIRLPOOL b4b969a52c77c305d36b0dc9901f96cc3a31add452cf94e30ef77788c68b7bcf327aad2e406b7fbfc61beb2b21683df999d5b298853429996de1d2914009adbb
DIST x86-bin-libreoffice-gnome-java-4.4.5.2.xd3 22028300 SHA256 b9a0d1b76ad8bde466c7e3b5161727abc3d5349098b32c48bb032b0123636b6b SHA512 3d4589a85672c5d3c651d9f2527335817be6e408ff778a21853738d82d6c4378e91dcdab951bd66559f521dfb8bb22914c847c1d7b9cc7a76e43fbcbb0c40d41 WHIRLPOOL 58ac293f3ca1c485213c015d17aa52faf42ef7c3d620017d1dda3be8cef18832e43165b4a903d2b4d3f18c246d5725b76a6397dafba7ae85aab8e675318e8e17
+DIST x86-bin-libreoffice-gnome-java-5.0.3.2.xd3 22798046 SHA256 96b787b3cae667da518f525f6b702bcd59cb50fa6296b4111a8cf64a2366f754 SHA512 94dce6e4ecda95d3a7b9c0945af9fc249ed68f8852cc07d19463b2805d7c76a7eb65f0985075b64dd3289dc3127b60f49d1bfcb61e2d1abdf8432a6bfb70f421 WHIRLPOOL 9eca275ed66674d07d60c639a7345cc940b69307e535010530de75c850a5d2bd5d62540203eceead280626bf8ab234bdd310664938bb9524ae2227d6b628ff29
DIST x86-bin-libreoffice-java-4.4.5.2.xd3 21018405 SHA256 ef47e4942fac5dfd723ba78330e0b5b455d8fadcde6507da9deb9160adfb6daf SHA512 c22b71eb0a4750c11f56ede5c764c1abe486627826cad5de967855bdcf870025849aa37e8037fccb804e4b96796e1d57c7854c48b0052d2f1b922bb213ef4971 WHIRLPOOL db21e300cbc7eb60240c36457093d46b54bbcf17e8d4829a5406c30954908c0d24f908e3338ff07a5f5c195ec91b5d086fca0788de424fd2230029855541d769
+DIST x86-bin-libreoffice-java-5.0.3.2.xd3 22652978 SHA256 2361c68152134e6b14b268a4a19604e4a6d2158cd6262f338168798cd96d0f38 SHA512 905b3d8bb42e897f0638ec75f850e63ee616bf14d77854602e85da0d443aea80a379f459bdadac31f8caf5bb64781d70da43d756d864cbe27414125a47c3cef4 WHIRLPOOL 5c800702f5ad56d13b407d1f322f86bacde9398b5330ec9710a54107ebc01152c76bc346a54c58de307ea468caa5f16e5ac65a1211a5db4eb4f54f8a0293698b
DIST x86-bin-libreoffice-kde-4.4.5.2.xd3 4229854 SHA256 a26e8b133a0d8bba59d53cedfa7f63b3f7611dc20695164d192e65105243109a SHA512 285cff6ffe0e2cd902222f6f4a00ca2b007b3eacfa471cd4ba6f028f773b1e5c364471d5e330bd3bdca570992cc7d9dd82304e0a18266c25aa1fd6d8e05504bc WHIRLPOOL 3b8b88edad0fb09ebc294f570228571ef6719ff0516d15e997bea0a6583dcf5b87b4e0f7a5426d4cc3d64d4c4aaab102429b204d56b99beb4ceea4a0b1751843
+DIST x86-bin-libreoffice-kde-5.0.3.2.xd3 4901403 SHA256 cd9237d2faf15bc1046cc8e55e9b0445208d70b20ad655de73fa958a4db779f2 SHA512 ab54747201a5ed2be83a9741e8d7f5c540648f7d58a16b27aae8a0dc254f7008040f3223fe55b49057bcc726adc5160fe9758e1a805ece8e922184c96190f599 WHIRLPOOL 6c43e95fc37f67cac033169b8c5729570600dc04487beddadbfdcc5050679376fb7c1c44dc7b7a1277cfddfa3e52cc95b5f8722be7ef245fd3a5b2a07f357c6c
DIST x86-bin-libreoffice-kde-java-4.4.5.2.xd3 21101122 SHA256 c558160f44c832da0105b8498dde8c2516f01248befbbbe882a348ed1ae09a6c SHA512 81264dc0f93cb62e454a4ef241e89e54fd792f0b9532d573088e091d959cca1d9b610b3fa412a7b379e4da9fa54f07e19f304f1e6de1fda7ab12ef8b38d9e41f WHIRLPOOL 02d242f79d7020cbd6d8cffda03b9da89f4cd94ff044fca0bb71b40eecdff52c7a34c25054695a8dc25d64605633ccc94658294c6bab1f696b86a9d18224a345
+DIST x86-bin-libreoffice-kde-java-5.0.3.2.xd3 22740068 SHA256 bbe6526a2020269e937cf4805a908baed77b678e24b17ecbdfa9a331266b587e SHA512 49e067dcba374510bf68f135cda20f321b04b6d4352d16d32716d434fd9540f87a3e052234d3b41b0af1b00f651d870ef5933d180f266f222e6e88b7c1e7453e WHIRLPOOL ec376b0efc0b25ec30f6f3082f9fda633230abf8b59905cd5a0b4d8687af6ee4b579c35b148927adc06b8fcdc746338f35bb5552c5e8e79e26388a12197212b8
diff --git a/app-office/libreoffice-bin/libreoffice-bin-5.0.3.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-5.0.3.2.ebuild
new file mode 100644
index 000000000000..a8d63e81d197
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-5.0.3.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:=[xpdf-headers(+),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
+}