From 37a097af13d675b83911ac006ee9ee22d2163f9a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 2 Nov 2024 03:04:24 +0000 Subject: gentoo auto-resync : 02:11:2024 - 03:04:23 --- app-text/zotero-bin/Manifest | 3 ++ app-text/zotero-bin/zotero-bin-7.0.9.ebuild | 84 +++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 app-text/zotero-bin/zotero-bin-7.0.9.ebuild (limited to 'app-text/zotero-bin') diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest index 4f085bb5df92..1adc3218da14 100644 --- a/app-text/zotero-bin/Manifest +++ b/app-text/zotero-bin/Manifest @@ -2,6 +2,9 @@ DIST zotero-bin-7.0.5-amd64.tar.bz2 109076934 BLAKE2B c1c685648a887e57fad7499b7e 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 DIST zotero-bin-7.0.7-x86.tar.bz2 113050907 BLAKE2B c0d975bde1b330f566f1bbfe203e5458230b803c8611bfd9878483727baba6703dad621a2fea892dfb152399b928f697e40963714f445affd43c3fc8dc98a589 SHA512 bb931cf0115516c7a870b6ec61f2f73b7be5d768fde4cb7a0120bbad40b5284667c8b2cd2aac9d06d7e1701c1fcecb8ca4376f76f8556e9dcb1b9ffe76cc9b7d +DIST zotero-bin-7.0.9-amd64.tar.bz2 109258993 BLAKE2B 31543016f0c3e5635b7e63a1a5180bc09e9f10d80f9f190a2bab4e419f480cc018998cbc974fe0b5c20875057ad6e635bebfa8fcc7a4121a888b22dc90e66c37 SHA512 d8ca1012284c50d6a574ff13bae8e3422e7a04c7fd0002c04b757789e261e40731fe86edd2cf5144987e02f2b24e8f37336710e13812cceab941b6498bdea7d2 +DIST zotero-bin-7.0.9-x86.tar.bz2 113192202 BLAKE2B ecf0f361e3b570e60b190a4bfbfa7da9b739a08f429b3694479a65f4a7e1aa98e70e42ed23b77fa5c13a8edc4a0bcd13381b0b04352ccf41b189a3d458689ce6 SHA512 75fc41054888e403704d36998402e4b4bde44619229b01e847ca438aac02e23c08fb63cd3adaeb29fe6c21796e0001280f989cdffb1cc4cf4ac7bd51fefb4a72 EBUILD zotero-bin-7.0.5.ebuild 1799 BLAKE2B ed50ea78e3d8678a7ab3527e56a3ca45230c2a906c92311daa1c76f6e2ee47009e77cc05ce4a6657551d8dd58f76b81e40cef67badd9fe9c30b9d7b43ec76ba7 SHA512 9e6f7a4c4d507d71d4f3043a855a7b6fb2c17098c1e80f30e41511460796e069b5b310751949e63f172de7580a8725c6185c3477a787af62b60bd706f8a2ad0e EBUILD zotero-bin-7.0.7.ebuild 1799 BLAKE2B ed50ea78e3d8678a7ab3527e56a3ca45230c2a906c92311daa1c76f6e2ee47009e77cc05ce4a6657551d8dd58f76b81e40cef67badd9fe9c30b9d7b43ec76ba7 SHA512 9e6f7a4c4d507d71d4f3043a855a7b6fb2c17098c1e80f30e41511460796e069b5b310751949e63f172de7580a8725c6185c3477a787af62b60bd706f8a2ad0e +EBUILD zotero-bin-7.0.9.ebuild 1799 BLAKE2B ed50ea78e3d8678a7ab3527e56a3ca45230c2a906c92311daa1c76f6e2ee47009e77cc05ce4a6657551d8dd58f76b81e40cef67badd9fe9c30b9d7b43ec76ba7 SHA512 9e6f7a4c4d507d71d4f3043a855a7b6fb2c17098c1e80f30e41511460796e069b5b310751949e63f172de7580a8725c6185c3477a787af62b60bd706f8a2ad0e MISC metadata.xml 398 BLAKE2B ef8965041b1ddb5dafacd8d3b913c2c272b50460607018468446993062620044b77ee4033d9811979768aafba6def9b3e06775d48f8f194f7ca95ec6ad048c5c SHA512 5a67ca8cbadcfa83e38f983b3e448073970e71f2d2a3c0756d8cbbe54050382095df564bdd5e52b0976a9588f882d814a71179957e09e429a2881a7f48041e53 diff --git a/app-text/zotero-bin/zotero-bin-7.0.9.ebuild b/app-text/zotero-bin/zotero-bin-7.0.9.ebuild new file mode 100644 index 000000000000..56e522c44ad2 --- /dev/null +++ b/app-text/zotero-bin/zotero-bin-7.0.9.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 +} -- cgit v1.2.3