app-text/zotero-bin: add 9.0.4

Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
Nowa Ammerlaan
2026-05-22 21:45:40 +02:00
parent a75eaf23f0
commit 2dd0209db4
2 changed files with 90 additions and 0 deletions
+3
View File
@@ -6,3 +6,6 @@ DIST zotero-bin-7.0.32-amd64.tar.bz2 109746813 BLAKE2B cfae20d91101fd3c0b60d080a
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
DIST zotero-bin-9.0.4-amd64.tar.xz 103988140 BLAKE2B a3fafc0e6340cd44728ea4c62aa2ae0f1daf3acc97074ccba54a0222a1a3f432d6ec34750b28917a43479fb8c9753efa0a3d329247c4f4214ffd7ce63cb3039b SHA512 3cdf1b80c49e6cf083ea1bc2e76b1769445d4e24199a450fabb1ac26a0fc830ced91041cc26a1d87113d1f493795e10c54050efb8ef05462e9a31911847f83e2
DIST zotero-bin-9.0.4-arm64.tar.xz 94904424 BLAKE2B 8271e8702d78348b63a938214ca220d17a2043d3b79bc3ede9db189575f2fec6dab702927b8f5533ab444b61cd9931126c64d8a1de71243dbf81a1edb2432fe1 SHA512 3612c11f7cdf140a119d5663ce7e5858c123e6c6376e07be1350b3a1646451cea51eb194d9b7d71b11d46f1e753b60c63b18af6fe6ad49d73fc405a1a3f16de8
DIST zotero-bin-9.0.4-x86.tar.xz 107010116 BLAKE2B cd29735d9d9bf0700d96807324973fed688eccc40f48d344d6d0cfe448357842f18f763447c262a8b29fbb0b7b4da6a66edd50b17154afa3098b0420119ffc11 SHA512 f2b6430ec4bd0e5348f6ab216b58cc7321af185eed4b9e9ee17b1c3b64e77f7d7dbcca9f823e290b08c2ab74cf9d20e41980157431d5666f554ded83426bb4ae
@@ -0,0 +1,87 @@
# 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 )
arm64? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-arm64&version=${PV} -> ${P}-arm64.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 ~arm64 ~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 arm64; then
cd Zotero_linux-arm64 || 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
}