1 |
commit: 89683cceed438812ccc7073fb59ce4702322f1b8 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 14:37:13 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 14:37:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89683cce |
7 |
|
8 |
app-text/zotero-bin: add 6.0.14 |
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.14.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 d382ffd6d98c..81beb436923c 100644 |
18 |
--- a/app-text/zotero-bin/Manifest |
19 |
+++ b/app-text/zotero-bin/Manifest |
20 |
@@ -1,4 +1,6 @@ |
21 |
DIST zotero-bin-6.0.10.tar.bz2 68712203 BLAKE2B 45e4ff33de1cf84c9c6bf9177de4096eb52abfaeb3347153376598d1dd8ad0d90a11383a4a1c62f77e8234f167cf0950fbfa4f58b74d33f48ec073a22a8bc832 SHA512 06ac2a21f8ec7576c759b6375a66e7e9370ac81f6e8832b7ca4850311a2d7e208d17b5fe2cda372763f80756fbaccaffc75afc828014611723931ace2958f19a |
22 |
DIST zotero-bin-6.0.13-amd64.tar.bz2 68738437 BLAKE2B d70dd479b8f9517f7eb0017c9be891df39e74b919719f4308e6fb8cea064920f41717377ab8072af3ed2b60c28deeb75fba918e7a2b03f7d40eef08c15c38446 SHA512 150ad3f213ad7289e09f79422f4840a4a288d80bfe661a9c06d330198c52018efe01bc68629485fd822647902df59ec5862bee5df13d1de106a2ccd84b647944 |
23 |
DIST zotero-bin-6.0.13-x86.tar.bz2 70376898 BLAKE2B dc16790081cdf9fbb35febd537b180192f43a28dabd8ee012ef721ebeabd516f422bd04e2bb8820571dabfd26a5039d72822e07b9df7f457be0834762ec75eb4 SHA512 4bf71e788cb97497e4acb18150dc7865fe4d2e90a2d658e660c54b2312ec3939365226f30bc65f736c0b38316a238b97ddde0555ccf12b95c449d396d7872c1d |
24 |
+DIST zotero-bin-6.0.14-amd64.tar.bz2 69149210 BLAKE2B 8979e00f2bb80c97aa65fde5b247198628544202682d1ed754135279c8001658e6aea68bf55ed3051f0e6dd4a27c60f1fe633a4310dc9d53de597048cd937ac3 SHA512 6d3604ed3eb7821316ea378b92bf3bdc3e89e077fa1ccfef7e2baa4d26455f8b04d68aee3036711bf85ef97a79e6f97cc37cb9e1156320b11c6c8fe9156f5526 |
25 |
+DIST zotero-bin-6.0.14-x86.tar.bz2 70825827 BLAKE2B e4f2ed26997feac6a3214dd06fc91f5555afd583ce835a4f34bb84c659a38ed2fbdc59692a5fdf2423c7d480d0c7e6b0dbf361a462661bd9fb05955532e15a15 SHA512 3c26ce57570946c2a62eb3631fa95c0130372144ab3d2a5ba795290031f247939d25c541c6f7e9a2f31a3478e09e2196771299bce1683232a476e31836c6bb7a |
26 |
DIST zotero-bin-6.0.9.tar.bz2 68609695 BLAKE2B a921b6558d53b162ef2d3ef23db73dfd20f9f87f2fa533b28d95fe33f5e20c1c9d341b72d7a51f4780f3081f6f925991b40193ae5287565f3de0a4d937ec9333 SHA512 4610d0e7ae8fe228ffe6ceff9cd9724bc47b8fa7b6b0d0cdac3e539b67af037aeaaeb5d7f0935306f2e6bb719ca16bcad266a576e6389674f6717b15d610643c |
27 |
|
28 |
diff --git a/app-text/zotero-bin/zotero-bin-6.0.14.ebuild b/app-text/zotero-bin/zotero-bin-6.0.14.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..a31cabce92e9 |
31 |
--- /dev/null |
32 |
+++ b/app-text/zotero-bin/zotero-bin-6.0.14.ebuild |
33 |
@@ -0,0 +1,87 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+inherit desktop xdg |
40 |
+ |
41 |
+DESCRIPTION="Helps you collect, organize, cite, and share your research sources" |
42 |
+HOMEPAGE="https://www.zotero.org" |
43 |
+SRC_URI=" |
44 |
+ amd64? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}-amd64.tar.bz2 ) |
45 |
+ x86? ( https://www.zotero.org/download/client/dl?channel=release&platform=linux-i686&version=${PV} -> ${P}-x86.tar.bz2 ) |
46 |
+" |
47 |
+S="${WORKDIR}" |
48 |
+ |
49 |
+LICENSE="AGPL-3" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="-* ~amd64 ~x86" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-libs/atk |
55 |
+ dev-libs/dbus-glib |
56 |
+ dev-libs/glib |
57 |
+ dev-libs/nspr |
58 |
+ dev-libs/nss |
59 |
+ media-libs/fontconfig |
60 |
+ media-libs/freetype |
61 |
+ sys-apps/dbus |
62 |
+ sys-libs/glibc |
63 |
+ x11-libs/cairo |
64 |
+ x11-libs/gdk-pixbuf |
65 |
+ x11-libs/gtk+:2 |
66 |
+ x11-libs/gtk+:3 |
67 |
+ x11-libs/libX11 |
68 |
+ x11-libs/libxcb |
69 |
+ x11-libs/libXcomposite |
70 |
+ x11-libs/libXcursor |
71 |
+ x11-libs/libXdamage |
72 |
+ x11-libs/libXext |
73 |
+ x11-libs/libXfixes |
74 |
+ x11-libs/libXi |
75 |
+ x11-libs/libXrender |
76 |
+ x11-libs/libXt |
77 |
+ x11-libs/pango |
78 |
+" |
79 |
+ |
80 |
+QA_PREBUILT="opt/zotero/*" |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ if use amd64; then |
84 |
+ cd Zotero_linux-x86_64 || die |
85 |
+ elif use x86; then |
86 |
+ cd Zotero_linux-i686 || die |
87 |
+ fi |
88 |
+ |
89 |
+ # disable auto-update |
90 |
+ sed -i -e 's/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die |
91 |
+ |
92 |
+ # disable default oo installation questions - manual installation is still possible |
93 |
+ sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \ |
94 |
+ extensions/zoteroOpenOfficeIntegration@××××××.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die |
95 |
+ |
96 |
+ # fix desktop-file |
97 |
+ sed -i -e 's#^Exec=.*#Exec=zotero#' zotero.desktop || die |
98 |
+ sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop || die |
99 |
+ |
100 |
+ default |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ if use amd64; then |
105 |
+ cd Zotero_linux-x86_64 || die |
106 |
+ elif use x86; then |
107 |
+ cd Zotero_linux-i686 || die |
108 |
+ fi |
109 |
+ |
110 |
+ dodir opt/zotero |
111 |
+ cp -a * "${ED}/opt/zotero" || die |
112 |
+ |
113 |
+ dosym ../../opt/zotero/zotero usr/bin/zotero |
114 |
+ |
115 |
+ domenu zotero.desktop |
116 |
+ |
117 |
+ for size in 16 32 48 256; do |
118 |
+ newicon -s ${size} chrome/icons/default/default${size}.png zotero.png |
119 |
+ done |
120 |
+} |