commit: 06cfdda524a055e86aea24ab9c5c0106b09bef8f Author: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> AuthorDate: Mon Feb 9 15:52:03 2026 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Mon Feb 9 17:16:51 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06cfdda5
app-text/zotero-bin: add 7.0.32, 8.0.3 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> app-text/zotero-bin/Manifest | 4 ++ app-text/zotero-bin/zotero-bin-7.0.32.ebuild | 84 ++++++++++++++++++++++++++++ app-text/zotero-bin/zotero-bin-8.0.3.ebuild | 84 ++++++++++++++++++++++++++++ 3 files changed, 172 insertions(+) diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest index 1ce7d2ee80e7..e2f85eecf71d 100644 --- a/app-text/zotero-bin/Manifest +++ b/app-text/zotero-bin/Manifest @@ -2,3 +2,7 @@ DIST zotero-bin-7.0.24-amd64.tar.bz2 109593102 BLAKE2B c4290395800db29bed9fe5ddf DIST zotero-bin-7.0.24-x86.tar.bz2 113524426 BLAKE2B 1ff36666d42914e6d9bb55ab0e32b4b22f25ef122b1895641bafaacd51161da3f3489871e59b85e924ffe6e64b0db1143f2c329a6d88076798734445d980310d SHA512 6e32e03c4862b635510e60ff42e12c7dbbbf7a2bb3bbde1a37ed99707fd513696f5c02b8ebf68506543b9d6bf3ec88a77bfdf0b8177fb02a9227378ecd5b6685 DIST zotero-bin-7.0.30-amd64.tar.bz2 109675355 BLAKE2B 26800112a8e675fce393b09ccb73c14bc37da67bb088f91c64965a424c9a68318ec69e34b2786fc20abca1a13beb08ab0d4002d0c50c65525fc8032833356b20 SHA512 478a54c4a874b711db16da75e136d8aafffd48923cf370dba499d5553d8ee47a5e6c1818e1a7a0e699d9756a6cf713f828d5f5eea4a998ff7a4ba3561bda3024 DIST zotero-bin-7.0.30-x86.tar.bz2 113606518 BLAKE2B 585c94b688c75e6fc2acf4a65fe4aed3319ad07829df14060d4435c48aa4a2a682c310ee7c51c3ff524a04078d4f819da82125124b61f74d69d0b05b021feded SHA512 3d12ef445fbe7ee304485084f3d86778620ac6c8a54ff5268e65bf76f384e1f517e4b58b8a2691a8b94558880284b9f2ff4b027adaeb44c02d3ec7cea747a858 +DIST zotero-bin-7.0.32-amd64.tar.bz2 109746813 BLAKE2B cfae20d91101fd3c0b60d080aa6957b2b8c9531fb01d02666586554350160afc90b5759510d1882cda9c9dfe7a56ac5afcb07dcd899789786d6d9c0b7060aef7 SHA512 14d4941a095d761dc7e5cae745c4c274cadc612f7dffcb7d6735d80418deaf90e37f67da31a0463d6f168a7356f840ba9b297cc8094aabb4c88c661d36f744ff +DIST zotero-bin-7.0.32-x86.tar.bz2 113680491 BLAKE2B 915d390ba03d6e0bd2ce8412aa02aff03f144b2c61ab164a447e60bb40634629c9d74c1a3588b7d3a3012c5c8c69aa365527503b8b156134b8ea086e90b14702 SHA512 5c5575b1b03af1c16ca882df80bbf7c62cf8470ce15094efb71e13cc0d24a8880904a39a724cae6e72acd5e73b43c16fa0551fa03e6717baa14fc58529f6b424 +DIST zotero-bin-8.0.3-amd64.tar.xz 102931920 BLAKE2B e5bd9faa1a6000207c5a64df8c1c1737ccf813b5c2e5ae3596706a72cb5d6c72bdd66e61ee6b99363a1ca266a5528950cf263df7931310af9607cfd8958afb5e SHA512 05c4bbd0983f912734f91868a7f40ee8a4669db08dd8cb1c8fb6bca02d3af4552fae2cac4ae35e67b123f4c2276b3cb9fbfab057cc4ad3bd6f549bcf262f9d03 +DIST zotero-bin-8.0.3-x86.tar.xz 105977808 BLAKE2B 359332433bc418f6ebb9597d5f538819754f2a0c897b1f9bc33ed7308d77d10c66371b780264ceab2e14c58a7cafb1769536ccbfdace720c70f2a9e556f6ed8a SHA512 e14396a8bfb3f3eec246c950285173406cc1bdcc7a3f7d0336efabfc21460d8b3866b615fea744ec2e01ba8ed0e8c1fff80c5bd59ad93a395a2c39a3953c7a1d diff --git a/app-text/zotero-bin/zotero-bin-7.0.32.ebuild b/app-text/zotero-bin/zotero-bin-7.0.32.ebuild new file mode 100644 index 000000000000..483ce53f3842 --- /dev/null +++ b/app-text/zotero-bin/zotero-bin-7.0.32.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2026 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 +} diff --git a/app-text/zotero-bin/zotero-bin-8.0.3.ebuild b/app-text/zotero-bin/zotero-bin-8.0.3.ebuild new file mode 100644 index 000000000000..66de82ef063a --- /dev/null +++ b/app-text/zotero-bin/zotero-bin-8.0.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2026 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.xz ) + x86? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-i686&version=${PV} -> ${P}-x86.tar.xz ) +" +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 +}
