1 |
commit: c9de0d4c263dad2e34f4effbdc852b997c56542d |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 14:00:47 2023 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 14:00:47 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9de0d4c |
7 |
|
8 |
app-text/zotero-bin: add 6.0.23 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
app-text/zotero-bin/Manifest | 2 + |
13 |
app-text/zotero-bin/zotero-bin-6.0.23.ebuild | 87 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 89 insertions(+) |
15 |
|
16 |
diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest |
17 |
index 7c565de82b17..21050b85cfeb 100644 |
18 |
--- a/app-text/zotero-bin/Manifest |
19 |
+++ b/app-text/zotero-bin/Manifest |
20 |
@@ -2,3 +2,5 @@ DIST zotero-bin-6.0.20-amd64.tar.bz2 69268379 BLAKE2B 126c1499e375726cc25fb5ebe3 |
21 |
DIST zotero-bin-6.0.20-x86.tar.bz2 70930545 BLAKE2B 96c3b2df646fdd0401f1b7a6deb7061fe5c517e8a95f3c6cdcd8686473f12fc51f7847029784d827f929745d3e660b57d7de783e82809ce76f8868335f0d10ec SHA512 9ac5b251db998e0ba8a838441111c9e4c994feee40608bf2a7e6dc1b6d50a7585d6d9a9ffa4ba0aa1afbde94b2cfc4a32522d4bf79255cef729634354ebd76ab |
22 |
DIST zotero-bin-6.0.22-amd64.tar.bz2 69278351 BLAKE2B 9f401ad27751fdb1cf8a156abae467c9a4e98214d816431103bf722d8c509e19593eb041af3d4cb516a26c6f6c7d9428609494a0daac302262ed0f32d10a515a SHA512 0de268da38b2b597a19a0bfceeca2e712b9b909f5210bac4fced76a3d84f7ede5028d441c3b4f48fc9eeb53bea003005e25056cabfa57b47449c6db74a04291c |
23 |
DIST zotero-bin-6.0.22-x86.tar.bz2 70934510 BLAKE2B b361b8a99616a7306e6de754871cc03141944fcdf30e76ce8ce5020d3e19efe066d2c093d96a190081f27728110d44168b2f87e80a3eb5c9bdac941d1708b391 SHA512 c0925a5163eb6aef6173a465598580c5c25a784a7bfcc288623ff35d3202255f4af40750e675c5c526929ecb3cfa4886707390d978580c2ed36aa2f02d195162 |
24 |
+DIST zotero-bin-6.0.23-amd64.tar.bz2 69289934 BLAKE2B a002cda6337c0e1145628abb277461bbb7efdb1d13f82ef24c60a44a6fb0b5231b6ef6b990b7a745ed018c8adefe38f62a9ccc3cbb8d03d28670a07e0a60e02e SHA512 4120ce16f00a81c6eb3037863f144fba8093bf5b261b6b5ec94f2e874eb4fdf3d08dc0df5607f8933f2e2257cd217364332f8a4366ea21ecce744dc4cace7a45 |
25 |
+DIST zotero-bin-6.0.23-x86.tar.bz2 70947747 BLAKE2B 47c5ff05ae41fbc1e75649a84af718dcac1cab65b1131529c903be29be9415e799d9465569901730bd55008d1e12502527fbb2c424ff9d386f5edb07c99bcbd7 SHA512 6e7d339f7ea56862fe0ba9501a4c3f671991d8e93e88c1e41d41141ad7e35ddf785ec4c4000267925f9276cab8c9e6dcfb92dcff19eec56a69e44ef1964d2c28 |
26 |
|
27 |
diff --git a/app-text/zotero-bin/zotero-bin-6.0.23.ebuild b/app-text/zotero-bin/zotero-bin-6.0.23.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..07c557e6c051 |
30 |
--- /dev/null |
31 |
+++ b/app-text/zotero-bin/zotero-bin-6.0.23.ebuild |
32 |
@@ -0,0 +1,87 @@ |
33 |
+# Copyright 1999-2023 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit desktop xdg |
39 |
+ |
40 |
+DESCRIPTION="Helps you collect, organize, cite, and share your research sources" |
41 |
+HOMEPAGE="https://www.zotero.org" |
42 |
+SRC_URI=" |
43 |
+ amd64? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}-amd64.tar.bz2 ) |
44 |
+ x86? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-i686&version=${PV} -> ${P}-x86.tar.bz2 ) |
45 |
+" |
46 |
+S="${WORKDIR}" |
47 |
+ |
48 |
+LICENSE="AGPL-3" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="-* ~amd64 ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ app-accessibility/at-spi2-core |
54 |
+ dev-libs/dbus-glib |
55 |
+ dev-libs/glib |
56 |
+ dev-libs/nspr |
57 |
+ dev-libs/nss |
58 |
+ media-libs/fontconfig |
59 |
+ media-libs/freetype |
60 |
+ sys-apps/dbus |
61 |
+ sys-libs/glibc |
62 |
+ x11-libs/cairo |
63 |
+ x11-libs/gdk-pixbuf |
64 |
+ x11-libs/gtk+:2 |
65 |
+ x11-libs/gtk+:3 |
66 |
+ x11-libs/libX11 |
67 |
+ x11-libs/libxcb |
68 |
+ x11-libs/libXcomposite |
69 |
+ x11-libs/libXcursor |
70 |
+ x11-libs/libXdamage |
71 |
+ x11-libs/libXext |
72 |
+ x11-libs/libXfixes |
73 |
+ x11-libs/libXi |
74 |
+ x11-libs/libXrender |
75 |
+ x11-libs/libXt |
76 |
+ x11-libs/pango |
77 |
+" |
78 |
+ |
79 |
+QA_PREBUILT="opt/zotero/*" |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ if use amd64; then |
83 |
+ cd Zotero_linux-x86_64 || die |
84 |
+ elif use x86; then |
85 |
+ cd Zotero_linux-i686 || die |
86 |
+ fi |
87 |
+ |
88 |
+ # disable auto-update |
89 |
+ sed -i -e 's/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die |
90 |
+ |
91 |
+ # disable default oo installation questions - manual installation is still possible |
92 |
+ sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \ |
93 |
+ extensions/zoteroOpenOfficeIntegration@××××××.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die |
94 |
+ |
95 |
+ # fix desktop-file |
96 |
+ sed -i -e 's#^Exec=.*#Exec=zotero#' zotero.desktop || die |
97 |
+ sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop || die |
98 |
+ |
99 |
+ default |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ if use amd64; then |
104 |
+ cd Zotero_linux-x86_64 || die |
105 |
+ elif use x86; then |
106 |
+ cd Zotero_linux-i686 || die |
107 |
+ fi |
108 |
+ |
109 |
+ dodir opt/zotero |
110 |
+ cp -a * "${ED}/opt/zotero" || die |
111 |
+ |
112 |
+ dosym ../../opt/zotero/zotero usr/bin/zotero |
113 |
+ |
114 |
+ domenu zotero.desktop |
115 |
+ |
116 |
+ for size in 16 32 48 256; do |
117 |
+ newicon -s ${size} chrome/icons/default/default${size}.png zotero.png |
118 |
+ done |
119 |
+} |