From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D91DA15802F for ; Thu, 23 Feb 2023 07:36:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67110E041F; Thu, 23 Feb 2023 07:36:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3AD7DE041F for ; Thu, 23 Feb 2023 07:36:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DED4340BEA for ; Thu, 23 Feb 2023 07:36:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B5108BB for ; Thu, 23 Feb 2023 07:36:49 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1677137775.1897dca8e7c3b6d8225d1632701fc8a140623775.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zotero-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/zotero-bin/Manifest app-text/zotero-bin/zotero-bin-6.0.22.ebuild X-VCS-Directories: app-text/zotero-bin/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 1897dca8e7c3b6d8225d1632701fc8a140623775 X-VCS-Branch: master Date: Thu, 23 Feb 2023 07:36:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6a9867fc-25ab-427f-a739-7eb75becb91c X-Archives-Hash: 20bd3ae0c16af337cd5873ecf509fa1c commit: 1897dca8e7c3b6d8225d1632701fc8a140623775 Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu Feb 23 07:36:15 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Feb 23 07:36:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1897dca8 app-text/zotero-bin: add 6.0.22 Signed-off-by: Andrew Ammerlaan gentoo.org> app-text/zotero-bin/Manifest | 2 + app-text/zotero-bin/zotero-bin-6.0.22.ebuild | 87 ++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest index 58637af832f6..b10c702aae72 100644 --- a/app-text/zotero-bin/Manifest +++ b/app-text/zotero-bin/Manifest @@ -2,3 +2,5 @@ DIST zotero-bin-6.0.19-amd64.tar.bz2 69255233 BLAKE2B b52b2d540e3a5ac2aa949d4f31 DIST zotero-bin-6.0.19-x86.tar.bz2 70911732 BLAKE2B d409d993551836ffc09f3e3b33a1b24055d409faa9137facb25500d13d12cbfaf59893ffaac60a4e8bef4d2ac2d8806eaad1b0c8255162c1e0e75b674c35b0f9 SHA512 e1bba3cc1c1f39d0eec0d8d26d16e26a9142e5c255a52e63ccf78b5341596619ca104610507bc2086f57c5da975c70bec43020cf0dfcb0bce6ad0f8b42e169bb DIST zotero-bin-6.0.20-amd64.tar.bz2 69268379 BLAKE2B 126c1499e375726cc25fb5ebe366137e11dfc288ac9e0d93680459e602378400419f82cc4ed6556d10973e1928c89a8711ac369203d221be94a291340a3f1f11 SHA512 c054d3bf344bb8ca5a762ef99d5e214158de02f70f248ca28a9a345273edfa9e93525e0cd70e2c2eeb7039714e310e6b24d04268eb608087cab738b849200b4b DIST zotero-bin-6.0.20-x86.tar.bz2 70930545 BLAKE2B 96c3b2df646fdd0401f1b7a6deb7061fe5c517e8a95f3c6cdcd8686473f12fc51f7847029784d827f929745d3e660b57d7de783e82809ce76f8868335f0d10ec SHA512 9ac5b251db998e0ba8a838441111c9e4c994feee40608bf2a7e6dc1b6d50a7585d6d9a9ffa4ba0aa1afbde94b2cfc4a32522d4bf79255cef729634354ebd76ab +DIST zotero-bin-6.0.22-amd64.tar.bz2 69278351 BLAKE2B 9f401ad27751fdb1cf8a156abae467c9a4e98214d816431103bf722d8c509e19593eb041af3d4cb516a26c6f6c7d9428609494a0daac302262ed0f32d10a515a SHA512 0de268da38b2b597a19a0bfceeca2e712b9b909f5210bac4fced76a3d84f7ede5028d441c3b4f48fc9eeb53bea003005e25056cabfa57b47449c6db74a04291c +DIST zotero-bin-6.0.22-x86.tar.bz2 70934510 BLAKE2B b361b8a99616a7306e6de754871cc03141944fcdf30e76ce8ce5020d3e19efe066d2c093d96a190081f27728110d44168b2f87e80a3eb5c9bdac941d1708b391 SHA512 c0925a5163eb6aef6173a465598580c5c25a784a7bfcc288623ff35d3202255f4af40750e675c5c526929ecb3cfa4886707390d978580c2ed36aa2f02d195162 diff --git a/app-text/zotero-bin/zotero-bin-6.0.22.ebuild b/app-text/zotero-bin/zotero-bin-6.0.22.ebuild new file mode 100644 index 000000000000..07c557e6c051 --- /dev/null +++ b/app-text/zotero-bin/zotero-bin-6.0.22.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 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/fontconfig + media-libs/freetype + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + 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/libXrender + x11-libs/libXt + 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/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die + + # disable default oo installation questions - manual installation is still possible + sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \ + extensions/zoteroOpenOfficeIntegration@zotero.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die + + # fix desktop-file + sed -i -e 's#^Exec=.*#Exec=zotero#' 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 16 32 48 256; do + newicon -s ${size} chrome/icons/default/default${size}.png zotero.png + done +}