summaryrefslogtreecommitdiff
path: root/app-text/zotero-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-20 02:40:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-20 02:40:19 +0100
commit2d5fd1dd4910d46f935776f1f6f475de11367ef2 (patch)
tree42bc589da04de88a86fd2950f9c66360ee79328e /app-text/zotero-bin
parent54eca75a4e3e380e1d386f4d235baeb7d4ff332e (diff)
gentoo auto-resync : 20:07:2022 - 02:40:19
Diffstat (limited to 'app-text/zotero-bin')
-rw-r--r--app-text/zotero-bin/Manifest2
-rw-r--r--app-text/zotero-bin/zotero-bin-6.0.10.ebuild72
2 files changed, 74 insertions, 0 deletions
diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest
index 1e75853bef98..980c9d1f5ffd 100644
--- a/app-text/zotero-bin/Manifest
+++ b/app-text/zotero-bin/Manifest
@@ -1,3 +1,5 @@
+DIST zotero-bin-6.0.10.tar.bz2 68712203 BLAKE2B 45e4ff33de1cf84c9c6bf9177de4096eb52abfaeb3347153376598d1dd8ad0d90a11383a4a1c62f77e8234f167cf0950fbfa4f58b74d33f48ec073a22a8bc832 SHA512 06ac2a21f8ec7576c759b6375a66e7e9370ac81f6e8832b7ca4850311a2d7e208d17b5fe2cda372763f80756fbaccaffc75afc828014611723931ace2958f19a
DIST zotero-bin-6.0.9.tar.bz2 68609695 BLAKE2B a921b6558d53b162ef2d3ef23db73dfd20f9f87f2fa533b28d95fe33f5e20c1c9d341b72d7a51f4780f3081f6f925991b40193ae5287565f3de0a4d937ec9333 SHA512 4610d0e7ae8fe228ffe6ceff9cd9724bc47b8fa7b6b0d0cdac3e539b67af037aeaaeb5d7f0935306f2e6bb719ca16bcad266a576e6389674f6717b15d610643c
+EBUILD zotero-bin-6.0.10.ebuild 1771 BLAKE2B 259f08a7adcfa1545bb1426def80c19ab0d6250cf4e3bcba43a703e8bf72a15fbebbc82316bee18f193d6b4649e429118c51f86f39e4f98bd4334cfef2e6f6bb SHA512 a7b57e4234c04ec3f365296436f4eb1b348488f96e65bd460533139c5c13463f2a008bfaa6ecbefced8ba408e00d3648c39914433d884c1c861d859c209ee163
EBUILD zotero-bin-6.0.9.ebuild 1771 BLAKE2B 259f08a7adcfa1545bb1426def80c19ab0d6250cf4e3bcba43a703e8bf72a15fbebbc82316bee18f193d6b4649e429118c51f86f39e4f98bd4334cfef2e6f6bb SHA512 a7b57e4234c04ec3f365296436f4eb1b348488f96e65bd460533139c5c13463f2a008bfaa6ecbefced8ba408e00d3648c39914433d884c1c861d859c209ee163
MISC metadata.xml 398 BLAKE2B ef8965041b1ddb5dafacd8d3b913c2c272b50460607018468446993062620044b77ee4033d9811979768aafba6def9b3e06775d48f8f194f7ca95ec6ad048c5c SHA512 5a67ca8cbadcfa83e38f983b3e448073970e71f2d2a3c0756d8cbbe54050382095df564bdd5e52b0976a9588f882d814a71179957e09e429a2881a7f48041e53
diff --git a/app-text/zotero-bin/zotero-bin-6.0.10.ebuild b/app-text/zotero-bin/zotero-bin-6.0.10.ebuild
new file mode 100644
index 000000000000..b9f2fd5004e0
--- /dev/null
+++ b/app-text/zotero-bin/zotero-bin-6.0.10.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
+}