summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2015-09-02 23:45:18 +0200
committerAndreas K. Huettel (dilfridge) <dilfridge@gentoo.org>2015-09-02 23:48:08 +0200
commite63272cf781071fa33494da52110883e2b7f0bf7 (patch)
treedee87d5dfff380438ef17bc0181fc286cb1fdafa /app-office
parentwww-plugins/chrome-binary-plugins: automated update (diff)
downloadgentoo-e63272cf781071fa33494da52110883e2b7f0bf7.tar.gz
gentoo-e63272cf781071fa33494da52110883e2b7f0bf7.tar.bz2
gentoo-e63272cf781071fa33494da52110883e2b7f0bf7.zip
app-office/libreoffice-bin: Version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-office')
-rw-r--r--app-office/libreoffice-bin/Manifest12
-rw-r--r--app-office/libreoffice-bin/libreoffice-bin-4.4.5.2.ebuild234
2 files changed, 246 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest
index d7e21472340..24e9ccdff11 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,12 +1,24 @@
DIST amd64-bin-libreoffice-4.4.4.3.tar.xz 71656204 SHA256 8c838a38daee18512ece720f87d4d2eb4ee5796fc24dd5f3c3e5d7213d01dbb4 SHA512 94b8d8124892876523d6a26c64ebad1059cad6133c83bf38520672e90508aab9edd27e4ffed4312da503f4503a331d9652a50c0211fa19b955c033fe4e222fb7 WHIRLPOOL 6a02a91b53a45c0f00504d37e93511a09e0567aac6bddf85298a91a3903d5c583652c4691bf8fd0f13ede635fb5c9c68e7a4bef3f8a3005f5d04a8c6b87890e1
+DIST amd64-bin-libreoffice-4.4.5.2.tar.xz 71669212 SHA256 6b3010b02526c5f3237cc6b1d299ca757ef447bc05ddc3cee159db5547903dca SHA512 3d01e6c243ea7434f8a63a78d3700be7a4953fb3f10ba40f5cbac7bc1555484d5981f1c29111bf0b7c62ace3f6ce69a53b586d9c5204299ebc6bc1ccb698e563 WHIRLPOOL 5e069d9321fa2223bda8937d5408b239c9de81fab6acef3f38b36dc1fa3e13c1a29ed1c9dbf520798114a59ab16d498f18922fb2f91277c56fcfbb3356564140
DIST amd64-bin-libreoffice-gnome-4.4.4.3.xd3 427570 SHA256 0526ad6e76b65efbddbab1a55fbe0c712caf001786dc4b2286ddf01fcb1b44cd SHA512 03e1313a747f397621c348399f80d07e201186b0d67e0360990e5997c71cbcaff7ad27ebdf5a56c2e249048ac56158801f411cfe0ef78f069d06c5cdd0c4a88a WHIRLPOOL 2e2106fb81fbaa1dff40b12bb41e7e24d65142fdaf5f5bfcd2334d3baa231f4ca0931ba32c71f793a4ba8702e33d33e169dd2eddca52aaf34c96bb8a22b4cf69
+DIST amd64-bin-libreoffice-gnome-4.4.5.2.xd3 427007 SHA256 4dd68a31d7724af8fec5efd0c76c52fce4f0117d8dc604bae072798cdc147cf1 SHA512 e321939f6bec518b59f178fd527a64865b39b5a27e76725e39ccc44ab65af58872b26d999d3da0c4c294e5b6b13ca4b1bf3d40429e56e0c876afae79322446e5 WHIRLPOOL 5a345e27310e0ef62e705747f2133c1182ed77a8ee59588b2386d08bddc9de2c18ade9d8078d7ca755fab1692d4a65522814a89b8d0305f291c0c333f8e0ed08
DIST amd64-bin-libreoffice-gnome-java-4.4.4.3.xd3 23884562 SHA256 064d363488e8904f7f7eedd67dc05ade77817e758b56868a32c367b85e9690e6 SHA512 ccb1e73ea9a90262530105af897fe08cecbae40513ebe15903d744a161eb1a0d5431a39faa8cc1ca4cae7e6e3a459143ea7dd8479680e7167755aa3322c9541b WHIRLPOOL c6b47323a4d2239862541842f7431347dec399389e44a355987a0fd8fffa0455d07db621449348174125f48145994366b76171a84e1795a21bde59bf7fcf0c16
+DIST amd64-bin-libreoffice-gnome-java-4.4.5.2.xd3 23961398 SHA256 ed7a29e59a4699e7426a987c19644fb5b049e38b7c5690c5bd6b486af52b3794 SHA512 b32d317b72eec4870b92dea0bc8bcee98189e8d824e4f5d89ac597c07e233f6e0d3a8e0791b59d448d7bc97651b9761799ae91d0661a924db9e32a9dca485d30 WHIRLPOOL aaf64c873b9b3d39546477836ab01fd6e7a400d1d4413999bd19cdafda52fea29fe9fc64f9726097fa85ab3f5fdef8f7c95565dc70d6b8e5fcf09f1da9f4a3cd
DIST amd64-bin-libreoffice-java-4.4.4.3.xd3 23498049 SHA256 da49bd58908cbdf8695239afcc4edb3105a505336952b20d445dbc50a028c719 SHA512 2bc0f9de551c39d6cce1e0435c4f33ad44e77c5a0849c6796c197227c6d5242e93c9d758cdeb785f3ff386cfedb7a6d8f8d0c7dded0f96aed340a30cedcf69c9 WHIRLPOOL f7caaa39494251805c16c7d907ed6071bc9f41759e16f5164b669c7802d4520e8f9e2a715816c246315567e7b1876d895b2a924837159c8151be61ffd98cb775
+DIST amd64-bin-libreoffice-java-4.4.5.2.xd3 23584959 SHA256 09a0b7588efdafa9be3560ca9a3e34dae15961d6450c018edcb95d82a0cc0edd SHA512 cf7edb81afa2513756d9eacb8d98306a125d7d18f047f8f39f94769309a7a371eda71fde3d188d23516a6364923bc8e2063f4e550f0870266cdf29fb7cd5117a WHIRLPOOL d39cdd3f19a709603e8de74ea14653c7fa5ff93f34cb4f92e1f80bff82953060b1b0baa8ac77811726ebca1bdd800207aace89081156c426f9a1da26c7bec697
DIST amd64-bin-libreoffice-kde-4.4.4.3.xd3 7440586 SHA256 1e07febea773a07d0c826ecebad05b56617a785528c72290fbd24ea44d4f4e2a SHA512 de7bdf0147de7e72cc3c55e6d99ece43faf0a0ee9498963c286dd4fe3c2534df868f4bb33cce0a0c573c6be8c178f44e204aaf1860bc935a290f1f2b8bbda986 WHIRLPOOL 1a0c8ddcd2cbf48ee87be92963fb6aee6836d105fd11f84e4cc2db3832aa3915d266dc9ac5e3833fd84854d8d0bf0fbd8558ae91354abf8136e05097e942aea3
+DIST amd64-bin-libreoffice-kde-4.4.5.2.xd3 7455231 SHA256 ea25ff0f40a68fa6d6536d931342e3118fb9b942de4448f83d3e3ef973807359 SHA512 9f5a2c204a8e129a20dcc1343538533d2ddfb1dbc00e369214fc853156a9041d381f158912d6cb56a1f98adbd8aefde8184af3c9412532e560543a2369c7fc56 WHIRLPOOL 1e0a2fd8ba56e81dce34ea8372d16eaae411c74be9b9078f94af9940c81343c26e1d785087eceae3f520800fe4f7b3ecbc441f8b7acdac74dbf47cefb9fda02d
DIST amd64-bin-libreoffice-kde-java-4.4.4.3.xd3 23630980 SHA256 be03ae86265cd35f5ceece55c5525e01bac19b9d9b83cc87d203aa8be91458fc SHA512 e3ec81bf40f9abd77fbfada1847e38be89d677570c7eb5db43b522d89af10c7717e3f2fa220597f213ff81d87c0a518028eb9d06108cebc36d5fc9b40747b0d6 WHIRLPOOL 1254cde64f901bb63d86d69f992dc8acf8a2a5e1ecb2ef358708a9ae057649c50ac73647b5822bca059df23edb29228a6239b2ee1257c205c95803745517311d
+DIST amd64-bin-libreoffice-kde-java-4.4.5.2.xd3 23622458 SHA256 28a55844ae1c3226e523471a515c5ebcc9dd748e0f9d51d08fcf3b4a6f70cf86 SHA512 010fc5efb60198ee4723cc13b55f1f98f716887c1babae030ad751f235f45dbeb2934d9663aaa347470c70d7acbc4c581627990efed27b861754a29fce97365a WHIRLPOOL 8c95fcbd6cbe55784506da86635aca6c795ffa95d274e3a54592668020b8e1c5ff7692fe2f5bf5317ef768714d77c998e25b47c31349bd52314d6e46ea020d79
DIST x86-bin-libreoffice-4.4.4.3.tar.xz 70099700 SHA256 c09b7c4072f444e5166c774ada0c6df7cf8e7d1b36f35bf4b89aa0b942052579 SHA512 5adfc9d80ff589c4472f0806f63ca1f99781af2672f9d143cfa57fc3bb5077432b26801a05538a56e0007d0c4b7cb502dcc0adf0925cf29f80ca145a1564849c WHIRLPOOL ad16cb0ca8fe35c67dfd01689ceff5314be4520fa72da404eb3d365c1f0a94b9b29fae848d9c82f57d96b8534727f2d8744dd38ab53c693a8b2035e1742116b4
+DIST x86-bin-libreoffice-4.4.5.2.tar.xz 70126812 SHA256 72c8c94794a65bf9d07424d0194f575f9f51c3f0b0b330a6ecbd05bb9922f0fe SHA512 04ed0b05e6030fbf12164eaa18fb1d01a2b39d8414ad9a3af1ece730c42b0b4eb286320a0e5246bcf063916ae1582f20e69fa071d921ba06155890a3af3b2fd9 WHIRLPOOL c82f6b35d41d2e3725548c4452314733c908c3c47132ada55da70e8970fad47e0ec254f0341f3170d07445ac38bfe8eb1b7953ea63aef6ad08302bbcc764b978
DIST x86-bin-libreoffice-gnome-4.4.4.3.xd3 388744 SHA256 f5dda341c22377481e86d4f2fad60ff3cd41764c1a1bcafbbd7f9336a3fcd994 SHA512 dde7fc5c051e3f64e370a62a391a24a814ff949aea4115c108aa88766a6355dcc08f5f7111ff75e36e9593f8908e5815c3d5f9c980f8e8388f8ce977566357df WHIRLPOOL 436d9dc5ad314ebf5a6802e3102adb3a617f500ba09f5c3cfc584cd07b6f9cd13c7d9c1e960b99dc022e3b01b84f7a38b4cbadb17ec8d5589150842be882691f
+DIST x86-bin-libreoffice-gnome-4.4.5.2.xd3 389029 SHA256 6eff02322ed6291cba95dd7b1f20114c0574bca8920b7ebaaeefa6532360e7fb SHA512 d56a3d19262ee9df2dab4d54e429ed322e6e3c5a21c6ab718917d1229134caa4b4c883b2c1159ed911e22aee9c613a22d3648e0f6874cd675a2944e59490fe9d WHIRLPOOL 5bc79efe6bc7a65cf92a75c27f11cdf92bd6bce76799e9d5fb41edfa86d31aadf99623d768d910613dba9c65b3f16dae18bc2373d9219584d6982eb8eebd8334
DIST x86-bin-libreoffice-gnome-java-4.4.4.3.xd3 21684989 SHA256 dcd6b02ca2fdc1dffe3b6c73122f0d38b84e087a26dc62e42968789bff788b0c SHA512 b6d9c5c2f83cebfc8bdde049fdcc5a60d9fa899b68a4f66533e6d93ac0fa177cfaf3897edf00ea6dfc4b70e4c217f73e733b5087cdea81b372b4a5442ac829a3 WHIRLPOOL f72318613fda8cd4030544aaa541f7465db0303ec969f95f9d88e554ae7ed06a490c48bb989a8142c34ff2680b98a494772a1c36f45ecaed47656a8971d7a390
+DIST x86-bin-libreoffice-gnome-java-4.4.5.2.xd3 22028300 SHA256 b9a0d1b76ad8bde466c7e3b5161727abc3d5349098b32c48bb032b0123636b6b SHA512 3d4589a85672c5d3c651d9f2527335817be6e408ff778a21853738d82d6c4378e91dcdab951bd66559f521dfb8bb22914c847c1d7b9cc7a76e43fbcbb0c40d41 WHIRLPOOL 58ac293f3ca1c485213c015d17aa52faf42ef7c3d620017d1dda3be8cef18832e43165b4a903d2b4d3f18c246d5725b76a6397dafba7ae85aab8e675318e8e17
DIST x86-bin-libreoffice-java-4.4.4.3.xd3 22083608 SHA256 91f95a1f7f3b0a1b086e6ff6e26ed2ef8fea6b1e81ec95b2d8c70309ee08f76b SHA512 55c3e92af4f324b4b5b3576e707e590b4502db09beb6cf6dbc0631151f5975a4b96bb1576655946409ac739178350642764f5500db3301853eba396fb8023753 WHIRLPOOL b0b685775f7630cac18cac321a8f6532511a3bcfd490d832d4a86a1826a9037010ffe921f0148b00bd1734cf1eb10b61a6448b062acb87a4296f5d52bb980e1b
+DIST x86-bin-libreoffice-java-4.4.5.2.xd3 21018405 SHA256 ef47e4942fac5dfd723ba78330e0b5b455d8fadcde6507da9deb9160adfb6daf SHA512 c22b71eb0a4750c11f56ede5c764c1abe486627826cad5de967855bdcf870025849aa37e8037fccb804e4b96796e1d57c7854c48b0052d2f1b922bb213ef4971 WHIRLPOOL db21e300cbc7eb60240c36457093d46b54bbcf17e8d4829a5406c30954908c0d24f908e3338ff07a5f5c195ec91b5d086fca0788de424fd2230029855541d769
DIST x86-bin-libreoffice-kde-4.4.4.3.xd3 5161390 SHA256 3dcbfb8d995d488e508e82d4c905cd75fc580b0e516a15f3f981fa7e2e6ffaa4 SHA512 bbee6c439ecc8ec002cb54aede911fbf42a6c5229b8b4b15eff83e75888647dc0311374a3a37ce0a97ef9b5b7547df2b4ef3626a875c6b8820bcd6d08af3908b WHIRLPOOL a18c20d2e56be73ed19a5396c8f3dc017e7876f61633c30757fc65c8e5a9ea4b8f3be0d5bd96754de12154b4aef99604370c47509563526dee0b2366498f1fe8
+DIST x86-bin-libreoffice-kde-4.4.5.2.xd3 4229854 SHA256 a26e8b133a0d8bba59d53cedfa7f63b3f7611dc20695164d192e65105243109a SHA512 285cff6ffe0e2cd902222f6f4a00ca2b007b3eacfa471cd4ba6f028f773b1e5c364471d5e330bd3bdca570992cc7d9dd82304e0a18266c25aa1fd6d8e05504bc WHIRLPOOL 3b8b88edad0fb09ebc294f570228571ef6719ff0516d15e997bea0a6583dcf5b87b4e0f7a5426d4cc3d64d4c4aaab102429b204d56b99beb4ceea4a0b1751843
DIST x86-bin-libreoffice-kde-java-4.4.4.3.xd3 22178172 SHA256 1893ff213d8ef43e59cad8e457ed9c2508b563eaad8e30bdbc155b797d75d495 SHA512 364f4ae09028a16ac1149e84c5ae96fc3fe252f7c268c1c90f4e5f3ef75b78b56bc4f4789cc63ec1686426e80d4fde4b573740afa51a236ead7908074954c905 WHIRLPOOL 1d558064fe6d8508f404cb727ac8daae7e45303f78f40e59f531ed1a19bce9cc6e36ceee4ac1ec3b871a01697ea38428b863c1b88a0ca5dd63631c8e2ffafcb2
+DIST x86-bin-libreoffice-kde-java-4.4.5.2.xd3 21101122 SHA256 c558160f44c832da0105b8498dde8c2516f01248befbbbe882a348ed1ae09a6c SHA512 81264dc0f93cb62e454a4ef241e89e54fd792f0b9532d573088e091d959cca1d9b610b3fa412a7b379e4da9fa54f07e19f304f1e6de1fda7ab12ef8b38d9e41f WHIRLPOOL 02d242f79d7020cbd6d8cffda03b9da89f4cd94ff044fca0bb71b40eecdff52c7a34c25054695a8dc25d64605633ccc94658294c6bab1f696b86a9d18224a345
diff --git a/app-office/libreoffice-bin/libreoffice-bin-4.4.5.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-4.4.5.2.ebuild
new file mode 100644
index 00000000000..4861a30b2f6
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-4.4.5.2.ebuild
@@ -0,0 +1,234 @@
+# 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=( python2_7 python3_3 python3_4 )
+PYTHON_REQ_USE="threads,xml"
+
+inherit kde4-base java-pkg-opt-2 python-single-r1 pax-utils prefix versionator
+
+DESCRIPTION="LibreOffice, 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.20-r2
+ 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.1
+ app-text/liblangtag
+ >=app-text/libmspub-0.1.0
+ >=app-text/libmwaw-0.3.4
+ >=app-text/libodfgen-0.1.0
+ app-text/libwpd:0.10[tools]
+ app-text/libwpg:0.3
+ =app-text/libwps-0.3*
+ >=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"
+
+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
+}