summaryrefslogtreecommitdiff
path: root/app-office/libreoffice-bin
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/libreoffice-bin')
-rw-r--r--app-office/libreoffice-bin/Manifest13
-rw-r--r--app-office/libreoffice-bin/libreoffice-bin-7.5.8.2.ebuild263
2 files changed, 276 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest
index f1c9f0146800..0f0948d505d8 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,15 +1,28 @@
AUX 50-libreoffice-bin 158 BLAKE2B 2091698f80fbe097785c60b20f636150a2ee65bf52639fa1bb4a92341d050146040ad8912c5f5e3ca22e48ac3d819053c9948e256fb1d0e0901f7645934bfb89 SHA512 2d1158f48ac80f9212578d020e5659e777ff494adc3abc94438cec6890b88741f92ea2ed3bb4585ffdabe531d55c6938ca9408e9ece5a438e67d480eb406ed50
DIST amd64-bin-libreoffice-7.5.6.2.tar.xz 152259672 BLAKE2B 6460947ad8feea4df3e832661277d87e4412147052334693f7ded219425747e07e8c763734b541b827f82db0666681f6a981ceeccacf438db7778d55e60fab4d SHA512 eef02b49418b5e83fe84f5eef527610f58d6039fe7db7b26dd9ed60c1b477dacec5a98372383f65b713e73980614fa26e5225e7b975426fe67a412c96501a325
+DIST amd64-bin-libreoffice-7.5.8.2.tar.xz 152238160 BLAKE2B 9f6e6db2c6dc41ea5c0ddd56e0e6e8f172dba61946a85dcfa15406ddb3555ad6e2147f51d87ebfb36b9921ecb0bd75bbbbd157c72cdf93b2f4edcb5752ab5b10 SHA512 af9806ebe88ca0d4a5b2c391076a4d80f3eacb723c120490b0b97e19acbbaccf3241fbef34e51c34bdcc4952e9eae0015188bcd0602b509cc7fe21dbe72f0314
DIST amd64-bin-libreoffice-gnome-7.5.6.2.xd3 2278614 BLAKE2B e5a21656f31c0558230a2bb004e0bc800b2d2c82f94aafc189e1777ac1721c20161f1896ad7bfab91c7fa1c04325c2a6bc2466199e70e9cb72d0587aa2d1bedf SHA512 3aa4fd626576ec582a03b24d3087618946c5a367f0f5092aa2b49526cbce32249cb5870dd2216b624a0ba3e9e8733e5c3768808162688ab308a4cedea2202975
+DIST amd64-bin-libreoffice-gnome-7.5.8.2.xd3 2288954 BLAKE2B 42336a9184433eed453f7005246fd395b02f2e8c5814db2c3efa1f39827b5c1c232eea77dcecd09662462c481de5fe159789afe0aeb9e110fe4b6ee10a5b8399 SHA512 c9b5683fdbcb7c70e800b61c86f5069453def5330d470079710df8f15985995c7ab2ba1c4a85edf9eb86cf40438a73dcc47078a85715a554e0bef462c4babc03
DIST amd64-bin-libreoffice-gnome-java-7.5.6.2.xd3 34965830 BLAKE2B 98957e104ba566b82ef9bbdfa1b0dab9e47bea6e2e06296cad134ad7695b1765d2752d815dc8fbc2aef831b54cc4baef2f9b0ed1057675ccd85a0c9f5059eb11 SHA512 8195f18373f6f0832e64a62b4bde343925bceee71d216d560e8f9d452467f690786b998cba108a2ae6562f532d9eae12ad3afbfeed2bce706a7c2a9a9d138314
+DIST amd64-bin-libreoffice-gnome-java-7.5.8.2.xd3 34924008 BLAKE2B a27101503c3f014cd3df9b5c77c4d1ab88f23925615952412f45feec7079e00f69445931e5f42ae7e019c60aa8f9a3d397b05af666aafaca1b8ff88a01111f33 SHA512 1f0d730ac803bbaf5966727fde7cc16632aa3437799d7b3c1189794b397172adf9d69a4d0176501e030de982273bb07152530eca1a6a8dca5d9c216f26ac3897
DIST amd64-bin-libreoffice-java-7.5.6.2.xd3 34824322 BLAKE2B f549ef51c592430f91488bdf57861ed88219da42ccb145ab2757e08037134cfb6dbd34cf75a475bd801916ac75337783b66d1f6c9c488f30e4a35c4d0adc3151 SHA512 9843837be6bcf8de2a4f9605e448548b1125c5b397e20c6f34e6e23565dbb86a60a40f09442155192f9628070acd1246cece6433069146a0ead1deebe29ac714
+DIST amd64-bin-libreoffice-java-7.5.8.2.xd3 34770019 BLAKE2B baa6d4c05fefe1f3765d0f97a37b8b51555749c968f49e8d08d2419b52b3e3fb9df91840971f28b153298032ea2c832d8fc6312686e360b9295f95d94642cebb SHA512 0e22e228bd3097c4c2446731e427987963f80c51e0ff6e9b787279474a0b18e46c840cd68ac6bc39ba002eae86c99a7a8db2f47551c2ec49f7b5280c1c7c4df9
DIST amd64-bin-libreoffice-kde-7.5.6.2.xd3 23259798 BLAKE2B 7e0d9452816219f44a4513d98818544a283faceeec670baf37cf5a947f1e978ebfdfd01879bd45b1c2f8f9cfe098accd1252004aba82c2488e106a1a5afbbefc SHA512 0c10614b6aa557acd4329bb8fbcefd99eb5832ee5f002e6e64a93cbca53b2dfc961260ff639f04b8062fab6f5b3b381916e6f897dc550306f210d2f8dccc6692
+DIST amd64-bin-libreoffice-kde-7.5.8.2.xd3 23265223 BLAKE2B e1f00f2d3412d66e5f5be170ff9fbcb40679b7befdfcf4d61383aef1aed9461d59abb7a062017dfa3e55775d238768e37ea0f1e2644a78fec3c0362e4dbe7fa5 SHA512 c4133a4f9f8b3356a111725a12779df2209a379e3821a787d11aea12004a3d59e8b49f2ec33dc34489dc99f1f0f8fecfe3780de84f8684115a7f271e79209353
DIST amd64-bin-libreoffice-kde-java-7.5.6.2.xd3 35638519 BLAKE2B 87f8efcd1424b3d3d226af5153344a6c31a677279f042453e67a52ef123567d91f9e2cc472924ef60a687c473761f6f6c30f61c0232c650138f18f83c648ac48 SHA512 5ccf39e109881aed9ecbc8be4982af15b68c635922f1347e39d5cf472e2d3b8ddd5687e6e7d29bf466ba90380a0f6835f7f16a502a8ab58bd05b30684f5bb793
+DIST amd64-bin-libreoffice-kde-java-7.5.8.2.xd3 35490727 BLAKE2B 538f94bc9589c04f41b924c848f00fde33dc9237670b9c0ed3d094c5c460c880cfca05268d4e8887aca8572e8b3bb2dcd486232700cc88097ac039b1fce115b0 SHA512 34c94d935c517d709c888877dace683ac927cf6a4036fd0d92bf5fd110f8e87a3464b14d12132f4f6603bbd791b981a41daa274251dc5b1dcc08c64d4b216af2
DIST x86-bin-libreoffice-7.5.6.2.tar.xz 154059548 BLAKE2B 9283cd70ad6c4dae55a0d77adb001a92d204d0f9a82238a691d40b9a4c04a3b813afc332b1b1118fdc7a776b88ef282b52a59368d4f24bd77c00e37b7ef7afac SHA512 fd0b5e07978002342a69a41522cea677b0a1ffabaaf2be8578ab7d7ea85a369b8c8209bcf87e9e7be182b279ba22e610d16650e40a9200a062f31dd0e5cdc4e1
+DIST x86-bin-libreoffice-7.5.8.2.tar.xz 154032000 BLAKE2B 3e4e4f2fc0423199fc722116edf9543fbca8767cff31ad0bbfa5b34dd8d7cd3c1e8fe77044f9bd4737fb0a874da0fe46dfd22089f23b282895d5dfb8bba5e604 SHA512 58c7586ee161030fc35f55fc234c3f0ed7006b4d0117a1b80d3e0e9a70e3f2026339540ec2ec8fd4447e7b241b0b09c0259e7a8dcfac53b3bdd26a8c7d4c965a
DIST x86-bin-libreoffice-gnome-7.5.6.2.xd3 2461042 BLAKE2B 7f910b6a1cee9489f51ad029713f3157de811bea0a4c5a4a71671c32b8455aa7fa0f2436e8298d0f90df494582947fc9e7c13969ba2bcc7c350119bd5150ee9a SHA512 1d2f3736782220b828f04d58736c8a2a31a02dcc6facdefb241963b4d0f3fecb976a0174d0434ce6a361b29655dfdf8cfd629f5fe6720da5fd9a71f2216f014b
+DIST x86-bin-libreoffice-gnome-7.5.8.2.xd3 2280610 BLAKE2B d047698cde4efb5577ee68e5b1eb0b3a08be6dd9672bb42866b7e0f78f24cad613b815eb4efa34fee56708d63aaac46dbf9368fb83ec30ab8f617361247be351 SHA512 e566af9c2377e3f81ad6ae13cc007da8bcbf4b50abe509c7335aa9102e411dd8a1d536d2bcb088852235d262e9fdc3f56b06bb737818f54e0ab6ff7b594948a2
DIST x86-bin-libreoffice-gnome-java-7.5.6.2.xd3 33269633 BLAKE2B de4cfdba08c794043949a1f69c9c80d01402ca13a9184ef6a5f6325206e90d1e62e3424aa66f576e50fd6e8c63f95d8798195d0cb8263d652bef040bf63d5e03 SHA512 2b739644164f95ed458f30755478cee4e6f06baff3eff132e8d29fa775eb19d016a51c030abcc28587663d7e90aff55b5cad2cc466ffba5d957faa3c3c4177c4
+DIST x86-bin-libreoffice-gnome-java-7.5.8.2.xd3 33054263 BLAKE2B b80c0bcd3e9a31f620e33e9bf71a5f4ab231c5b07fb9422cc4281a5595175da1a306b9d864cf7e98252a1acd617f04cb1dae02df4732fb1b3ab1af492764b630 SHA512 86a96b6a3f6d6dac8f93732a8bb58842c453415cd02e69bcc61788a8dfb214905000959ee2c1cb13f4b7bc5af2fe90cc338c718d7964ea0e8c727237571e928b
DIST x86-bin-libreoffice-java-7.5.6.2.xd3 33222639 BLAKE2B b58f4db6b7aef974c6ba3eac1f752319f65a69b46961f6328a31ee4bf26c34bec6abfa84d8b1ccba12bcf46a3a57da529a0bab9808501f70ebb7e30231ba4e99 SHA512 b3290e19d21aa9275e54dc0f87b1288a1db8a8b8c44134eb210488bf2dc64cdb318fc310fa79321c11931b4d28c38a80729c45a518219a0d8f0edf185d1b1b4a
+DIST x86-bin-libreoffice-java-7.5.8.2.xd3 32955931 BLAKE2B e46ab461e8397619a21036ed3a5d8c565d7318628ebcc84c09529f4df9a3ee1f5f1b929c46e1aca7e99dc7a4718620ac1021a89d909ad12f04bd2b49977349b4 SHA512 a36a6b5338ca98f1e3ee9e5409af0447438e8ed00eb58d19c24e6a8ddd9ce8fe34e0cc02642bed2b81fabc5963066275a19d8aa47b92457f22d29eedc02c841e
DIST x86-bin-libreoffice-kde-7.5.6.2.xd3 22725393 BLAKE2B 2470d1b990d65559c0169854a74013bcaf2db482d89b889162922df67a6d317c154f8aac72287212b754520508316ddae5494698633dae9e1c8fde65cf09db8d SHA512 b79e0ed9289e30447c68837568f1826e9e0312cef7351e068d486d971a8510792d7f292df29efc63919b61de42c0ed012631ec72478035842049bd6dac43ed71
+DIST x86-bin-libreoffice-kde-7.5.8.2.xd3 22667306 BLAKE2B 9d6e4e7119fa21847923caa5ef21721def9198a2009f9a14b25dcaf357289dd05b81a91a8e80f662b5dbc173b4d6cfed541c4dfa3d5fb6e9cf925c1d39d2e6ee SHA512 18b0d5ca308e95eee828957c88b9092c3e651a585e4d669b638d2e690977880eac8bb23d1e1eb74a97274c59455f2a155f478b5ef3d4278c170155bd83186f08
DIST x86-bin-libreoffice-kde-java-7.5.6.2.xd3 33875293 BLAKE2B d1c5b6c0bb2545a13c06af6dd16fb9b88fe07126e727e949cb18781ac112ae6ee3f2ce00a9f09394b243517aac5de5014fe37e836dd0b1c033ec28c46c040aaa SHA512 245d4984bc09a9aa1fffa7f68cc65abe4502f9d7ca1ed1061fe877100bded12827f3a3e11cc61a01729a22d4a2350e85804314e42308ab18495b03f3e16a4d8f
+DIST x86-bin-libreoffice-kde-java-7.5.8.2.xd3 33690239 BLAKE2B 1a6c01edb7dbfdcff8e7803cc4268e14a81219866af8e28e725f65d017253048d081c79a2fb698836e87d3ffd073ee4e8caa55d732493d114271b6f2428d2202 SHA512 b7749ca3f9128f362445e24ee12c8bde908eb2c138eb08b7b809cbfe007b1a9b4112ec54fc8f43521e3fa4afc979c3bd517d05c8084c144c50535d040b979376
EBUILD libreoffice-bin-7.5.6.2.ebuild 6558 BLAKE2B 0c658af023be23036751da37597e2cd7d44c618dfed3cbaba437d947a7ef78c5f512b98d7560f3d3a7eaa5ff7db11db0ae1599d5955f86ff3a6c2a0c274e74f5 SHA512 e922069796133acfdbeed18c880c7fbd0f30c225b27dad2ba5a58f06928ed3b4bfa706e608696ccd8798e5caa4e33b7a4a7fd074736928ec219dee00538e6cb1
+EBUILD libreoffice-bin-7.5.8.2.ebuild 6581 BLAKE2B e25ee38108f3023061e35ff7c94bf72c1c06bfe5eedd8e67efdf424457cdc86dff7a9d7b3775d3985fb841db0dc7b3b437a42bcfc626edf3f042d6fdc16fed38 SHA512 a16647637fd023f070f660cb454084754eb5e5bde289cf5541adc0f984a2349c4d2c7772da85ac891c274d66843e5cb82cd8072545e0452cdad79de6fedcdf40
MISC metadata.xml 529 BLAKE2B a789c063d4ee905fd36dd0192d0f2769e0eeff96e69b9f27a2e75ca47a7bcb0ec841e68cd0d5299152df2b9b626bcf301066aa251e1b4ca2b74290d57c448c8e SHA512 b98d77cf995e824efcc392c185e616219d35976f43c343a1cfb1737fb44556edbd47b13d47924e3195159d0ec06e40f4909d0e7cd9deed7a8fa10928bc47becf
diff --git a/app-office/libreoffice-bin/libreoffice-bin-7.5.8.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-7.5.8.2.ebuild
new file mode 100644
index 000000000000..bf64898ebc83
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-7.5.8.2.ebuild
@@ -0,0 +1,263 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+BASE_PACKAGENAME="bin"
+BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
+BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
+
+PYTHON_COMPAT=( python3_11 )
+PYTHON_REQ_USE="xml(+)"
+
+inherit java-pkg-opt-2 python-single-r1 prefix toolchain-funcs xdg-utils
+
+DESCRIPTION="A full office productivity suite. Binary package"
+HOMEPAGE="https://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 cpu_flags_x86_sse2"
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+BIN_COMMON_DEPEND="
+ app-text/hunspell:0/1.7
+ =app-text/libexttextcat-3.4*
+ =app-text/libmwaw-0.3*
+ dev-cpp/libcmis:0.5
+ dev-libs/boost:0/1.82.0
+ dev-libs/icu:0/73.1
+ dev-libs/liborcus:0/0.17
+ dev-libs/xmlsec:0/1.3
+ >=media-gfx/graphite2-1.3.10
+ media-libs/harfbuzz:0/6.0.0[icu]
+ media-libs/libjpeg-turbo:0/0.2
+ media-libs/libpng:0/16
+ media-libs/openjpeg:2/7
+ media-libs/zxing-cpp:0/3
+ sci-mathematics/lpsolve:0/55
+ >=sys-devel/gcc-13.2
+ >=sys-libs/glibc-2.37
+"
+
+# 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-crypt/gpgme[cxx]
+ app-text/hunspell:=
+ >=app-text/libabw-0.1.0
+ >=app-text/libebook-0.1
+ app-text/libepubgen
+ >=app-text/libetonyek-0.1
+ app-text/libexttextcat
+ app-text/liblangtag
+ >=app-text/libmspub-0.1.0
+ >=app-text/libmwaw-0.3.21
+ >=app-text/libnumbertext-1.0.6
+ >=app-text/libodfgen-0.1.0
+ app-text/libqxp
+ app-text/libstaroffice
+ 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.2-r2
+ dev-db/unixODBC
+ >=games-engines/box2d-2.4.1:0
+ dev-lang/perl
+ dev-libs/boost:=[nls]
+ dev-libs/expat
+ dev-libs/hyphen
+ dev-libs/icu:=
+ dev-libs/libassuan
+ dev-libs/libgpg-error
+ >=dev-libs/liborcus-0.17.2:0/0.17
+ dev-libs/librevenge
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-libs/nspr
+ dev-libs/nss
+ >=dev-libs/redland-1.0.16
+ >=dev-libs/xmlsec-1.2.35[nss]
+ media-gfx/fontforge
+ media-gfx/graphite2
+ media-libs/fontconfig
+ >=media-libs/freetype-2.11.0-r1:2
+ >=media-libs/harfbuzz-5.1.0:=[graphite,icu]
+ media-libs/lcms:2
+ >=media-libs/libcdr-0.1.0
+ >=media-libs/libepoxy-1.3.1[X]
+ >=media-libs/libfreehand-0.1.0
+ media-libs/libjpeg-turbo:=
+ media-libs/libpagemaker
+ >=media-libs/libpng-1.4:0=
+ >=media-libs/libvisio-0.1.0
+ media-libs/libwebp:=
+ media-libs/libzmf
+ media-libs/openjpeg:=
+ media-libs/tiff:=
+ media-libs/zxing-cpp:=
+ net-misc/curl
+ sci-mathematics/lpsolve
+ sys-libs/zlib
+ virtual/glu
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ net-print/cups
+ sys-apps/dbus
+ gnome? (
+ dev-libs/glib:2
+ gnome-base/dconf
+ gnome-extra/evolution-data-server
+ )
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ !kde? (
+ app-accessibility/at-spi2-core:2
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ gnome-base/dconf
+ media-libs/mesa[egl(+)]
+ x11-libs/gtk+:3[X]
+ x11-libs/pango
+ )
+ kde? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ kde-frameworks/kconfig:5
+ kde-frameworks/kcoreaddons:5
+ kde-frameworks/ki18n:5
+ kde-frameworks/kio:5
+ kde-frameworks/kwindowsystem:5
+ )
+ dev-db/mariadb-connector-c
+"
+
+RDEPEND="${COMMON_DEPEND}
+ acct-group/libreoffice
+ acct-user/libreoffice
+ !app-office/libreoffice
+ !app-office/openoffice
+ media-fonts/liberation-fonts
+ || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
+ java? ( virtual/jre:11 )
+ kde? ( kde-frameworks/breeze-icons:* )
+"
+
+PDEPEND="
+ =app-office/libreoffice-l10n-$(ver_cut 1-4)*
+"
+
+DEPEND="dev-util/xdelta:3"
+
+# only one flavor at a time
+REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE} x86? ( cpu_flags_x86_sse2 )"
+
+RESTRICT="test strip"
+
+S="${WORKDIR}"
+
+PYTHON_UPDATER_IGNORE="1"
+
+QA_PREBUILT="/usr/*"
+
+pkg_setup() {
+ python-single-r1_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_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+
+ ewarn 'If you plan to use the Base application you should use a source build and enable java and firebird.'
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}