diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-07 23:37:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-07 23:37:50 +0100 |
commit | 8dfbaa8100b5c51e1de0e4e476ef5513e3ed1bdd (patch) | |
tree | 6514153552d2daad7d178ee75d47332710e2979e /app-office/libreoffice-bin | |
parent | 2fe5661a32d6ec0ba1d6b37cc8ae67e3f81459ec (diff) |
gentoo auto-resync : 07:05:2023 - 23:37:50
Diffstat (limited to 'app-office/libreoffice-bin')
-rw-r--r-- | app-office/libreoffice-bin/Manifest | 10 | ||||
-rw-r--r-- | app-office/libreoffice-bin/libreoffice-bin-7.4.6.2-r1.ebuild | 260 |
2 files changed, 270 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index 1c86af8430c2..5fe99e085140 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -1,12 +1,22 @@ AUX 50-libreoffice-bin 158 BLAKE2B 2091698f80fbe097785c60b20f636150a2ee65bf52639fa1bb4a92341d050146040ad8912c5f5e3ca22e48ac3d819053c9948e256fb1d0e0901f7645934bfb89 SHA512 2d1158f48ac80f9212578d020e5659e777ff494adc3abc94438cec6890b88741f92ea2ed3bb4585ffdabe531d55c6938ca9408e9ece5a438e67d480eb406ed50 +DIST amd64-bin-libreoffice-7.4.6.2-r1.tar.xz 146899000 BLAKE2B 8ba568744ffc0cac43b32c5f2ab7eb702a995eab091e407dba1641c202f481451adcc20f51c19c5e85bd8e2aec7517404bca4c732a93bdaf716c759aad6e4d73 SHA512 0eb87b4f47fbda8848e943153bf1025ff8b723902615f6de9da57c427c4d0e3cb107094dc228495c7eaf833bec2b0dbb3eea50371ed5212136728613f2b0c65a DIST amd64-bin-libreoffice-7.4.6.2.tar.xz 146854072 BLAKE2B 29e89876ed6cd6b76c25163b934dd5a647c5314dc9a4968111e91afa75bf7551ec078334af8529d209287def46a2dea9e4e7704f7a71aa9a0288ce9265ae95ca SHA512 3089455406af2d5f6ed7a1e716a741ce0920c3475ce9b0161c0492eb4c19c9fa03c798a0ce6cda7a61bc653ee2fa324c3930551994b884de628fe45513ad717c +DIST amd64-bin-libreoffice-gnome-7.4.6.2-r1.xd3 1533312 BLAKE2B 0e6753977b39de0e3bed8907e55a86d64fa5040982fec93ddd05f2f053497227f2ca80bcd60c080d1eb13d09a301e6f10eece1dfdab2fb693f7b944b5de54e5e SHA512 7c903d2ef7c66017727a774ac9974a07688326b9a86ea941769ed2a19a6dba01f1e55ef3e553a890a83fff4591c82fa36ba33f72f7861c07e25a4145784f392c DIST amd64-bin-libreoffice-gnome-7.4.6.2.xd3 1539785 BLAKE2B 262962089f76d2f1cec1fb412432561c0645127ddb3656ca0517b58846134ad95a8d8863bed21b52a05dfcb34705ea2b8f017b5d45232adc879d9a218e0f84f1 SHA512 40de33e533590fe71ec957d7852ef196cb4e285f64b261a5e02edbeae67d7bf40a436e3730c992ee6697b70bcf5f8c8ee788d9198a3f5f10ed4f592d61da718a +DIST amd64-bin-libreoffice-gnome-java-7.4.6.2-r1.xd3 31491604 BLAKE2B b0307d9b611948181cfb865fa1f121b7cadac3f494aca18333c6aeb1ed64c0cbe44766178484bc1a6632cfd8babd7b88b90f892318c6d218573981228d35c99b SHA512 7fb89ab0c0e13ab0f530b388e39cee4d21b0345a6f89fb8ef22dcf0c6b9f242fa89fc5026c58658a2ae8623ce49766fc62d17cc817b75a5653a95fdb2a2ee4c8 DIST amd64-bin-libreoffice-gnome-java-7.4.6.2.xd3 31563743 BLAKE2B c2414806ace6e642dd618ebce863339627b993f7d6d074290b6a3af1aa4884b3dfa520957ad3726471f57b8d1bacba40ee378722508607e83c5a63193f89d8fb SHA512 dde7dca009f9117af54b011ce78fa52072eb6d5b241f110861cef28b3279d5e3f3ff74b92a1b05be6b9e13d4efa88a65c31db0e814aa7ab6a9de252f1ff5d004 +DIST amd64-bin-libreoffice-java-7.4.6.2-r1.xd3 31442564 BLAKE2B 13bc3fce200c38cd668f6600d1fd892c3b07732ac0f59b8ab97d8bf6975d2a1d3d9b9a4c1659bc33a225c8926170d3b3faa47d31b5f6280114cb4b4f02704777 SHA512 60e76dfbe86573fada99240117384da072cc76a5610d4f4abbefb01c45d41d8a518da84f9c6e64391f9e28eb9bb0414a8d5839f05bd0ed1cde854002b9e21d7d DIST amd64-bin-libreoffice-java-7.4.6.2.xd3 31446539 BLAKE2B a78fc1cdf252e6eda76f753cfef275984a4cfe61437f8fd60dcbf8be91748d3f85488930fc28586fffb776513b90eb256c91b5118ef65320db548d60b427dc40 SHA512 aaa691a5faa2a5f95256f3fedaeaaead60ec1d4d456bcc9f44fd9a2886e01acde114c8556ca6decf96ae3b63b7bacd0400b45b3aabd26edd7880456f21d2c886 +DIST amd64-bin-libreoffice-kde-7.4.6.2-r1.xd3 21615543 BLAKE2B 1ac20a6e04161cc87d07319ffad89d286a9002a12d696bae98ed790dd88f722a3a9942333a09485790f3faea5edad4beb92bd1b7ec76ebe774241281e19c0b7f SHA512 0e84bbc3a7786ab9eb8eea0d6406a2e0d0b5a986406e7a175ddb24cdecc870a659f2e2b2b139b2f242579b9ddff2c1d58e547ed05194f7f0b57ebb7002ba9b84 DIST amd64-bin-libreoffice-kde-7.4.6.2.xd3 21625101 BLAKE2B da27e7a9274d5ed16a14d3a11333d695d77ea07a4bf078f52002da8c6a29105ac748fa03523ff2b9789573214f83123b4c13a1c54a60c1641609b7877d64a1e8 SHA512 7afafdcb90c1a31affdcba98e3f36a4823fd11b4de8ade5ea66b1a112729680eb3da88e8025caaae7896848ce78e18bbe14e2ee52f06f4154292b0310765b8ef +DIST amd64-bin-libreoffice-kde-java-7.4.6.2-r1.xd3 32246133 BLAKE2B d6ed1f861781fbc16897e8e2f5b71116afc484b54d81deac216a9b7bca8262807b815796db57062492894cd9948d031e954cb794df4415979081511e9bcb514b SHA512 454fa85837dd6607be221146a20346689af89a691b1a997c0703d7b3b888a0dcb4c8f668b1a70eaa82433cf993045e4c8483fb2744ef273dc9c7e69b1ef29dad DIST amd64-bin-libreoffice-kde-java-7.4.6.2.xd3 32196626 BLAKE2B 3c85f884a11b57ad134ea5a5d1849a1b9f4b17962e734f4a1ec5b6920f323f24776db96527c8f59afaf2573388cfbde10fb36221ffcfc8190b10a6bdfed64802 SHA512 951dde7f83f283a50f68ee0b22d4ae95a1656920a07e6e34a4747cff7da672ade09058986163f5b9c21c6888c4b6e5e13cd55b91face31c588f0d5759c244f1e +DIST x86-bin-libreoffice-7.4.6.2-r1.tar.xz 147948148 BLAKE2B fdb9cb33a19ff7962faaff345dbe629f07834b568ca5bf29afbcf89928602fab85e17ed979340fb72ee70b0f8729f4760d6a221631b92c6947fa8625117b94df SHA512 4cfb49ac4c4209d1f0293dba83fe444aeaaa4e764d48d41ac500d2a3e5dbf9c0f338a537184fb869a327ce3785262103dde86efd3f3d1d9a9cd80150f5db1fa0 DIST x86-bin-libreoffice-7.4.6.2.tar.xz 147928192 BLAKE2B 450ddd4ff96d96ec03102ef88cd20442213ebb83fac1bf5f4ba5637459dd318530767798b26566cd694b7a229f96d5a5346da5ddc06366e20ec1498068645911 SHA512 b5f636f4444ab79572c31ab2cd3de026ddc96c7daf431617de05b9e8b08d2b988a4c521c593e16b7f665032de89c710b164226f7a0461b077877c8add874db46 +DIST x86-bin-libreoffice-gnome-7.4.6.2-r1.xd3 1515008 BLAKE2B cae5b8f417b61ea29e0952dacb6391b308154ca55961f5f06a7683ada7296e2c88a805dd8b5d70a8adf5d021ae821ea63c318defb269cd7b6db5759cd1b1340c SHA512 2adf137fd8807a99c3ee42f4bb79d1b8cb276d1fc1259420b62886edf888b43bfdc83bd954e8428c2b7c1c17469bced31cdc452a987774bf0e9b3f521d6425d1 DIST x86-bin-libreoffice-gnome-7.4.6.2.xd3 1533290 BLAKE2B dd9efb55044ed4d15ed000ef0edd0bcdff65b87e9abdd38a624dd7ce188e9c2b42a3320305eac048f60be0c5e05480b8771d0dbf11166a47c6dc8caf3793708c SHA512 0b86b364768a232b2eb14d9e4e84cd7201cc16064a3b0108f9605ffa5585007fd2a3eeb1e7b8ba69e7fc9d30564d63aa095a8d60043f60364edd6bf4fae99815 +DIST x86-bin-libreoffice-kde-7.4.6.2-r1.xd3 19581148 BLAKE2B a24c7f6c6fc4a89ca8c6597079b17294eb2b77519482b8659a55a65753efcca63f74facf98941abc69f5249e88432ce68d0f85c87b439ca5ed80f1e44fa58e84 SHA512 6c4481ecd02cc4364ed276669711040bf8a6f9b0c7fce13dc7bd72466f0b4aee087c6fc55a8d0b1943ae11e1714c058e3a714b38363ab1bae54d23a1495ebe64 DIST x86-bin-libreoffice-kde-7.4.6.2.xd3 20590446 BLAKE2B c09ea5c79402ddb5db668ac950f2497ed390c55f30660c06359db73da397f85433fc5cdf4bd716d2326d9727b1c49dcf0785c4c58a794a91f6a7cbf48ebb51ab SHA512 facc20e34da248e8a6dd94caeb27587aa9236594f299cb46bbee9353e64a478198f0077e5f9a4c66b379cce0b6551de010f0dd927a056a8650937b34870ab386 +EBUILD libreoffice-bin-7.4.6.2-r1.ebuild 6402 BLAKE2B a2148a1e2050946d0ea2b4040b2730fb07daf1d825c6b2ce2e736a8deb90e62caeabb3c35acfc5bc9da1e1782abc156b749181894e80d2b6e1f6e44ae513b1a6 SHA512 2297273e9afd847bdc7b0fb4a754fe2680df8df4d377084d4c46d4f1262ad7f0e3e3213b030d5d3809024f42314bba84ba02e803715f71cc24a872758b400a08 EBUILD libreoffice-bin-7.4.6.2.ebuild 6400 BLAKE2B e38037fb48f6d1aed68e45887d700e00fac41aab75acf2227961fe732bb6384c950af2afa87d2e9dabc2bcd9b6f13ad08d2e1f9b7ef61f8f0d1f541defc8d784 SHA512 ef5b4b84899becc8b81e798ebd21b60f65f695e0d5a33fd37938d01b7a72bd151b057cd809323e2e571964ef16a9d9be3a4abbe10df5d50e0beb0339c673bc9d MISC metadata.xml 529 BLAKE2B a789c063d4ee905fd36dd0192d0f2769e0eeff96e69b9f27a2e75ca47a7bcb0ec841e68cd0d5299152df2b9b626bcf301066aa251e1b4ca2b74290d57c448c8e SHA512 b98d77cf995e824efcc392c185e616219d35976f43c343a1cfb1737fb44556edbd47b13d47924e3195159d0ec06e40f4909d0e7cd9deed7a8fa10928bc47becf diff --git a/app-office/libreoffice-bin/libreoffice-bin-7.4.6.2-r1.ebuild b/app-office/libreoffice-bin/libreoffice-bin-7.4.6.2-r1.ebuild new file mode 100644 index 000000000000..2615704fcb0d --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-7.4.6.2-r1.ebuild @@ -0,0 +1,260 @@ +# 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? ( + ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 + ) + gnome? ( + ${BASE_X86_URI}libreoffice-gnome-${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.7 + =app-text/libexttextcat-3.4* + =app-text/libmwaw-0.3* + dev-cpp/abseil-cpp:0/20220623 + dev-libs/boost:0/1.81.0 + dev-libs/icu:0/72.1 + dev-libs/liborcus:0/0.17 + >=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-12.2.1 + >=sys-libs/glibc-2.36 +" + +# 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/abseil-cpp:= + >=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.28[nss] + media-gfx/fontforge + media-gfx/graphite2 + media-libs/fontconfig + >=media-libs/freetype-2.11.0-r1:2 + >=media-libs/harfbuzz-2.6.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[X] + 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}" + +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 + + use x86 && use java && die "There is no build for x86 with Java support." + + 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 +} |