Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zotero-bin/
Date: Mon, 28 Mar 2022 18:21:37
Message-Id: 1648491677.047f96d5d06236f17566b35b7144164681c925b5.andrewammerlaan@gentoo
1 commit: 047f96d5d06236f17566b35b7144164681c925b5
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 28 17:31:12 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 28 18:21:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=047f96d5
7
8 app-text/zotero-bin: drop 6.0.3
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 app-text/zotero-bin/Manifest | 1 -
13 app-text/zotero-bin/zotero-bin-6.0.3.ebuild | 73 -----------------------------
14 2 files changed, 74 deletions(-)
15
16 diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest
17 index e04c76400530..3db1e5b00afb 100644
18 --- a/app-text/zotero-bin/Manifest
19 +++ b/app-text/zotero-bin/Manifest
20 @@ -1,3 +1,2 @@
21 DIST zotero-bin-5.0.96.3.tar.bz2 61236517 BLAKE2B 3de6d41349f9cc405dd3d44e8e456169d58bdd1f4522c31cd168182878839fe8ca6280eff7339bcf3d66c87c7d4f5af55d768551abcff3cd579342cae37b64e3 SHA512 0777ec41bc151b0bd30076f8a7f59e431c3435728b4d85298421ef11aea5b7c1e122d3bb7fcc5551bb8c4472922796d9508a56df7a0913515d8568fcf3ca6fee
22 -DIST zotero-bin-6.0.3.tar.bz2 68405653 BLAKE2B 53b0312fad219a7b7bb76caaac3e596427e27f6f2f317ec06c8eb9a12833b983593f54c287175228cdee40c02f6f8c09ef8a1d8e803476ac35f55d733f589a7d SHA512 f0635597dd8337f6851a7bc45eae288239069865bb95065ad84f4e7905e99a75ee12eb43c1390733ff6b5210569a67d0f66ac31bae7e20d06e2680202b806973
23 DIST zotero-bin-6.0.4.tar.bz2 68409133 BLAKE2B 9aeb7cfc8e12f7cdd8aa595fa46564d873c51603295f2dd802ba7ad8baaf59e366fb85d5b98c6614222f98449c800e58b7fb190cbb80a1991beb0c69669d6da2 SHA512 14f759dab9e02253f7be8269575fabedc79556cc81eb1bcfaa5d945280b174545b9f23b2c190824124503f353af6a0416c15ecea99a81f5f000207a1eefe84b9
24
25 diff --git a/app-text/zotero-bin/zotero-bin-6.0.3.ebuild b/app-text/zotero-bin/zotero-bin-6.0.3.ebuild
26 deleted file mode 100644
27 index 831f9a1eb8cf..000000000000
28 --- a/app-text/zotero-bin/zotero-bin-6.0.3.ebuild
29 +++ /dev/null
30 @@ -1,73 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -inherit desktop xdg
37 -
38 -DESCRIPTION="Helps you collect, organize, cite, and share your research sources"
39 -HOMEPAGE="https://www.zotero.org"
40 -SRC_URI="https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}.tar.bz2"
41 -
42 -LICENSE="AGPL-3"
43 -SLOT="0"
44 -KEYWORDS="-* ~amd64"
45 -
46 -RDEPEND="
47 - dev-libs/atk
48 - dev-libs/dbus-glib
49 - dev-libs/glib
50 - dev-libs/nspr
51 - dev-libs/nss
52 - media-libs/fontconfig
53 - media-libs/freetype
54 - sys-apps/dbus
55 - sys-libs/glibc
56 - x11-libs/cairo
57 - x11-libs/gdk-pixbuf
58 - x11-libs/gtk+:2
59 - x11-libs/gtk+:3
60 - x11-libs/libX11
61 - x11-libs/libxcb
62 - x11-libs/libXcomposite
63 - x11-libs/libXcursor
64 - x11-libs/libXdamage
65 - x11-libs/libXext
66 - x11-libs/libXfixes
67 - x11-libs/libXi
68 - x11-libs/libXrender
69 - x11-libs/libXt
70 - x11-libs/pango
71 -"
72 -
73 -S="${WORKDIR}/Zotero_linux-x86_64"
74 -
75 -QA_PREBUILT="opt/zotero/*"
76 -
77 -src_prepare() {
78 - # disable auto-update
79 - sed -i -e 's/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die
80 -
81 - # disable default oo installation questions - manual installation is still possible
82 - sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \
83 - extensions/zoteroOpenOfficeIntegration@××××××.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die
84 -
85 - # fix desktop-file
86 - sed -i -e 's#^Exec=.*#Exec=zotero#' zotero.desktop || die
87 - sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop || die
88 -
89 - default
90 -}
91 -
92 -src_install() {
93 - dodir opt/zotero
94 - cp -a "${S}"/* "${ED}/opt/zotero" || die
95 -
96 - dosym ../../opt/zotero/zotero usr/bin/zotero
97 -
98 - domenu zotero.desktop
99 -
100 - for size in 16 32 48 256; do
101 - newicon -s ${size} chrome/icons/default/default${size}.png zotero.png
102 - done
103 -}