From a7400c02c6ff4df4bcd55c2872173361fc58db22 Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Wed, 22 Aug 2018 02:16:15 +0300 Subject: sci-misc/mendeleydesktop: Version bump Package-Manager: Portage-2.3.47, Repoman-2.3.10 --- sci-misc/mendeleydesktop/Manifest | 4 +- .../mendeleydesktop/mendeleydesktop-1.18.ebuild | 133 -------------------- .../mendeleydesktop/mendeleydesktop-1.19.2.ebuild | 137 +++++++++++++++++++++ 3 files changed, 139 insertions(+), 135 deletions(-) delete mode 100644 sci-misc/mendeleydesktop/mendeleydesktop-1.18.ebuild create mode 100644 sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild (limited to 'sci-misc') diff --git a/sci-misc/mendeleydesktop/Manifest b/sci-misc/mendeleydesktop/Manifest index 43829d226f67..95428ec810bb 100644 --- a/sci-misc/mendeleydesktop/Manifest +++ b/sci-misc/mendeleydesktop/Manifest @@ -1,4 +1,4 @@ DIST mendeleydesktop-1.17.13-linux-i486.tar.bz2 131684415 BLAKE2B 57e87fc00dc1978ecd0b46603cb504652c8c68ce2eed554f8a04967a574e12f05f19f1a4159e4a4c0c476f435ac39489cdcd466eb7bf72bf3a07e6cf1f450aac SHA512 b86f33b21661074737fca1262bd731dd07e3a5457b546b6c99b2794459052902c2ba831a7d8071a5b5edc061fc03a0fb79cbf79e6778960f7045729071216d2a DIST mendeleydesktop-1.17.13-linux-x86_64.tar.bz2 126266490 BLAKE2B 97ea8af93d7f2b42fa7941acad09514fa59c46af1b5d5974ba177f08183f23340c589f18a06f0bfa91d711bd70c85f48e61b82f4cfc6ccfb8388fd754f86b772 SHA512 ffb5a33fbc3b4b28e34037760b670a088c7c5c3d4624d3767d26562dd53f4fd0dbbdeb366e8d8673dd6c2f68dc43d8f1c0492400b62729ceab33f73954956325 -DIST mendeleydesktop-1.18-linux-i486.tar.bz2 143543267 BLAKE2B e4196bc19673b17599380a5cf789c20a0e689272f0dbaf0f8542a9985d963827e477c4f808c97ac1e60bb89e63002701cdc3e54a045f1db35e514f86b4ef4e85 SHA512 63a82863a824e5ce180a31453e68c900ba4bcebf0c228f515db87fe523a3cef8a284dd8c81729741fe7c9795b918d7a25503024aa63692014ce5e4a87a7cad11 -DIST mendeleydesktop-1.18-linux-x86_64.tar.bz2 147509182 BLAKE2B 86f8b9827320fbd53df6d7dc343cad79410e7d25f1f757dbc0cc8f5613206e6dc6f80e6539dd5ae5309e42cdcf1681cf4a3585114159a20a4ed5dcdfebc60569 SHA512 9e72ca02beae2412fb427cfc22da3495ae0bcdcc23b188e5f09e4e29a942a276635be54bf22bbcf08c63cdee102c257c145cce00a361c4b8b48e0f538a81b108 +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 diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.18.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.18.ebuild deleted file mode 100644 index 7dacc0eabb42..000000000000 --- a/sci-misc/mendeleydesktop/mendeleydesktop-1.18.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) - -inherit desktop gnome2-utils python-single-r1 xdg-utils - -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="" -RDEPEND=" - 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 - ${PYTHON_DEPS}" - -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 ${DISTDIR}" -} - -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() { - default - - # 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* - - # 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 -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_icon_cache_update -} diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild new file mode 100644 index 000000000000..f725c16531fd --- /dev/null +++ b/sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit desktop gnome2-utils python-single-r1 xdg-utils + +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="" +RDEPEND=" + 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 + ${PYTHON_DEPS}" + +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 ${DISTDIR}" +} + +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() { + default + + # 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 +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad