From dc7cbdfa65fd814b3b9aa3c56257da201109e807 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 5 Apr 2019 21:17:31 +0100 Subject: gentoo resync : 05.04.2019 --- sci-misc/mendeleydesktop/Manifest | 6 +- .../mendeleydesktop/mendeleydesktop-1.19.2.ebuild | 137 --------------------- .../mendeleydesktop/mendeleydesktop-1.19.3.ebuild | 127 +++++++++++++++++++ 3 files changed, 130 insertions(+), 140 deletions(-) delete mode 100644 sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild create mode 100644 sci-misc/mendeleydesktop/mendeleydesktop-1.19.3.ebuild (limited to 'sci-misc/mendeleydesktop') diff --git a/sci-misc/mendeleydesktop/Manifest b/sci-misc/mendeleydesktop/Manifest index ef31914ab5ec..b1f1b9c9e398 100644 --- a/sci-misc/mendeleydesktop/Manifest +++ b/sci-misc/mendeleydesktop/Manifest @@ -1,7 +1,7 @@ AUX mendeleydesktop-1.17.8-libdir.patch 578 BLAKE2B 70213348bc2235cea44461bbe371b24b5e9db17ae8a6862d143bdb698e5e7b73dfd665fa32eee0bd6a1a47a2efdc081072a9ed979d5d797b9ff652405ed889e6 SHA512 80aa6539af89efacc382929331ebe0c3a682329cb167d45baa8f6eb85391d6112218fc468cd4525d76afbea568599860aa53d1296e6733d266a30522fde1fa16 AUX mendeleydesktop-1.17.8-qt5plugins.patch 604 BLAKE2B 198f5628b28921018570577bacbe2e7de011e2e48c60b3727b79db966e441d3c270b374db7790b9c6338239071cd6fbc17c0b1f8e59cf68794a85c1daa906664 SHA512 c2f95d8a5cca3b2cc57ded01e9bda21bd4eed990035bff1864a2b751b5cc57821b1ab5fec9b1be52a17be34e4d15a487b19133afc08a05fac50b13975e002daa AUX mendeleydesktop-1.17.8-unix-distro-build.patch 599 BLAKE2B 8ae42be0372af430d1308836ed4ffe4b6b09c67b64bfe0f76b292e95bf198e698cf9dcd1b284aebbc117111777781fa8a3f007e500b3d61499c10c2da01fc6f6 SHA512 2de6e5ff400871cfbfda3572566ec83db81fcc12aed9f8dc63c5f8a9b32cc4cf985dcfe02d56548351999c94b2d575585ee779547714aae932cf9fb042ace644 -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 -EBUILD mendeleydesktop-1.19.2.ebuild 3018 BLAKE2B 4403e8d28946c67715a33fa381516c5aee82e12fef598e3cee52833a6b8ba2632e723a11417c736b197619bf2db6a58134b1f50282a57b04b68339772fc68642 SHA512 691dd07f25cc69531c103fa8d82496a6881f6fa55dec936c46ca3f44d7e486000c1493014397ea63f5c5cb6c22b53f53b4c94b324c7cfc69f8fe225d22f994d0 +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 +EBUILD mendeleydesktop-1.19.3.ebuild 2893 BLAKE2B 8e17f7197f809b01d9565a1f989515b8f2a9b8eb5099611fffe8d51255e4c332d615c816e9d72e8ba7d249a3f99dcc7127796241e76fd6dcacc64b93f1c1fc03 SHA512 19e4bf0aae5cfbd3a5074af4800b6980ec8f7489c6de1d0a422ce6f8a3a831ba6822029421ee7dd76112331b927cd13b34c2d5d6ec0781d07836e4acd50d0d1a MISC metadata.xml 478 BLAKE2B 97747312f4cb9d9a22d1e69a637659b204575d11f9a8f9f85ca15e1cf9479289b76417303f47c8e5fb21c32bcaea8beb007296986626a16721d1111a94d644c6 SHA512 32b39a17092e0a8eeaaf5c3058e67af52302e3a408d2960bcbe9d32633ec200d6fe341dce2000bb6fadaae354ad2cacd00f9f1561034cbc42479c59e97808567 diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild deleted file mode 100644 index f7cb58828517..000000000000 --- a/sci-misc/mendeleydesktop/mendeleydesktop-1.19.2.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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 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() { - 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 -} 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 000000000000..b901d27232f6 --- /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 +} -- cgit v1.2.3