public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/mendeleydesktop/
Date: Tue,  2 Apr 2019 21:55:12 +0000 (UTC)	[thread overview]
Message-ID: <1554242074.af48d49280d6a4fa77468e611dcc84fb414da9b9.pacho@gentoo> (raw)

commit:     af48d49280d6a4fa77468e611dcc84fb414da9b9
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  2 21:54:34 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Apr  2 21:54:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af48d492

sci-misc/mendeleydesktop: Version bump

Closes: https://bugs.gentoo.org/679584
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sci-misc/mendeleydesktop/Manifest                  |   2 +
 .../mendeleydesktop/mendeleydesktop-1.19.3.ebuild  | 127 +++++++++++++++++++++
 2 files changed, 129 insertions(+)

diff --git a/sci-misc/mendeleydesktop/Manifest b/sci-misc/mendeleydesktop/Manifest
index 9e2a709a189..493cc9d0c8a 100644
--- a/sci-misc/mendeleydesktop/Manifest
+++ b/sci-misc/mendeleydesktop/Manifest
@@ -1,2 +1,4 @@
 DIST mendeleydesktop-1.19.2-linux-i486.tar.bz2 155393374 BLAKE2B 1863d2ee2dd907495365d602729dea01d0ca6d8023729e66dc14bb1d5ff3c247738374e7199193b0adb20936cb1e8d772135a8148b13d7b4377eb6059805f739 SHA512 b8b8b291a2b2d3cf43ec96005f891b9acd73090c945252b0b22abbc71c631bd74c9cf600c3c5e2c75ee3784a3ac3d06d8d925b5a70a3e47e34901047f67ca587
 DIST mendeleydesktop-1.19.2-linux-x86_64.tar.bz2 159146426 BLAKE2B e3b1240459a252e7fe32e65f1ad271b0a473c7ef84202a71b65066ea33ff9ea0c9f0c7c8ff81fd34dbfdf7e954b090e2d4cfbc7576bdff65f6105fb84b2b55ec SHA512 ddcbac4f863706f1226157a4528d89801502af6d5af105558ee1b3a5ecad4ba4c90ff64dffd822f485d45670c6ad54cae93f9a582a5bc82bc23e404c767aca40
+DIST mendeleydesktop-1.19.3-linux-i486.tar.bz2 155511701 BLAKE2B 0aaa0329c2287c6bb98f94a2a4ba708ea4a6c0cae72bb400c4f028aca35ff749460b97af7eb8e960abae2cbad480f3c039bbcf2a5daa9e12efee483fd1221290 SHA512 30e0460522474e68c1664256afc6e1d3af68443f75b0b5a76b76102ea812ed680d8d20e1d3f9dc4fc29408dd5e7718a8436ba34fc91a896fd9cbda702abcc3e8
+DIST mendeleydesktop-1.19.3-linux-x86_64.tar.bz2 159153513 BLAKE2B d0929043a053a73658070d8598c8e989f345fe1294cda479bb06f672dd60d4a3ab88754f6d3a9ae619011f5c7ce3f8259235544884865c95d4a8f182ad44627e SHA512 2c2d92d45730797f93eec74b23ea8d7f654388fd778063dcd92705fe019939f6d557bcaac13a14b021fcc4d785938921b19a9c8b821dfe6c18fb5c213eaa8a26

diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.19.3.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.19.3.ebuild
new file mode 100644
index 00000000000..b901d27232f
--- /dev/null
+++ b/sci-misc/mendeleydesktop/mendeleydesktop-1.19.3.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+inherit desktop python-single-r1 xdg
+
+MY_P_AMD64="${P}-linux-x86_64"
+MY_P_X86="${P}-linux-i486"
+
+DESCRIPTION="Research management tool for desktop and web"
+HOMEPAGE="https://www.mendeley.com/"
+SRC_URI="
+	amd64? ( ${MY_P_AMD64}.tar.bz2 )
+	x86? ( ${MY_P_X86}.tar.bz2 )
+	amd64-linux? ( ${MY_P_AMD64}.tar.bz2 )
+	x86-linux? ( ${MY_P_X86}.tar.bz2 )"
+
+LICENSE="Mendeley-terms"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RESTRICT="fetch"
+
+DEPEND=""
+BDEPEND=""
+RDEPEND="${PYTHON_DEPS}
+	dev-qt/qtcore:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtpositioning:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwebengine:5[widgets]
+	dev-qt/qtwebkit:5
+	dev-qt/qtxml:5
+	sys-libs/zlib
+	virtual/opengl
+	x11-libs/libX11
+"
+
+QA_PREBUILT="/opt/mendeleydesktop/.*"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.17.8-libdir.patch
+	"${FILESDIR}"/${PN}-1.17.8-qt5plugins.patch
+	"${FILESDIR}"/${PN}-1.17.8-unix-distro-build.patch
+)
+
+pkg_nofetch() {
+	elog "Please download ${A} from:"
+	elog "http://www.mendeley.com/download-mendeley-desktop/"
+	elog "and move it to your DISTDIR directory."
+}
+
+src_unpack() {
+	unpack ${A}
+
+	cd "${WORKDIR}" || die
+
+	if use amd64 || use amd64-linux ; then
+		mv -f "${MY_P_AMD64}" "${P}" || die
+	else
+		mv -f "${MY_P_X86}" "${P}" || die
+	fi
+}
+
+src_prepare() {
+	xdg_src_prepare
+
+	# remove bundled Qt libraries
+	rm -r lib/mendeleydesktop/plugins \
+		|| die "failed to remove plugin directory"
+	rm -r lib/qt || die
+
+	# fix qt library path
+	sed -e "s:/usr/lib/qt5/plugins:${EROOT}/usr/$(get_libdir)/qt5/plugins:g" \
+		-i bin/mendeleydesktop || die
+
+	# fix library paths
+	sed -e "s:lib/mendeleydesktop:$(get_libdir)/mendeleydesktop:g" \
+		-e "s:MENDELEY_BASE'] + \"/lib/\":MENDELEY_BASE'] + \"/$(get_libdir)/\":g" \
+		-i bin/mendeleydesktop || die
+}
+
+src_install() {
+	# install menu
+	domenu share/applications/${PN}.desktop
+
+	# install application icons
+	insinto /usr/share/icons
+	doins -r share/icons/hicolor
+
+	# install default icon
+	insinto /usr/share/pixmaps
+	doins share/icons/hicolor/48x48/apps/${PN}.png
+
+	# install documentation, but no license file
+	dodoc share/doc/${PN}/Readme.txt
+
+	# install binary
+	python_fix_shebang bin/${PN}
+	into /opt/${PN}
+	dobin bin/*
+
+	# install libraries
+	dolib.so lib/lib*.so*
+
+	# remove qtconf and qt-5.10 workaround
+	rm lib/mendeleydesktop/libexec/qt.conf
+	rm "lib/mendeleydesktop/libexec/QtWebEngineProcess --type=zygote --lang=en-US"
+
+	# install programs
+	exeinto /opt/mendeleydesktop/$(get_libdir)/mendeleydesktop/libexec
+	doexe lib/mendeleydesktop/libexec/*
+
+	# install shared files
+	insinto /opt/${PN}/share
+	doins -r share/mendeleydesktop
+
+	# symlink launch script
+	dosym ../mendeleydesktop/bin/mendeleydesktop /opt/bin/mendeleydesktop
+}


             reply	other threads:[~2019-04-02 21:55 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-02 21:55 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-28 13:25 [gentoo-commits] repo/gentoo:master commit in: sci-misc/mendeleydesktop/ Andreas Sturmlechner
2020-05-24 10:42 Mikle Kolyada
2020-05-24  8:53 Mikle Kolyada
2020-05-01 10:31 Alexey Shvetsov
2020-03-30 11:19 Mikle Kolyada
2020-01-21 22:49 Pacho Ramos
2019-09-20  7:59 Michał Górny
2019-04-23 11:29 Alexey Shvetsov
2019-04-02 21:55 Pacho Ramos
2019-02-05 20:56 Ben Kohler
2018-12-06 10:21 Andreas Sturmlechner
2018-09-24 17:46 Andreas Sturmlechner
2018-08-21 23:17 Alexey Shvetsov
2018-04-26 20:07 Andreas Sturmlechner
2018-04-26 20:07 Andreas Sturmlechner
2018-04-16 11:41 Alexey Shvetsov
2018-04-15 11:34 David Seifert
2018-03-20 12:24 Alexey Shvetsov
2017-12-14 15:15 Michael Weber
2017-04-19 19:21 Alexey Shvetsov
2017-03-05 11:02 David Seifert
2017-03-05 11:02 David Seifert
2016-08-31 11:14 Michael Weber
2016-08-25 10:48 David Seifert
2016-06-27 21:35 David Seifert
2016-05-21 15:35 Pacho Ramos
2016-04-02  8:18 David Seifert
2016-02-02 15:16 Justin Lecher
2015-11-27 14:10 Justin Lecher
2015-11-03 12:17 Justin Lecher
2015-10-14 12:26 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1554242074.af48d49280d6a4fa77468e611dcc84fb414da9b9.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox