1 |
commit: c3b9a65b361a2339c36641884583d64dd6e631d5 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 30 11:51:54 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 11:51:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b9a65b |
7 |
|
8 |
app-text/zotero-bin: add 6.0.19 |
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.19.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 9736488e3e04..b0b479fb1190 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.16-amd64.tar.bz2 69199096 BLAKE2B 3b97576a930df2eca06b052b23 |
21 |
DIST zotero-bin-6.0.16-x86.tar.bz2 70892888 BLAKE2B a2ad3f880960af100863c60da3066d5223f6e2336cefcba9ed0bf0088f15f72155bfb11b4ea0e3b7017cc77d26999d8d16d5264c310e8241fdbbccbacd6153c0 SHA512 434f447d3f754d7e7b02617b02673d0fe565a5c642537bc16ca634ed2f747fd60fe025d2e448cd63644bf671443685bf998223df5cbe875cf56d1b0f48740412 |
22 |
DIST zotero-bin-6.0.18-amd64.tar.bz2 69200236 BLAKE2B c1dc30b1c295652866068742051c5e42f686a4073fb1501d8d4e0eac2945d65205d92f65f2d2626ad279a7c1f073e22bb58b72ff5bd48497158de5587e753896 SHA512 c839ab2f34f946d2f58c544ca915b9e7386f115aa6a68ea95e0b7293e234140bb64118eac7640cbfa09592879b398db8c8be97da3cee3bab58e8ecbbbe09f9e1 |
23 |
DIST zotero-bin-6.0.18-x86.tar.bz2 70892698 BLAKE2B 49f23ef1d2a682bb945bf4b43c52e05551414597e6d16b89cefcd07588d158d917c63a7014d23969b5590caf2c79bc8875d03e9e6b2d709ce168acd8420435b6 SHA512 d7c70336a66c208f636ea4c96fde3b1e6547b7f1422a328f24f1ab2e2f25fce21d0ab69a98c787d9ffaa6f70e02995231365c07bf8da0f145adec875d008aa84 |
24 |
+DIST zotero-bin-6.0.19-amd64.tar.bz2 69255233 BLAKE2B b52b2d540e3a5ac2aa949d4f313bd83934a2c086ec56be0817f01f6518de1c3c10e991d8820cede4254ab2250d36ca5fc62353476832502efbc69aa92597d604 SHA512 4b18448b1f12ef52454cfb1ad44b724eb4fd6ae5a90c65703919ead460fb87c0c776ec610b057e0ff80b889d01c23c4a4264ea38d26f9074761deeb63406f51e |
25 |
+DIST zotero-bin-6.0.19-x86.tar.bz2 70911732 BLAKE2B d409d993551836ffc09f3e3b33a1b24055d409faa9137facb25500d13d12cbfaf59893ffaac60a4e8bef4d2ac2d8806eaad1b0c8255162c1e0e75b674c35b0f9 SHA512 e1bba3cc1c1f39d0eec0d8d26d16e26a9142e5c255a52e63ccf78b5341596619ca104610507bc2086f57c5da975c70bec43020cf0dfcb0bce6ad0f8b42e169bb |
26 |
|
27 |
diff --git a/app-text/zotero-bin/zotero-bin-6.0.19.ebuild b/app-text/zotero-bin/zotero-bin-6.0.19.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..8f643569fc34 |
30 |
--- /dev/null |
31 |
+++ b/app-text/zotero-bin/zotero-bin-6.0.19.ebuild |
32 |
@@ -0,0 +1,87 @@ |
33 |
+# Copyright 1999-2022 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 |
+} |