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: Thu, 19 May 2022 07:45:21
Message-Id: 1652946301.c4e8a854b2ef67e240f28af9c1f16ad38d7d9556.andrewammerlaan@gentoo
1 commit: c4e8a854b2ef67e240f28af9c1f16ad38d7d9556
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 19 07:44:29 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Thu May 19 07:45:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4e8a854
7
8 app-text/zotero-bin: drop 6.0.7
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.7.ebuild | 72 -----------------------------
14 2 files changed, 73 deletions(-)
15
16 diff --git a/app-text/zotero-bin/Manifest b/app-text/zotero-bin/Manifest
17 index 8872a9417dd5..621cfcd05570 100644
18 --- a/app-text/zotero-bin/Manifest
19 +++ b/app-text/zotero-bin/Manifest
20 @@ -1,2 +1 @@
21 -DIST zotero-bin-6.0.7.tar.bz2 68578108 BLAKE2B ba1befc180978104396b059dec098e3cb273b19ddeaf9994588ce761752549a6962b31dc4ffcc749317403512df7686beae399a75c66328d24ba256963efe6bd SHA512 a8e060ef062d64e17e78c30018e227e08662fea6dc9818121401aa6bb3f9245b149bfeb0a90f1d4d13243eb705ca8e184deef1bf76f3db395a23470b7bfe0f1d
22 DIST zotero-bin-6.0.8.tar.bz2 68592532 BLAKE2B 2a0cd400d2c2ff03e0cbdecf5730404570d4667cf4076badea5f85a02a3170bcf8e60a13224da852e3264a0293f1c187ed690097907b8e9852fc1bb48e5bca54 SHA512 5b39d2a8aa4d3d973f74cb13a5a0feb961639cf7955b447dfff82517fc86f3ad579a0093b4f33e93c7fa974ae026e21dc0f3a320c9de318873f1d0ca0fec467b
23
24 diff --git a/app-text/zotero-bin/zotero-bin-6.0.7.ebuild b/app-text/zotero-bin/zotero-bin-6.0.7.ebuild
25 deleted file mode 100644
26 index b9f2fd5004e0..000000000000
27 --- a/app-text/zotero-bin/zotero-bin-6.0.7.ebuild
28 +++ /dev/null
29 @@ -1,72 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -inherit desktop xdg
36 -
37 -DESCRIPTION="Helps you collect, organize, cite, and share your research sources"
38 -HOMEPAGE="https://www.zotero.org"
39 -SRC_URI="https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64&version=${PV} -> ${P}.tar.bz2"
40 -S="${WORKDIR}/Zotero_linux-x86_64"
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 -QA_PREBUILT="opt/zotero/*"
74 -
75 -src_prepare() {
76 - # disable auto-update
77 - sed -i -e 's/\(pref("app.update.enabled"\).*/\1, false);/' defaults/preferences/prefs.js || die
78 -
79 - # disable default oo installation questions - manual installation is still possible
80 - sed -i -e 's/\(pref("extensions.zoteroOpenOfficeIntegration.skipInstallation"\).*/\1, true);/' \
81 - extensions/zoteroOpenOfficeIntegration@××××××.org/defaults/preferences/zoteroOpenOfficeIntegration.js || die
82 -
83 - # fix desktop-file
84 - sed -i -e 's#^Exec=.*#Exec=zotero#' zotero.desktop || die
85 - sed -i -e 's#Icon=zotero.*#Icon=zotero#' zotero.desktop || die
86 -
87 - default
88 -}
89 -
90 -src_install() {
91 - dodir opt/zotero
92 - cp -a "${S}"/* "${ED}/opt/zotero" || die
93 -
94 - dosym ../../opt/zotero/zotero usr/bin/zotero
95 -
96 - domenu zotero.desktop
97 -
98 - for size in 16 32 48 256; do
99 - newicon -s ${size} chrome/icons/default/default${size}.png zotero.png
100 - done
101 -}