diff options
author | Andreas K. Huettel <dilfridge@gentoo.org> | 2017-12-11 13:32:02 +0100 |
---|---|---|
committer | Andreas K. Huettel <dilfridge@gentoo.org> | 2017-12-11 13:32:02 +0100 |
commit | 8ab10d91b88e4a29c2a37e88f4f1e2a61122d261 (patch) | |
tree | 89ed4ee468d974aebf0e74e4dd102491cae97b0a /app-office/libreoffice-bin | |
parent | net-misc/batman-adv: Version bump. (diff) | |
download | gentoo-8ab10d91b88e4a29c2a37e88f4f1e2a61122d261.tar.gz gentoo-8ab10d91b88e4a29c2a37e88f4f1e2a61122d261.tar.bz2 gentoo-8ab10d91b88e4a29c2a37e88f4f1e2a61122d261.zip |
app-office/libreoffice-bin: Revision bump: gcc-6 and python-3.6
Package-Manager: Portage-2.3.18, Repoman-2.3.6
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.4.2.2-r1.ebuild | 249 |
2 files changed, 261 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index 4b9da7e8f165..39d3a7f27037 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -1,12 +1,24 @@ +DIST amd64-bin-libreoffice-5.4.2.2-r1.tar.xz 75362012 BLAKE2B d217824ed319df6b3e9b7b772f9f131141674e0cfb6c2e0d860ab2b62e30438f7b7a1a5f987affd5fed9cdd5009fcdf7638ecc268775d9ca0f48dff73a7061df SHA512 a28f64b8e1c5e2b7ddc204227bf7e49b929199b818fa8ee830f0b95d23b5fe2d088ad820696b23a45202e600f7be9c3edda901f475c106df4634f8cd47a159d1 DIST amd64-bin-libreoffice-5.4.2.2.tar.xz 76103708 BLAKE2B 289b0fa454effdf4ad9a8bbeec633d2592f547f6907eb9c814e32c1ec25a45aff72ade4b84294d8c0960b3385a945e030ebd15306f6c261c414a8eb42a50d83f SHA512 ac577138f065ad8699b26743b905c7b94b4875eb45fa3c9a580410d2e587519df01de7669c0f6c1baff879b879f41140be4fe844174037dd89bdfa10eb0c4812 +DIST amd64-bin-libreoffice-gnome-5.4.2.2-r1.xd3 16337443 BLAKE2B a784e90e24987c09122ea44e59aa44f9d3730c4aae6498da934518ddc0ad708fb3fbe7c64c32041616b4d04dd45281e7c618769cbbaf1ae7385f5a7055a5d464 SHA512 8a35544616ea145b2862e9b9fefc54f55a9f2aedeb98cab691f37d3a308dff0b7a92a46068956c7e3b26ce455bdc7744720d24db990615bb19c1a0377015dd04 DIST amd64-bin-libreoffice-gnome-5.4.2.2.xd3 17096769 BLAKE2B 7d91c62ef0f10b10758de63a463ac52350ea8cf2f426c6d52b4c7fc9edca4ca615be7d9ce8481d78031b3a40f38653ca3e5bb9267097d921055c2a18e78f2eff SHA512 079141e1ac63a228682b3b3f204fca288285fa2064841d66a0eab4cbf36e743a402e7d85129ab5b4f3b60f023ca1f04217529ca78ac6f40ebeb08933f59d75aa +DIST amd64-bin-libreoffice-gnome-java-5.4.2.2-r1.xd3 26558117 BLAKE2B 2ee08980b53314b0570a96f4bb76f8d61dd7c752348a0ab626ce5fb732f1c44319c64af9a595183ed13df832958266b4c958995d9253a1ac172b6e90f42d626c SHA512 dd8004642025a958a213dc767e4f73a282710fcc2ed3c2b8e0622ce8aa7833d466962d45016e81fff71896a7148ec8cb1447b3df77c4e6547279c109e1f4241e DIST amd64-bin-libreoffice-gnome-java-5.4.2.2.xd3 27455524 BLAKE2B a2271382f4c8e533467f4cc8158a2fcb4996c387012f016f1ffe1a82d5b1e7fd9b81a3ce078cb470de1a38094b8e64a0f8fda6b1ca349bbb3c97d14fe16043f4 SHA512 06a03f256ab45087706bf51999dab4e4185ee55c9d28bbf60c438ae71789b84fdded9614713afdd3b83c7bbbc72cc80747a7d41a633bd606a00715079c85f97c +DIST amd64-bin-libreoffice-java-5.4.2.2-r1.xd3 25596784 BLAKE2B 493066f074077baeeb991935362291599db567e4ec4114ba78a733e89fdadc810cee607f77529f2543cba767000cc26c03ea9238ba892f4dea50374b6af98a04 SHA512 f25ddc420a63a8cb3fa89104dc875898b73c3be48936b0c59c34a4bec4ce574ab36e0ea5f4c06fe824b50dd15bd9c301ac181ead095d6bebb676e1255880254e DIST amd64-bin-libreoffice-java-5.4.2.2.xd3 26415061 BLAKE2B d7583a90bbec71436f9a66f6effe09131c9f89193eb1d1618cc890646f436b956e0e5952da9f6be6629dea02a35ff08caf7563318d14a3331e35c47f3edb5928 SHA512 e73c8710035337a5aaa07c3751deec9cd842dda61c5fefb9f3f63cb5b79b47f643f87e2559605855f5970daedf78ea2f5788d82351e623b86c909d90576cbb50 +DIST amd64-bin-libreoffice-kde-5.4.2.2-r1.xd3 10234903 BLAKE2B 633e27bf7992ea7735680e33f22a2a1f6af84fd538999cf4cd98362ebfeac214c897862d5eab5f3644cb3e23ab640d6ace23a5d63f1c4db1452113808a66724c SHA512 07010c1e1370a6d3a375fafbdcd44496f34abb06c8bfa949eddbafbd85dc0d548ce43668b1c73e4cad2735564607454bdbfb893f48e76619b33f61f24439aa25 DIST amd64-bin-libreoffice-kde-5.4.2.2.xd3 9501055 BLAKE2B 3f98ee516ecdd506fb6a03506ce2dca9e9b93438f4287aec84bf29c729aba76294b6721f84fcc38f0ddad373a2a0780697fb3ee000362a4ce8aed9e7ad150a1e SHA512 f9f144971f7b1619b7124f68f0c5591ff440d891233662985c659dcf98c8ba93738f28a9c70c11f83e216f3488503e9b49b359eee44989e85c754b061147c575 +DIST amd64-bin-libreoffice-kde-java-5.4.2.2-r1.xd3 25826013 BLAKE2B ad18ba2ae78f6973d98816680804da8d838cf22567759fcf9536d42ec526e252e5ae47423f37ee5a68eebbd3471263417865f51b0b0c0dcff70e3e0abf7fe5fa SHA512 c80fd243aa8150ac69d8f9ce1ec76f32a7873aeb3d93e73841d34ea7c87c3afff07a414029806419b5fd99345a94769de40d4cf0d89b56960f14fe6d247c5c6a DIST amd64-bin-libreoffice-kde-java-5.4.2.2.xd3 26621192 BLAKE2B 5d9d6ceac4bb7772bc236ee44f0d602cc555626bab8cd89f4bc9221d16beb3d44469ac47e9a4a20dcb670ad87cf4bae895bcbae19f0c9161736045f9d05ff381 SHA512 883a897357cffef3f37961dae7be10d1d47093762a842cbd775c6a14b202fe5c9a2cf8878ed2d9587c511c1d427ce20da71ec3b21da6f7bf4f22fd5169ebbff2 +DIST x86-bin-libreoffice-5.4.2.2-r1.tar.xz 77497504 BLAKE2B f4258171c91144f7a96fc4c3f885337ca2f8614d2f1619c56db9f18bfb3e0d9f932c151bbf508b34755a390e5f61c62f5b564e441d4d328b1a2699fe1d60d717 SHA512 f670737962b667782542aafe5956dccec5bcc82e0a080311dade7565b8c702ae020c4ceaa917ac22135d5c57bc021681521e6d5863abf1adbc9789d25c36a186 DIST x86-bin-libreoffice-5.4.2.2.tar.xz 76197244 BLAKE2B d14cd52d70649a7d96348734ddf34796ae4e1612eb8965c1c294fa6c5dabd6b39d3d3c34345d4d8300f71917cb74ea5f079ed258c09f6f7198453488e3539967 SHA512 3e6a04ed0febacbdf78d0514df1d863196463cf777a646a5f33afb6ab3cdfb9f27245d4e362974f2112b484c29c810c2d563d5b57894feb603d9a4ac8ea19b5d +DIST x86-bin-libreoffice-gnome-5.4.2.2-r1.xd3 14217445 BLAKE2B e952d53d749bbc78c67c1f987ea6ad48e1c0d345d36d092106798dded817f3625b60bcdc23998eea01bacdfc812a9175c18d4980ae47fde907cee595702e91b8 SHA512 568a176241b4d52d3872a3ed6e5004ebac5fbbc0561d1768b7990cf98c0172126e41e0f66febf6860262d9ab060952d62d40ad3d6b72e23b848e0d68d76ac907 DIST x86-bin-libreoffice-gnome-5.4.2.2.xd3 14720380 BLAKE2B 4790acfe2bc37c41597300e7283b1157e2047e5fb4c6e865f23e5494b9e7f35dc337d806702f8fbfc5a5c20ae63834e0c12ba2992a6471d3c105ee32417a593c SHA512 b73e6da0979a78049f1563a0fe61764d7b97197d27a307579b76639d881952a4dd656a49249351c172ef45a488291ce3a4f60879f9bff473df6db22ae598abd5 +DIST x86-bin-libreoffice-gnome-java-5.4.2.2-r1.xd3 23765116 BLAKE2B d01b9c2f9eb2631a60d57c28de5911140a410bb96088bceb0a1c23d79ffa1565f87ba17f000c0111594551d3fb65c32dbdf5909f85c2edb661ac362664612da0 SHA512 c11f03628b9886d40ca8e4564c2d758ad71a7fcc5058cfdb794c3280b0f86d247e59adac0d8865678553f58b216cf6d12cd13de778d8b9e564f25d057a0e07d1 DIST x86-bin-libreoffice-gnome-java-5.4.2.2.xd3 25943139 BLAKE2B c1a76a8b1c10d8fdef90599c55fc566708877e245007959d5baec5b408bfbd74652acb61528bc13d795c8fc7ac1cb47c7ee99a8b0d127fc575e3d49fcf26cb2a SHA512 38de8628272f7633c9e1c32dc08161ecb40ca824bac433122f45d696b1d89376fb6a5843c125295f66e00f61c354da223b2cebb2683f0a03d38b6017b002f7a8 +DIST x86-bin-libreoffice-java-5.4.2.2-r1.xd3 22549416 BLAKE2B f1f1dfd68af16cfc3be1727bf223c8bcf3945045519cac1515a22dcff7d8304831917d610be4f269195238ca903d9150abe04df7e71b9f5149cb0dd78dc47b53 SHA512 2d8e4324bc588d6d9950daaa1d85f02580ced2c743326c656a1ef04aace957b2999828d607126bb4195fbce1f6dcd2dcd70da48bf6c5e6f889b641905e9faedf DIST x86-bin-libreoffice-java-5.4.2.2.xd3 24836939 BLAKE2B ccc413ba0900e7cc6605b0a17102cfcbc0410158580ecce759a149bde3614838d9d4f7fbed279b09331b388357467ba97e75892897e7095b26820f97cdbba69a SHA512 1b9a4ecb1f2304b60a19079d19405bd3d88da4123d80b14915a7494e0f8bb78b11fb9cbbba026691072cceeb74c4f7736a18167bfa67eb74b7a25dfafb69fa4d +DIST x86-bin-libreoffice-kde-5.4.2.2-r1.xd3 6268866 BLAKE2B 0870aaafe5d5d205d1abcf45504030190066fa7a2d0dcb27ef6486baf2f70b2277a6dbf931ef19a10e354e9bd285e0bb55cdd3dcbac19c416240c2d6456128ef SHA512 581916d02c36df1b27057acd21ff98b74ec574ef78441992598cb4aa9fa4795cb5c8767040d08711c2b3f3b471a1fbb6fc4b6139e4eda1b7b6de21fb76d0ed35 DIST x86-bin-libreoffice-kde-5.4.2.2.xd3 7039660 BLAKE2B 9c6bc3cac15ab322c206292c7e9cf560ef675737ad82bddf58d411069e5c657542bc7d8bbea365caf6f16960b70a4e092400783dfa1d7b50ac1b301a39b654ea SHA512 6e289355170bb7fdb9273902647332a8dff4f4b02e420416eabfcf40b1aca6986adcb7f682ad9d8a89907d90a1090ad8eff3c283f025ae688a1547b653149cdc +DIST x86-bin-libreoffice-kde-java-5.4.2.2-r1.xd3 22630525 BLAKE2B 744267ac7c1fcc12c818a2a77bae7c2dc07009518712627103952a9e74355cbbb7c99b925340d211ae74e50df267fe8b135cfc88c66e41cbe9ca366acc09d5fe SHA512 580a19d8ac55dcd179daf3a04692d1eed397912202fd11de5003d6a9b445b8e3e2a8a93ed9406b40ef287f8b98b685b0418f72ce5c9874d3a7fba0befa34b807 DIST x86-bin-libreoffice-kde-java-5.4.2.2.xd3 24919539 BLAKE2B 7da2fcad2eee3d35ad876d988bce486f11721cbe4506069bb782e760ef7b02372f529f4329eb290c603f0c7146a04c711f3facc431028b42b2c8ec655e25de8d SHA512 5c982b7bdd2071c57556e821e46ab58d2ceb3c34a8e45a4e9abc3719917991c5c69d3bb242639fc51654163849f3dc0668620939d082228e048d1236d6ce96fd diff --git a/app-office/libreoffice-bin/libreoffice-bin-5.4.2.2-r1.ebuild b/app-office/libreoffice-bin/libreoffice-bin-5.4.2.2-r1.ebuild new file mode 100644 index 000000000000..1b797f0f1a4c --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-5.4.2.2-r1.ebuild @@ -0,0 +1,249 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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=( python3_6 ) +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/1.6 + =app-text/libexttextcat-3.4* + =app-text/libmwaw-0.3* + dev-libs/boost:0/1.63.0 + dev-libs/icu:0/58.2 + >=media-gfx/graphite2-1.3.10 + media-libs/harfbuzz:0/0.9.18[icu] + media-libs/libpng:0/16 + >=sys-devel/gcc-6.4.0 + >=sys-libs/glibc-2.25 + virtual/jpeg:62 + kde? ( >=kde-frameworks/kdelibs-4.14.37:4 >=dev-qt/qtcore-4.8.7-r3:4 >=dev-qt/qtgui-4.8.7: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-crypt/gpgme[cxx] + 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/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* + dev-db/unixODBC + dev-lang/perl + dev-libs/boost:= + dev-libs/expat + dev-libs/hyphen + dev-libs/icu:= + dev-libs/libassuan + dev-libs/libgpg-error + =dev-libs/liborcus-0.12* + dev-libs/librevenge + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.0d:0 + >=dev-libs/redland-1.0.16 + >=dev-libs/xmlsec-1.2.24[nss] + media-gfx/graphite2 + media-libs/fontconfig + media-libs/freetype:2 + >=media-libs/harfbuzz-0.9.42:=[graphite,icu] + media-libs/lcms:2 + >=media-libs/libcdr-0.1.0 + >=media-libs/libepoxy-1.3.1 + >=media-libs/libfreehand-0.1.0 + media-libs/libpagemaker + >=media-libs/libpng-1.4:0= + >=media-libs/libvisio-0.1.0 + media-libs/libzmf + net-libs/neon + net-misc/curl + net-nds/openldap + sci-mathematics/lpsolve + x11-libs/cairo[X] + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + virtual/glu + virtual/jpeg:0 + 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 + ) +" + +RDEPEND="${COMMON_DEPEND} + !app-office/libreoffice + !app-office/openoffice + media-fonts/dejavu + media-fonts/liberation-fonts + media-fonts/libertine + || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) + java? ( >=virtual/jre-1.6 ) +" + +PDEPEND=" + =app-office/libreoffice-l10n-${PV}* +" + +DEPEND="dev-util/xdelta:3" + +# only one flavor at a time +REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}" + +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 + 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_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 +} |