diff options
author | Nowa Ammerlaan <nowa@gentoo.org> | 2024-12-26 13:07:38 +0100 |
---|---|---|
committer | Nowa Ammerlaan <nowa@gentoo.org> | 2024-12-26 13:07:38 +0100 |
commit | abe73c338a1aa7ba0832f226e613b5e5d61e8c4e (patch) | |
tree | aa03f608227cb368551b70bbfb01f1d7b083d607 /app-text | |
parent | media-libs/libvpl-tools: add 1.3.0 (diff) | |
download | gentoo-abe73c338a1aa7ba0832f226e613b5e5d61e8c4e.tar.gz gentoo-abe73c338a1aa7ba0832f226e613b5e5d61e8c4e.tar.bz2 gentoo-abe73c338a1aa7ba0832f226e613b5e5d61e8c4e.zip |
app-text/zotero-bin: add 7.0.11
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/zotero-bin/Manifest | 2 | ||||
-rw-r--r-- | app-text/zotero-bin/zotero-bin-7.0.11.ebuild | 84 |
2 files changed, 86 insertions, 0 deletions
diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest index cdb3d3fecd9b..6ce008ddab7a 100644 --- a/app-text/zotero-bin/Manifest +++ b/app-text/zotero-bin/Manifest @@ -1,3 +1,5 @@ +DIST zotero-bin-7.0.11-amd64.tar.bz2 109387437 BLAKE2B 1af59f2b768c962dfe9575a3f6fb50572eb57db26412dd91abca10c2d476023a8a2d44ba93d2607b6f084c91c4e8d0d3788dfdf85c989fb574d6eea5dc565e8c SHA512 ec69ba264a3bf05a579057122738a38316f7de43ce46229d3b6ef6b13c4a43b01d647179206b46a1c46d5e093579f81dc875d022675d167ad7e023ac7558f806 +DIST zotero-bin-7.0.11-x86.tar.bz2 113321965 BLAKE2B 5c25e1c825a964b4c3a4371c7ec67132662d77f5e64ca0dc8c8f2346f25a106068da0a8193047c09b7645ae699ce0e5256bc46664cf221634ea225a1b54b3ae2 SHA512 b83af4e6b8e3748cc6ea04046bc4e6c4299c510af6154ccce4df9fd50e356376a675170187521da8009a17240907030929c61145e45702ee90610716e2d4873d DIST zotero-bin-7.0.5-amd64.tar.bz2 109076934 BLAKE2B c1c685648a887e57fad7499b7e4adb5a04d0a2f8eaaf248340fea18f60edaf503f7916983b686847e1f2a11fcd655fe908702c0427647086e55eaf06b6b7be4e SHA512 61e3407c75f7c392562909c73b3335872ccfd007f2ec0c2c7c75b478c9071d48803c31c28cbb49c82a7ef7a05016a155a55c2821b5e577ff7c5674a3115bb32b DIST zotero-bin-7.0.5-x86.tar.bz2 113004962 BLAKE2B b92719cf66045c7b2ca4c7108822b510583629b6886a0a16676b1cb4ff7302ea303f94410f24f378909a7ff55bb3d459bdedfce0e1de4bd32a8db921548c7bd2 SHA512 21ed0b6fa088ce92699a271ef64171c583fa669e42cb6517e3b0238294ddcfed80a3d001a928dfb3916ad41b04f70d08bad065741e7f4caa98978ad4b1b6fa4f DIST zotero-bin-7.0.7-amd64.tar.bz2 109119371 BLAKE2B ec4530c36bf909b81b2b537bb7feac4a5c69584478a8eb8545d1f517ed9a00ffeb988aafe71fd5646fd253a97195b2e3d2f3ea6e6695c57621b3cd08c1e6ad4b SHA512 0fdb946478cdad09169c3e0ccb58a976d0bc7f08e82b43f0016404c0e369ba59cb077e2d27d568d4bb9fab0831c42834c2c4e93d2f78e4dbf233fd2e2f76001f diff --git a/app-text/zotero-bin/zotero-bin-7.0.11.ebuild b/app-text/zotero-bin/zotero-bin-7.0.11.ebuild new file mode 100644 index 000000000000..56e522c44ad2 --- /dev/null +++ b/app-text/zotero-bin/zotero-bin-7.0.11.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2024 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 +} |