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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DFFBA15808D for ; Sat, 23 Apr 2022 18:24:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9746EE0934; Sat, 23 Apr 2022 18:24:33 +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 8D34DE0933 for ; Sat, 23 Apr 2022 18:24:32 +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 B4F2E340FE1 for ; Sat, 23 Apr 2022 18:24:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB3EC2E0 for ; Sat, 23 Apr 2022 18:24:28 +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: <1650738258.e319d10963f94dfdc4c715a33f3ba23f4b3ec20b.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.5.ebuild X-VCS-Directories: app-text/zotero-bin/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: e319d10963f94dfdc4c715a33f3ba23f4b3ec20b X-VCS-Branch: master Date: Sat, 23 Apr 2022 18:24:28 +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: cbac431a-25cd-4894-b123-f6c818238ef9 X-Archives-Hash: 26d9af00bfef02e5781e833d0e3eb7e7 commit: e319d10963f94dfdc4c715a33f3ba23f4b3ec20b Author: Andrew Ammerlaan gentoo org> AuthorDate: Sat Apr 23 18:22:39 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat Apr 23 18:24:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e319d109 app-text/zotero-bin: add 6.0.5 Signed-off-by: Andrew Ammerlaan gentoo.org> app-text/zotero-bin/Manifest | 1 + app-text/zotero-bin/zotero-bin-6.0.5.ebuild | 72 +++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest index 3db1e5b00afb..d67a59b24391 100644 --- a/app-text/zotero-bin/Manifest +++ b/app-text/zotero-bin/Manifest @@ -1,2 +1,3 @@ DIST zotero-bin-5.0.96.3.tar.bz2 61236517 BLAKE2B 3de6d41349f9cc405dd3d44e8e456169d58bdd1f4522c31cd168182878839fe8ca6280eff7339bcf3d66c87c7d4f5af55d768551abcff3cd579342cae37b64e3 SHA512 0777ec41bc151b0bd30076f8a7f59e431c3435728b4d85298421ef11aea5b7c1e122d3bb7fcc5551bb8c4472922796d9508a56df7a0913515d8568fcf3ca6fee DIST zotero-bin-6.0.4.tar.bz2 68409133 BLAKE2B 9aeb7cfc8e12f7cdd8aa595fa46564d873c51603295f2dd802ba7ad8baaf59e366fb85d5b98c6614222f98449c800e58b7fb190cbb80a1991beb0c69669d6da2 SHA512 14f759dab9e02253f7be8269575fabedc79556cc81eb1bcfaa5d945280b174545b9f23b2c190824124503f353af6a0416c15ecea99a81f5f000207a1eefe84b9 +DIST zotero-bin-6.0.5.tar.bz2 68482314 BLAKE2B 77c17665b8584b828764a07012f3f91237dc73b334a9635fe50fae9da1ca20901a7bab22ef7008baf14c60209fc0ed9d1f6791c0a4bf3bd9414713a1071c9685 SHA512 568583c44436d9830e0b9271bfaedf7380556498c757de0bcea07ba97202aa853f92501c9aa755637ba4810d266a43c2ee17a1eedef564d22821e7f4ee337ff0 diff --git a/app-text/zotero-bin/zotero-bin-6.0.5.ebuild b/app-text/zotero-bin/zotero-bin-6.0.5.ebuild new file mode 100644 index 000000000000..b9f2fd5004e0 --- /dev/null +++ b/app-text/zotero-bin/zotero-bin-6.0.5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 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="https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}.tar.bz2" +S="${WORKDIR}/Zotero_linux-x86_64" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + dev-libs/atk + 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() { + # 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() { + dodir opt/zotero + cp -a "${S}"/* "${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 +}