Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/mendeleydesktop/
Date: Tue, 02 Apr 2019 21:55:18
Message-Id: 1554242091.685217a8824613ed626f455142669703395f5158.pacho@gentoo
1 commit: 685217a8824613ed626f455142669703395f5158
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 2 21:54:51 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 2 21:54:51 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=685217a8
7
8 sci-misc/mendeleydesktop: Drop old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 sci-misc/mendeleydesktop/Manifest | 2 -
14 .../mendeleydesktop/mendeleydesktop-1.19.2.ebuild | 137 ---------------------
15 2 files changed, 139 deletions(-)
16
17 diff --git a/sci-misc/mendeleydesktop/Manifest b/sci-misc/mendeleydesktop/Manifest
18 index 493cc9d0c8a..039b8ee5797 100644
19 --- a/sci-misc/mendeleydesktop/Manifest
20 +++ b/sci-misc/mendeleydesktop/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST mendeleydesktop-1.19.2-linux-i486.tar.bz2 155393374 BLAKE2B 1863d2ee2dd907495365d602729dea01d0ca6d8023729e66dc14bb1d5ff3c247738374e7199193b0adb20936cb1e8d772135a8148b13d7b4377eb6059805f739 SHA512 b8b8b291a2b2d3cf43ec96005f891b9acd73090c945252b0b22abbc71c631bd74c9cf600c3c5e2c75ee3784a3ac3d06d8d925b5a70a3e47e34901047f67ca587
23 -DIST mendeleydesktop-1.19.2-linux-x86_64.tar.bz2 159146426 BLAKE2B e3b1240459a252e7fe32e65f1ad271b0a473c7ef84202a71b65066ea33ff9ea0c9f0c7c8ff81fd34dbfdf7e954b090e2d4cfbc7576bdff65f6105fb84b2b55ec SHA512 ddcbac4f863706f1226157a4528d89801502af6d5af105558ee1b3a5ecad4ba4c90ff64dffd822f485d45670c6ad54cae93f9a582a5bc82bc23e404c767aca40
24 DIST mendeleydesktop-1.19.3-linux-i486.tar.bz2 155511701 BLAKE2B 0aaa0329c2287c6bb98f94a2a4ba708ea4a6c0cae72bb400c4f028aca35ff749460b97af7eb8e960abae2cbad480f3c039bbcf2a5daa9e12efee483fd1221290 SHA512 30e0460522474e68c1664256afc6e1d3af68443f75b0b5a76b76102ea812ed680d8d20e1d3f9dc4fc29408dd5e7718a8436ba34fc91a896fd9cbda702abcc3e8
25 DIST mendeleydesktop-1.19.3-linux-x86_64.tar.bz2 159153513 BLAKE2B d0929043a053a73658070d8598c8e989f345fe1294cda479bb06f672dd60d4a3ab88754f6d3a9ae619011f5c7ce3f8259235544884865c95d4a8f182ad44627e SHA512 2c2d92d45730797f93eec74b23ea8d7f654388fd778063dcd92705fe019939f6d557bcaac13a14b021fcc4d785938921b19a9c8b821dfe6c18fb5c213eaa8a26
26
27 diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild
28 deleted file mode 100644
29 index f7cb5882851..00000000000
30 --- a/sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild
31 +++ /dev/null
32 @@ -1,137 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
39 -
40 -inherit desktop gnome2-utils python-single-r1 xdg-utils
41 -
42 -MY_P_AMD64="${P}-linux-x86_64"
43 -MY_P_X86="${P}-linux-i486"
44 -
45 -DESCRIPTION="Research management tool for desktop and web"
46 -HOMEPAGE="https://www.mendeley.com/"
47 -SRC_URI="
48 - amd64? ( ${MY_P_AMD64}.tar.bz2 )
49 - x86? ( ${MY_P_X86}.tar.bz2 )
50 - amd64-linux? ( ${MY_P_AMD64}.tar.bz2 )
51 - x86-linux? ( ${MY_P_X86}.tar.bz2 )"
52 -
53 -LICENSE="Mendeley-terms"
54 -SLOT="0"
55 -KEYWORDS="~amd64 ~x86"
56 -IUSE=""
57 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
58 -
59 -RESTRICT="fetch"
60 -
61 -DEPEND=""
62 -RDEPEND="
63 - dev-qt/qtcore:5
64 - dev-qt/qtdeclarative:5
65 - dev-qt/qtgui:5
66 - dev-qt/qtnetwork:5
67 - dev-qt/qtpositioning:5
68 - dev-qt/qtprintsupport:5
69 - dev-qt/qtsvg:5
70 - dev-qt/qtwebengine:5[widgets]
71 - dev-qt/qtwebkit:5
72 - dev-qt/qtxml:5
73 - sys-libs/zlib
74 - virtual/opengl
75 - x11-libs/libX11
76 - ${PYTHON_DEPS}"
77 -
78 -QA_PREBUILT="/opt/mendeleydesktop/.*"
79 -
80 -PATCHES=(
81 - "${FILESDIR}"/${PN}-1.17.8-libdir.patch
82 - "${FILESDIR}"/${PN}-1.17.8-qt5plugins.patch
83 - "${FILESDIR}"/${PN}-1.17.8-unix-distro-build.patch
84 -)
85 -
86 -pkg_nofetch() {
87 - elog "Please download ${A} from:"
88 - elog "http://www.mendeley.com/download-mendeley-desktop/"
89 - elog "and move it to your DISTDIR directory."
90 -}
91 -
92 -src_unpack() {
93 - unpack ${A}
94 -
95 - cd "${WORKDIR}" || die
96 -
97 - if use amd64 || use amd64-linux ; then
98 - mv -f "${MY_P_AMD64}" "${P}" || die
99 - else
100 - mv -f "${MY_P_X86}" "${P}" || die
101 - fi
102 -}
103 -
104 -src_prepare() {
105 - default
106 -
107 - # remove bundled Qt libraries
108 - rm -r lib/mendeleydesktop/plugins \
109 - || die "failed to remove plugin directory"
110 - rm -r lib/qt || die
111 -
112 - # fix qt library path
113 - sed -e "s:/usr/lib/qt5/plugins:${EROOT}usr/$(get_libdir)/qt5/plugins:g" \
114 - -i bin/mendeleydesktop || die
115 -
116 - # fix library paths
117 - sed -e "s:lib/mendeleydesktop:$(get_libdir)/mendeleydesktop:g" \
118 - -e "s:MENDELEY_BASE'] + \"/lib/\":MENDELEY_BASE'] + \"/$(get_libdir)/\":g" \
119 - -i bin/mendeleydesktop || die
120 -}
121 -
122 -src_install() {
123 - # install menu
124 - domenu share/applications/${PN}.desktop
125 -
126 - # install application icons
127 - insinto /usr/share/icons
128 - doins -r share/icons/hicolor
129 -
130 - # install default icon
131 - insinto /usr/share/pixmaps
132 - doins share/icons/hicolor/48x48/apps/${PN}.png
133 -
134 - # install documentation, but no license file
135 - dodoc share/doc/${PN}/Readme.txt
136 -
137 - # install binary
138 - python_fix_shebang bin/${PN}
139 - into /opt/${PN}
140 - dobin bin/*
141 -
142 - # install libraries
143 - dolib.so lib/lib*.so*
144 -
145 - # remove qtconf and qt-5.10 workaround
146 - rm lib/mendeleydesktop/libexec/qt.conf
147 - rm "lib/mendeleydesktop/libexec/QtWebEngineProcess --type=zygote --lang=en-US"
148 -
149 - # install programs
150 - exeinto /opt/mendeleydesktop/$(get_libdir)/mendeleydesktop/libexec
151 - doexe lib/mendeleydesktop/libexec/*
152 -
153 - # install shared files
154 - insinto /opt/${PN}/share
155 - doins -r share/mendeleydesktop
156 -
157 - # symlink launch script
158 - dosym ../mendeleydesktop/bin/mendeleydesktop /opt/bin/mendeleydesktop
159 -}
160 -
161 -pkg_postinst() {
162 - xdg_pkg_postinst
163 - gnome2_icon_cache_update
164 -}
165 -
166 -pkg_postrm() {
167 - xdg_pkg_postrm
168 - gnome2_icon_cache_update
169 -}