commit: df92932d2de71e62037c0ef35948ea9118579b39 Author: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> AuthorDate: Fri Sep 12 14:15:06 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Fri Sep 12 14:15:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df92932d
app-text/zotero-bin: add 7.0.24 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> app-text/zotero-bin/Manifest | 2 + app-text/zotero-bin/zotero-bin-7.0.24.ebuild | 84 ++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest index f3918fee3563..49e506aa3ce2 100644 --- a/app-text/zotero-bin/Manifest +++ b/app-text/zotero-bin/Manifest @@ -2,3 +2,5 @@ DIST zotero-bin-7.0.11-amd64.tar.bz2 109387437 BLAKE2B 1af59f2b768c962dfe9575a3f DIST zotero-bin-7.0.11-x86.tar.bz2 113321965 BLAKE2B 5c25e1c825a964b4c3a4371c7ec67132662d77f5e64ca0dc8c8f2346f25a106068da0a8193047c09b7645ae699ce0e5256bc46664cf221634ea225a1b54b3ae2 SHA512 b83af4e6b8e3748cc6ea04046bc4e6c4299c510af6154ccce4df9fd50e356376a675170187521da8009a17240907030929c61145e45702ee90610716e2d4873d DIST zotero-bin-7.0.15-amd64.tar.bz2 109456108 BLAKE2B 3778ee21880f7bfe3f56c4197b22c19bb26e33a79998d29973137b86f9fab376846db1a263b599296ee6bf40113104928c7c2d6b63d4ef6e051a61da7da83e3a SHA512 a564955e4a18eabed30d3442781fd771d25c4d3e5b321d6906642bb918390dbc99abb0a6f5b1265ee980da62746a53513a7bfafee17156844b0639c07304dc05 DIST zotero-bin-7.0.15-x86.tar.bz2 113391204 BLAKE2B 8b6a69b172b17b7bc12593c502c28985bb62d90ea0da4f950d6e10537bdc740e6587a6aa9b79ea4209c80c8a4cc3d616299fa2f173d3508f7c73ce6f199df5ff SHA512 20ce498216686117fddf769eacff35f6a75ba6deaa275ab6209f3d1dc2177cad0a5fc416916e193bb4c0be7d0b400bed66fe2ca23cbc94cd702fc85c9a4edf25 +DIST zotero-bin-7.0.24-amd64.tar.bz2 109593102 BLAKE2B c4290395800db29bed9fe5ddfaa4aacefcc038cb98a3dcce898f10b81afa6e07facc4a65c26ee6e6dc933042489e27d0952e8bc5defbb0b7e1b187d95893d109 SHA512 2027a9ffe14ddada1a3914d4325700d054bda5a17baed4092b62d1c09f99eaeb817bb3d1fd0aa5322cd0213fadd65b0cd87a95e0cd80ff46e3217d0f4d56ff17 +DIST zotero-bin-7.0.24-x86.tar.bz2 113524426 BLAKE2B 1ff36666d42914e6d9bb55ab0e32b4b22f25ef122b1895641bafaacd51161da3f3489871e59b85e924ffe6e64b0db1143f2c329a6d88076798734445d980310d SHA512 6e32e03c4862b635510e60ff42e12c7dbbbf7a2bb3bbde1a37ed99707fd513696f5c02b8ebf68506543b9d6bf3ec88a77bfdf0b8177fb02a9227378ecd5b6685 diff --git a/app-text/zotero-bin/zotero-bin-7.0.24.ebuild b/app-text/zotero-bin/zotero-bin-7.0.24.ebuild new file mode 100644 index 000000000000..a146fc26427b --- /dev/null +++ b/app-text/zotero-bin/zotero-bin-7.0.24.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg + +DESCRIPTION="Helps you collect, organize, cite, and share your research sources" +HOMEPAGE="https://www.zotero.org" +SRC_URI=" + amd64? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}-amd64.tar.bz2 ) + x86? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-i686&version=${PV} -> ${P}-x86.tar.bz2 ) +" +S="${WORKDIR}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="-* amd64 ~x86" + +RDEPEND=" + app-accessibility/at-spi2-core + dev-libs/dbus-glib + dev-libs/glib + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango +" + +QA_PREBUILT="opt/zotero/*" + +src_prepare() { + if use amd64; then + cd Zotero_linux-x86_64 || die + elif use x86; then + cd Zotero_linux-i686 || die + fi + + # disable auto-update + sed -i -e 's#URL=.*#URL=#' app/application.ini || die + + # fix desktop-file + sed -i -e 's#^Exec=.*#Exec=zotero -url %U#' zotero.desktop || die + sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop || die + + default +} + +src_install() { + if use amd64; then + cd Zotero_linux-x86_64 || die + elif use x86; then + cd Zotero_linux-i686 || die + fi + + dodir opt/zotero + cp -a * "${ED}/opt/zotero" || die + + dosym ../../opt/zotero/zotero usr/bin/zotero + + domenu zotero.desktop + + for size in 32 64 128; do + newicon -s ${size} icons/icon${size}.png zotero.png + done +}
