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: Mon, 22 Aug 2022 14:47:41 +0000 (UTC)	[thread overview]
Message-ID: <1661179632.076d6c09d5140787a40b01ca1f8a9712c82b9d23.andrewammerlaan@gentoo> (raw)

commit:     076d6c09d5140787a40b01ca1f8a9712c82b9d23
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 14:47:12 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 14:47:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076d6c09

app-text/zotero-bin: add 6.0.13

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

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

diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest
index b903b5a2984c..d382ffd6d98c 100644
--- a/app-text/zotero-bin/Manifest
+++ b/app-text/zotero-bin/Manifest
@@ -1,2 +1,4 @@
 DIST zotero-bin-6.0.10.tar.bz2 68712203 BLAKE2B 45e4ff33de1cf84c9c6bf9177de4096eb52abfaeb3347153376598d1dd8ad0d90a11383a4a1c62f77e8234f167cf0950fbfa4f58b74d33f48ec073a22a8bc832 SHA512 06ac2a21f8ec7576c759b6375a66e7e9370ac81f6e8832b7ca4850311a2d7e208d17b5fe2cda372763f80756fbaccaffc75afc828014611723931ace2958f19a
+DIST zotero-bin-6.0.13-amd64.tar.bz2 68738437 BLAKE2B d70dd479b8f9517f7eb0017c9be891df39e74b919719f4308e6fb8cea064920f41717377ab8072af3ed2b60c28deeb75fba918e7a2b03f7d40eef08c15c38446 SHA512 150ad3f213ad7289e09f79422f4840a4a288d80bfe661a9c06d330198c52018efe01bc68629485fd822647902df59ec5862bee5df13d1de106a2ccd84b647944
+DIST zotero-bin-6.0.13-x86.tar.bz2 70376898 BLAKE2B dc16790081cdf9fbb35febd537b180192f43a28dabd8ee012ef721ebeabd516f422bd04e2bb8820571dabfd26a5039d72822e07b9df7f457be0834762ec75eb4 SHA512 4bf71e788cb97497e4acb18150dc7865fe4d2e90a2d658e660c54b2312ec3939365226f30bc65f736c0b38316a238b97ddde0555ccf12b95c449d396d7872c1d
 DIST zotero-bin-6.0.9.tar.bz2 68609695 BLAKE2B a921b6558d53b162ef2d3ef23db73dfd20f9f87f2fa533b28d95fe33f5e20c1c9d341b72d7a51f4780f3081f6f925991b40193ae5287565f3de0a4d937ec9333 SHA512 4610d0e7ae8fe228ffe6ceff9cd9724bc47b8fa7b6b0d0cdac3e539b67af037aeaaeb5d7f0935306f2e6bb719ca16bcad266a576e6389674f6717b15d610643c

diff --git a/app-text/zotero-bin/zotero-bin-6.0.13.ebuild b/app-text/zotero-bin/zotero-bin-6.0.13.ebuild
new file mode 100644
index 000000000000..a31cabce92e9
--- /dev/null
+++ b/app-text/zotero-bin/zotero-bin-6.0.13.ebuild
@@ -0,0 +1,87 @@
+# 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="
+	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="
+	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() {
+	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:[~2022-08-22 14:47 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 14:47 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-12 14:15 [gentoo-commits] repo/gentoo:master commit in: app-text/zotero-bin/ Nowa Ammerlaan
2025-09-12 14:15 Nowa Ammerlaan
2025-05-18 14:41 Nowa Ammerlaan
2025-03-03 19:10 Nowa Ammerlaan
2025-03-03 19:10 Nowa Ammerlaan
2024-12-26 12:08 Nowa Ammerlaan
2024-12-26 12:08 Nowa Ammerlaan
2024-11-01 10:50 Andrew Ammerlaan
2024-10-11  8:54 Andrew Ammerlaan
2024-09-29 15:02 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-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-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=1661179632.076d6c09d5140787a40b01ca1f8a9712c82b9d23.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