public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zotero-bin/
Date: Wed,  6 Sep 2023 08:40:00 +0000 (UTC)	[thread overview]
Message-ID: <1693989588.00d68f072608bd1dc724ea2ce51ff9ef2fb580fe.andrewammerlaan@gentoo> (raw)

commit:     00d68f072608bd1dc724ea2ce51ff9ef2fb580fe
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  6 08:39:18 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Sep  6 08:39:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00d68f07

app-text/zotero-bin: add 6.0.27

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 app-text/zotero-bin/Manifest                 |  2 +
 app-text/zotero-bin/zotero-bin-6.0.27.ebuild | 87 ++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest
index 9181c557205d..3542b4523231 100644
--- a/app-text/zotero-bin/Manifest
+++ b/app-text/zotero-bin/Manifest
@@ -4,3 +4,5 @@ DIST zotero-bin-6.0.25-amd64.tar.bz2 69360758 BLAKE2B e5ab5824397a28f476e37b41af
 DIST zotero-bin-6.0.25-x86.tar.bz2 71019373 BLAKE2B 0fb892141813774694956029b5ee3e716c623ac9f96a15e9ac429b066dd29206bc2a357330e9e2a0bac842be7fb228b9b7e440f373804654644a96cf962bccd3 SHA512 080535f72882ab32f2bc8050bcaa67f1b02796601be2b1dd5e1d4771c790105978f54b4e2d7a78c7e638f0268d26da60693953df13e2c964fdbb497f43cbbcd9
 DIST zotero-bin-6.0.26-amd64.tar.bz2 69362169 BLAKE2B 53a4ed494f3e68821960cd01dd5f13a8e91cf1165a26a4fc2893a721794fe2449b7b0cbbe5e9a9f91995f9dbd697ac4707e6db302bcc78cd63beff6aba65f9e0 SHA512 9939cd13549a4e446ea1d0433760767bd74500afbe3ba06e7f779fc710fa99dca8460d8445d574a08e44c0cbcd561a9ea76c8dfac028db8397405f9f48698102
 DIST zotero-bin-6.0.26-x86.tar.bz2 71020459 BLAKE2B 859392e9916c7b16c3501aaff913aa7353e240442ad25ba0f9c851e6adca8c5433dad9a07f99f43ea026e5040046ff3bb7f00181e4f9867e72cd0966e607de51 SHA512 a79b2da87db01c5975e924f36db5c855ae72bde6eba71e5a40c00b56d6f63eb7c02d0cefc8aced99c52f26f75a296907cf4b36f06cad3796436f164ff3275fc2
+DIST zotero-bin-6.0.27-amd64.tar.bz2 69342785 BLAKE2B 0c324253d0f6b4385c54979f6806ee964fe4e349cbd18d5b67d93a68e6b4b0214ac52e29a2a30a3a301f300023fb980dc2386d827cec6d0aca2de08f0fd50d37 SHA512 558154c0458a6d820af62dbedd70dba99150a7e4a612685579c03efffe41338fe9606099ddffcc33ce29141754621b6ef547de470fdbfc8ebcffc179c7f11a40
+DIST zotero-bin-6.0.27-x86.tar.bz2 71001470 BLAKE2B b79488085f4ec646a94b8083c7556a7b8086d7e0f8a76349640f857b1df0ef6ad8856b5b614fdadfef04f3f66eedbe93095e2b49545abd8f62cb32139a7dc9b1 SHA512 7ee3d746d08980638402391f275094be545e7aaf6e5713d9dee4dddd921aace177cd29ee4e2965d39805d5ddcfbb3d68c025fae4a612fa23337104429dec467d

diff --git a/app-text/zotero-bin/zotero-bin-6.0.27.ebuild b/app-text/zotero-bin/zotero-bin-6.0.27.ebuild
new file mode 100644
index 000000000000..07c557e6c051
--- /dev/null
+++ b/app-text/zotero-bin/zotero-bin-6.0.27.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
+}


             reply	other threads:[~2023-09-06  8:40 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-06  8:40 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-29 15:02 [gentoo-commits] repo/gentoo:master commit in: app-text/zotero-bin/ Andrew Ammerlaan
2024-09-29 15:02 Andrew Ammerlaan
2024-09-02  9:37 Andrew Ammerlaan
2024-07-05  9:42 Andrew Ammerlaan
2024-03-07 19:32 Andrew Ammerlaan
2023-11-03 11:42 Andrew Ammerlaan
2023-10-27  7:48 Andrew Ammerlaan
2023-09-06  8:40 Andrew Ammerlaan
2023-04-22  8:23 Andrew Ammerlaan
2023-04-19 16:54 Andrew Ammerlaan
2023-04-19 16:54 Andrew Ammerlaan
2023-03-15 14:01 Andrew Ammerlaan
2023-03-15 14:01 Andrew Ammerlaan
2023-02-23  7:36 Andrew Ammerlaan
2023-02-23  7:36 Andrew Ammerlaan
2023-01-17 10:43 Andrew Ammerlaan
2023-01-17 10:43 Andrew Ammerlaan
2022-12-30 11:52 Andrew Ammerlaan
2022-12-30 11:52 Andrew Ammerlaan
2022-11-15 12:14 Andrew Ammerlaan
2022-11-02 13:48 Andrew Ammerlaan
2022-11-02 13:44 Andrew Ammerlaan
2022-10-02 10:39 Andrew Ammerlaan
2022-09-30 14:38 Andrew Ammerlaan
2022-09-30 14:38 Andrew Ammerlaan
2022-08-22 14:47 Andrew Ammerlaan
2022-07-19 18:44 Andrew Ammerlaan
2022-07-06 11:36 Andrew Ammerlaan
2022-07-06 11:36 Andrew Ammerlaan
2022-05-19  7:45 Andrew Ammerlaan
2022-05-19  7:45 Andrew Ammerlaan
2022-05-09 17:59 Andrew Ammerlaan
2022-05-09 17:59 Andrew Ammerlaan
2022-05-02 10:18 Andrew Ammerlaan
2022-05-02 10:18 Andrew Ammerlaan
2022-04-23 18:24 Andrew Ammerlaan
2022-04-23 18:24 Andrew Ammerlaan
2022-03-28 18:21 Andrew Ammerlaan
2022-03-28 18:21 Andrew Ammerlaan
2022-03-26 11:05 Andrew Ammerlaan
2022-01-05 10:42 Andrew Ammerlaan
2021-08-21  9:38 Andrew Ammerlaan
2021-08-21  9:38 Andrew Ammerlaan
2021-05-22 12:17 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1693989588.00d68f072608bd1dc724ea2ce51ff9ef2fb580fe.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox