diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-01-02 19:55:23 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-01-02 20:01:10 +0100 |
commit | eaa264d702a7973ca476a1f48b669d831ec79b98 (patch) | |
tree | 40fecaf6c8f938bc1fc792c8e98f99a95c52b990 /app-office/libreoffice-bin | |
parent | media-libs/libpagemaker: Remove old (diff) | |
download | gentoo-eaa264d702a7973ca476a1f48b669d831ec79b98.tar.gz gentoo-eaa264d702a7973ca476a1f48b669d831ec79b98.tar.bz2 gentoo-eaa264d702a7973ca476a1f48b669d831ec79b98.zip |
app-office/libreoffice-bin: Revision bump for boost-1.62
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-office/libreoffice-bin')
-rw-r--r-- | app-office/libreoffice-bin/Manifest | 12 | ||||
-rw-r--r-- | app-office/libreoffice-bin/libreoffice-bin-5.2.3.3-r1.ebuild | 244 |
2 files changed, 256 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index b62526106afd..5f62f3f0eb93 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -1,12 +1,24 @@ +DIST amd64-bin-libreoffice-5.2.3.3-r1.tar.xz 76859944 SHA256 fcc3b727cb5108f83856fe576d57eb4a85f35b29cfb3aaa0c5ef409fda3dcddd SHA512 ab60809367a54fe8c785f1db0a5fd13ac25a5dfe5ba83da42751ad24fa2673165b7e5250b4fbfa50e5f3651b7de30581b69b925b8950035bd8b41b3daa18542b WHIRLPOOL 368b4736c57a1a01be59a30f4b901b2b362ac8f6f3b5b4e52845a0b5200145138d16231cba4d98b4b772bc497b8faad8699a493994a2cd6cdce42fe54cfa2452 DIST amd64-bin-libreoffice-5.2.3.3.tar.xz 76739188 SHA256 f5851f3d8084b0ee51967ce43259ef1fd3d08730e11c5bcd7d2664d04b055759 SHA512 4634ee8b2d877c1626146fa7a76632701309fd65b0491152573edef095f189dffba070f2b7aa4fd8844898f62d8d219e32c35762b0a77a2207055bf0f6d7b607 WHIRLPOOL d8f773a4b7bb7ae7aa5f348b65dbc5b4e7d635c303d9e9522b64c942fb01c61d9d5f77cd6490d167724c42688aa4d46ad96bcdeb21ab9ae9529983301d1627f4 +DIST amd64-bin-libreoffice-gnome-5.2.3.3-r1.xd3 17099278 SHA256 31425c8f7c5e0d9eb8f251fb07e228dbb4b6ce0b6f143a7d3c8979a99fc35a20 SHA512 6b7287c550da1887f5ef3a2b971bedc78c2a75f4b582cc829e67ee22113b85e7989657992ec57c646c687add55c43b4666434cf0d454537251c3f1da69658eb9 WHIRLPOOL 1600991b8849cddc267b9e0bceae2303624f2a2137a49770076a587d307e28a4d9b280f69c528caa1dc364e8214f89c4c8658622f31705bdaab4fa86b1b7f3d6 DIST amd64-bin-libreoffice-gnome-5.2.3.3.xd3 17212836 SHA256 9fafd5e1645c224d53744223ee56dde2a197a55cb98799cf4c2b4f4d68bc2b00 SHA512 8c19096fa2c6fea8a29a2699d49f04992acbfa0775b59f844cbd4c50f1323c9295125750933743680c86d9c11e0112f68a2f387a22ad79d68ad885486fcafd46 WHIRLPOOL de7c27fef64fb7a286ed05c3ef9a60137f250e588f786328ad81f6fc98ae9549bffdb27ba12ff5b9861624b14384b4ec6719000e8894f0a38b8591df2aff212f +DIST amd64-bin-libreoffice-gnome-java-5.2.3.3-r1.xd3 26341367 SHA256 f943d46b870959a3d9c0482b58048a78481174403cb3db3a9b297f4dae10b1df SHA512 7c2770433134b7fb02ccc9361fc4cedc09b306b0748156834b9177244e79e1994c3b511a62da9dfa61d442e022e2ae4314b83de9216c40911b216949ba779a9f WHIRLPOOL 7af59289efc8afc1534005c146165acd5c8589d099083eb958040b82a178884f36fc28c2d67f4e4eb6ab0cbec209920c75876a38e6fe6ca1ae064825eea7adf5 DIST amd64-bin-libreoffice-gnome-java-5.2.3.3.xd3 26102709 SHA256 87907236a28ba2ac2c95caa47c42261203c4a8890d7533c569dab905afc10d36 SHA512 2183e5e7aa18ba08da0647b24499afbb0c8df75252883dd337b499f27e819b11785a879ddf71c07e85c7422bce05b46f892774137ee3db76d78a0807d37bdbdd WHIRLPOOL feaa6c3756f32c40c850b9468fbacd302a64b873c981445bd20f37a41d92b5cd7745434aab118f91fe6e5b9390a387bfac7299cb0f7a501a801e0b73a6222556 +DIST amd64-bin-libreoffice-java-5.2.3.3-r1.xd3 25447665 SHA256 5a2629d5c1519bdcb2fbee08d1b1ffa79dcedeed4b36b9e01d20b9212e329201 SHA512 33cb1a0ea6d9b9692b4dd2e87698417e4f327265aa9476150993336e46649f36eeba273789533e441c4d48f41970beb1f7db9bb11f19b101440eebf6d86974f2 WHIRLPOOL b48f0d205578a399f2af5918c89290f433668f9f0bd7e12970666f0d44cf2b26b149435763a67917c8580f652f2f6cf11be4617ba2a8bad87c1d61815721533d DIST amd64-bin-libreoffice-java-5.2.3.3.xd3 25359798 SHA256 2b18d80e89d01a71db9e5c8180634144e5bfac153c202ff942268917c8a45637 SHA512 1269e998fcf5f1c642825cca0519a30440c650d333d65fdd3b2a7deb5ac8a5e056c9e9b0ed02cb9faeda347a875351a1903a6458b9375f413c44198ec6a502e9 WHIRLPOOL ee1b3f2208e1356b130ebaa4468baa73320cf2c92bf16fd7cfc23f09298075e641638750d442913424c1ae59212efd7d1233de9c198d433a850f537c2a56a37f +DIST amd64-bin-libreoffice-kde-5.2.3.3-r1.xd3 8017163 SHA256 4460ec6f1052f5e3f14fd2e929ab7f2bfb560e2de4ff2b26c25236fce355d007 SHA512 2bf175daaf16e6b359f512c5962042652e3f8a4de2a8ad5d008761f712b8537181715636f1b77fbc54704110b035235862aa74abcc562cc4ff10f7ff9b05a458 WHIRLPOOL d6f639a8e509867ff7f696b43b2ed1060ac1390a6b543c9103b57583e18365185becd4818dce0968573e7fea03a223d49411a37c9826f0e0a9ab24654bd601f1 DIST amd64-bin-libreoffice-kde-5.2.3.3.xd3 7893066 SHA256 6bd55a1611b0c3653b7a35c9393d19498a30ae5dc948473acf08d2c971cf95b0 SHA512 7fd2f89b1730bcb0642bc2a29cd828b332b8c97f3949af39cb8758bd47d073c33f44a6a0c84d48490b73cdbdc21c796e55dd47211117e360478a31eb056af8b9 WHIRLPOOL bfd50af40929c801ce9c744842ea15d1f7eccea05203865a6b5829852df671323cf1d8a303a06c90ea97533f88e8e7e83b756a379ac0e57ac97f4ed065e7e4da +DIST amd64-bin-libreoffice-kde-java-5.2.3.3-r1.xd3 25545657 SHA256 752d263a340897bb3e96893ab33bb40654889e19dbde676d53c0aa601557e607 SHA512 5cdc6fe1f0de5b6f237f1c9b8cb0e2ba5d6e2891d5325b9f145369e124381475352ea816874126ef26f4f9f76602b7f58777471ad407f5912d8b146cf8f8fb77 WHIRLPOOL 7c12f197d06e00eba2985cf29f0afd09f23807b41dbfb89736975ade2483a2c2a7df2c4a1695c2f34f0518846f8cf987ac24f9d9532f90d42cfa463316edceb9 DIST amd64-bin-libreoffice-kde-java-5.2.3.3.xd3 25455603 SHA256 7547b7c7f17a437ebffa6c2361d8352ed67fee0b4d94dce8ad82e4ce7bba4ffd SHA512 82f48de229c6c96da516f60650870699ed4de9a9b9399c4894c3eff7ac41b3094ed0680b98e9a204f874aac16ec0d4963024a6450660007204fd99db1f77c4b1 WHIRLPOOL abcd0359b724b3816134408c1d44d177e22f48a1569b6a516139c86b7b5e943b458aa9a215b61cebe5ae30c2ae64fe97ac7753965e8a327e3f83ce74d9885e0a +DIST x86-bin-libreoffice-5.2.3.3-r1.tar.xz 76033088 SHA256 3a1b9fb25c3041441dda2a1ea47c31fa7d514f24d37387d2f210aae98d5238df SHA512 50edb5d84a50b30c11d1e7639c324d69672582a8e4d9b0e51d5ccabc0bd6280f57325cb6998d81c62f5612c836992f21d33acb44f0768667f45220f286737fb5 WHIRLPOOL dc8417d4d568af85316141a20afaf2c2fe88fd99e9a9feb3a5eaaf34e6627ab618235b4bdd7e7c9e1d3601192fef70ca4980d872fac2c74ce949459dfe8392dd DIST x86-bin-libreoffice-5.2.3.3.tar.xz 75886780 SHA256 b44351950b5e4b0350a2b4146806a0c0cdabab6904ebc45c59b1882a96219d07 SHA512 6a89f0a3d4bf7524b0cf084693edeca52d0c1d99ef173561418e9ee6422f0a09ae9f6d1b80d2780ac73678e771bb47c60f7c5f3642770dfb14b877a7f751d785 WHIRLPOOL 59e7c7572b06497fcbebf3bda736a6ebd6e2637ef73142e906cb1df2cbafab92a63c6c0227f72c02e1eaa75fc710719628db7c40583f815efd3d8fdda3307ea5 +DIST x86-bin-libreoffice-gnome-5.2.3.3-r1.xd3 15016266 SHA256 218d3c0586d80fda307f07816a9c525d58ec3bd7d071f1bf0256d88f9f3d99c0 SHA512 e4aeb602ee093c5af63bbcf400ecf95f58f0860ac22488ff45ef008e4ed699ec52c972ca617a6ca6ffbea3d3da937d8e7911e655c7e2ab0c18dbb33c4c495bee WHIRLPOOL ea5f233a65d721321c038f0793d7826f1c7fb21371f3c3cbdfd728bb8e8b208ba206bae9f8f1c6fab10abc705ae4d97fa483499bedd4c816096233c25a8856f5 DIST x86-bin-libreoffice-gnome-5.2.3.3.xd3 16903816 SHA256 380cda1633228fa655d8390816158d9fdcf8f571298556c760603aad3f7bd277 SHA512 468aea41e04cba213c7709b0f8a1cfe588f1880aef3264bd0523ec04160a105dc0fefd28fccf735f511a9ecb5e9628360305cbfb4009a0b5dd7d69bd2bf197ee WHIRLPOOL 874c20a119ebdda8ac747488f0c467cda39075c87babacbbc36683bc4b785c413606fe9e3410bbf2725c3a9b7e166bbcd8aeeafa4733bd2423aa16cce0241b5f +DIST x86-bin-libreoffice-gnome-java-5.2.3.3-r1.xd3 25205375 SHA256 238a07e19c5a933ee4c915658403ed75dc75c11e63d86a47cd23b15c1973f8a8 SHA512 5750d2a71b97d44bb68463b611d986fdad0018406f2ea499b6e13e8916ac3d16ac96c1d9d9593c09f41181fbf0e101e9e169e9ba414844b203249765756a47d4 WHIRLPOOL 8c0d36e3f63138aea0fcdcc338c1ad193498443bdb387093f52ac98190cfb27547d5090c926407be90620cf9ac77a9e8a2fd3ea1d94e73347391014e227ef803 DIST x86-bin-libreoffice-gnome-java-5.2.3.3.xd3 24987756 SHA256 94b69d87ed26a4ff13b7d276a3e03cb4a5dc45425aa15e68de62617520687706 SHA512 1f4517761a4a749ef7ff27091c4003392bba6d249a3928c7ec5a1990e5bc04b3674199763fead61656fcd875868338d2564cce88fe4f1e0c29fb672dee7d8884 WHIRLPOOL e1794f5cb22867468cb78d2e735c238a2f36f8be945531dbedea5769359bb933fff4628bad861b62ef4417afa2039aa4b8c0097386fc2ebec2660a36f1e5f755 +DIST x86-bin-libreoffice-java-5.2.3.3-r1.xd3 24470949 SHA256 16e74bef4659e885ffff56a53ac9291a0f6d8df456308f13901be23ce67825d6 SHA512 609ea7d3a191a3d976b3f837fe25ea990788d510087a7d3581c776a1765fa0ba7b9106ced922c32a45a6bc516b0816e4af230477d26b746f37b02af0d8e5c0ab WHIRLPOOL c58202885b8ce4ad26bb6340b2fc133a675f75bfda3c2dd9b9b29f6e4f7d792392884f507ca9d9fd80eceb8fecaeb1ae9ddd5286e46165501856fea2c79d0614 DIST x86-bin-libreoffice-java-5.2.3.3.xd3 23825924 SHA256 970334a37e8d6d481fcc2eff338ee4abf93170c64507e2fb9d9061ea509e8bdb SHA512 cdab9b047442fb0884c8ab757caf66f3659bcea4a06b523ceefb54c00b758b1efc7ff9b1854970228d4aa8b6aef36b33bff3aeb70e58327f980f609126dbb16e WHIRLPOOL 64947efdcb33227f7152e746dcb2f54180a4a8a1e272909f663ce17df696b3bfbae3bf9b4adbfad2102daad7fb5db112200dcacadf0b89a3351912010580bbad +DIST x86-bin-libreoffice-kde-5.2.3.3-r1.xd3 5915201 SHA256 c68383a60b848a333012e0bef87344250f0a7c0d60417710d864a3450d5caaba SHA512 f8c098cfa9b7868fc97244fb996bd0e5aa368e605d4eeadbb522e3e9f68cb46a438cabdd9f6e7d4e31b47fb7ca64672526a7674fb087343965f70a7d24948887 WHIRLPOOL f6b910e351776426bdf52539236903f43bd4862bcf697e8b87cfea8154309bb67b19e3a859db40488fa46e7b759092a4c32095bc4cbd0c125c860cc50c70d6ff DIST x86-bin-libreoffice-kde-5.2.3.3.xd3 5665444 SHA256 e937bd4d15f30aab1450c75da3d5df24976e547f35d10ba1a9d3ee1467d94d9d SHA512 bc6d99a1e88700ca006c9cfaf9eb40e02489ca27217679b52b6f4dbf716497e833688482e78eda5b737581d71b98085816e80d745be0e4995e3a824a70196721 WHIRLPOOL 68e6c12fdea9490b6910abffb2c59670ef699a21d7504e77e16225062d257ad9b447d07bb25c991acd2da94929b0f023c3bd4f5166bb14f8ff940ce1917f252c +DIST x86-bin-libreoffice-kde-java-5.2.3.3-r1.xd3 24543900 SHA256 924958ea4aedde9a1cb4e4e706fd4d0af590ee4a3354cf58d60eb075146daa0f SHA512 f309acd15822443d8c395e881e54a4080b7e75125d942dfbfdf817a40fb1998dd4c557c1e12de28e9504719585824a34ae1165e365553b28c86a7e38387d4436 WHIRLPOOL f7a370707dc6592168c64bf988ce8794d67fd582a0b9d28d49acfb5743457b704e187e0938c2daaf72da100a0d85ee539faae630ab3858ad0313ca35fc354b6a DIST x86-bin-libreoffice-kde-java-5.2.3.3.xd3 23897828 SHA256 dc8ce59e8b9bc7806788040995e7a099c8b9af01b328f97ac1314d328f7859a7 SHA512 88a40ddd8f63be5938233c583e58e5c95af6a7532208e146682fc1c9bab262a734637c44d196d7d8fd8e2b7125598251d0c61c427b419f4932220f7ec9d80a06 WHIRLPOOL 4235bc45f5e59b33520e985c2fb217ba7d07b78a0b9bf8c0a0ec6f0a9beed808e32169d8dda5fc314cba6478265a694857c3f04441c29a8192aa042d02af8c99 diff --git a/app-office/libreoffice-bin/libreoffice-bin-5.2.3.3-r1.ebuild b/app-office/libreoffice-bin/libreoffice-bin-5.2.3.3-r1.ebuild new file mode 100644 index 000000000000..3946185b98aa --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-5.2.3.3-r1.ebuild @@ -0,0 +1,244 @@ +# Copyright 1999-2017 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-${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/0 + =app-text/libexttextcat-3.4* + =app-text/libmwaw-0.3* + dev-libs/boost:0/1.62.0 + dev-libs/icu:0/58.1 + >=media-gfx/graphite2-1.2.0 + || ( media-libs/glew:0/1.10 media-libs/glew:1.10 ) + media-libs/harfbuzz:0/0.9.18[icu] + media-libs/libpng:0/16 + >=sys-devel/gcc-4.9.4 + >=sys-libs/glibc-2.22 + virtual/jpeg:62 + kde? ( >=kde-frameworks/kdelibs-4.14.24: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/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 )" + +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} + 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 +} |