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 49E52158003 for ; Mon, 9 May 2022 17:59:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40431E0901; Mon, 9 May 2022 17:59:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 20FF1E0901 for ; Mon, 9 May 2022 17:59:45 +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 389CB34151A for ; Mon, 9 May 2022 17:59:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C6851E for ; Mon, 9 May 2022 17:59:42 +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: <1652119173.9ace56e32e645030360bf8fa9c98d5da16c8e24e.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.7.ebuild X-VCS-Directories: app-text/zotero-bin/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 9ace56e32e645030360bf8fa9c98d5da16c8e24e X-VCS-Branch: master Date: Mon, 9 May 2022 17:59:42 +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: ab89aabb-633b-46de-b839-fa4cadb6d477 X-Archives-Hash: 386388ad178835d134cfc958b5d64cbd commit: 9ace56e32e645030360bf8fa9c98d5da16c8e24e Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon May 9 17:23:35 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon May 9 17:59:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ace56e3 app-text/zotero-bin: add 6.0.7 Signed-off-by: Andrew Ammerlaan gentoo.org> app-text/zotero-bin/Manifest | 1 + app-text/zotero-bin/zotero-bin-6.0.7.ebuild | 72 +++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest index 42d136edac01..349c56f416e3 100644 --- a/app-text/zotero-bin/Manifest +++ b/app-text/zotero-bin/Manifest @@ -1 +1,2 @@ DIST zotero-bin-6.0.6.tar.bz2 68462336 BLAKE2B 5d42f0439d9bf6188a602d44aa75613e257a17efc76e089fdbdc5fe036a383e74fba39086bbc05f8275477b79bab4a840132f7e839fcd904d25f218c1959fee8 SHA512 b38990497ff1471e763f4bbc96c09aaa89fc0d10a0e55a584edd3bb35f9d446d359eac1d8637a9af4bb8585870bbb27393ffb12379dab1b04dab3469c68b4741 +DIST zotero-bin-6.0.7.tar.bz2 68578108 BLAKE2B ba1befc180978104396b059dec098e3cb273b19ddeaf9994588ce761752549a6962b31dc4ffcc749317403512df7686beae399a75c66328d24ba256963efe6bd SHA512 a8e060ef062d64e17e78c30018e227e08662fea6dc9818121401aa6bb3f9245b149bfeb0a90f1d4d13243eb705ca8e184deef1bf76f3db395a23470b7bfe0f1d diff --git a/app-text/zotero-bin/zotero-bin-6.0.7.ebuild b/app-text/zotero-bin/zotero-bin-6.0.7.ebuild new file mode 100644 index 000000000000..b9f2fd5004e0 --- /dev/null +++ b/app-text/zotero-bin/zotero-bin-6.0.7.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 +}