From 1df9518c7d60196131a1f60b5a84088247179a24 Mon Sep 17 00:00:00 2001 From: Angelo Arrifano Date: Mon, 10 Sep 2012 13:42:02 +0000 Subject: Version bump. #432134 (Portage version: 2.1.11.9/cvs/Linux x86_64) --- sci-misc/mendeleydesktop/ChangeLog | 8 +- .../mendeleydesktop/mendeleydesktop-1.5.2.ebuild | 101 --------------------- .../mendeleydesktop/mendeleydesktop-1.6.ebuild | 101 +++++++++++++++++++++ 3 files changed, 108 insertions(+), 102 deletions(-) delete mode 100644 sci-misc/mendeleydesktop/mendeleydesktop-1.5.2.ebuild create mode 100644 sci-misc/mendeleydesktop/mendeleydesktop-1.6.ebuild (limited to 'sci-misc') diff --git a/sci-misc/mendeleydesktop/ChangeLog b/sci-misc/mendeleydesktop/ChangeLog index fe25af62ceec..63e818a3c8a9 100644 --- a/sci-misc/mendeleydesktop/ChangeLog +++ b/sci-misc/mendeleydesktop/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-misc/mendeleydesktop # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog,v 1.5 2012/07/29 16:24:46 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog,v 1.6 2012/09/10 13:42:02 miknix Exp $ + +*mendeleydesktop-1.6 (10 Sep 2012) + + 10 Sep 2012; Angelo Arrifano + -mendeleydesktop-1.5.2.ebuild, +mendeleydesktop-1.6.ebuild: + Version bump. #432134 29 Jul 2012; Michael Palimaka mendeleydesktop-1.5.2.ebuild: diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.5.2.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.5.2.ebuild deleted file mode 100644 index c3dfd6f0b3c3..000000000000 --- a/sci-misc/mendeleydesktop/mendeleydesktop-1.5.2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/mendeleydesktop-1.5.2.ebuild,v 1.2 2012/07/29 16:24:46 kensington Exp $ - -EAPI="4" - -inherit eutils multilib - -MY_P_AMD64="${P}-linux-x86_64" -MY_P_X86="${P}-linux-i486" - -if use amd64 || use amd64-linux ; then - MY_P="${MY_P_AMD64}" -elif use x86 || use x86-linux ; then - MY_P="${MY_P_X86}" -fi - -DESCRIPTION="A free research management tool for desktop and web" -HOMEPAGE="http://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-EULA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RESTRICT="fetch" - -DEPEND="" -RDEPEND=">=x11-libs/qt-core-4.6:4 - >=x11-libs/qt-gui-4.6:4 - >=x11-libs/qt-svg-4.6:4 - >=x11-libs/qt-webkit-4.6:4 - >=x11-libs/qt-xmlpatterns-4.6:4" - -S="${WORKDIR}/${MY_P}" - -QA_PRESTRIPPED=" - /opt/mendeleydesktop/$(get_libdir)/mendeleydesktop/libexec/.* - /opt/mendeleydesktop/$(get_libdir)/lib.*so.*" - -pkg_nofetch() { - elog "Please download ${MY_P} from:" - elog "http://www.mendeley.com/download-mendeley-desktop/" - elog "and move it to ${DISTDIR}" -} - -src_prepare() { - # remove bundled Qt libraries - rm -rf lib/mendeleydesktop/plugins \ - || die "failed to remove plugin directory" - rm -rf lib/qt || die "failed to remove qt libraries" - - # force use of system Qt libraries - sed -i "s:sys\.argv\.count(\"--force-system-qt\") > 0:True:" \ - bin/mendeleydesktop || die "failed to patch startup script" - - # fix library paths - sed -i \ - -e "s:lib/mendeleydesktop:$(get_libdir)/mendeleydesktop:g" \ - -e "s:MENDELEY_BASE_PATH + \"/lib/\":MENDELEY_BASE_PATH + \"/$(get_libdir)/\":g" \ - bin/mendeleydesktop || die "failed to patch library path" -} - -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}/FAQ.pdf - dodoc share/doc/${PN}/Readme.txt - - # install binary - 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 - - # make symbolic to known location - dosym /opt/${PN}/bin/${PN} /opt/bin/${PN} -} diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.6.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.6.ebuild new file mode 100644 index 000000000000..695821fa60ab --- /dev/null +++ b/sci-misc/mendeleydesktop/mendeleydesktop-1.6.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/mendeleydesktop-1.6.ebuild,v 1.1 2012/09/10 13:42:02 miknix Exp $ + +EAPI="4" + +inherit eutils multilib + +MY_P_AMD64="${P}-linux-x86_64" +MY_P_X86="${P}-linux-i486" + +if use amd64 || use amd64-linux ; then + MY_P="${MY_P_AMD64}" +elif use x86 || use x86-linux ; then + MY_P="${MY_P_X86}" +fi + +DESCRIPTION="A free research management tool for desktop and web" +HOMEPAGE="http://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-EULA" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="fetch" + +DEPEND="" +RDEPEND=">=x11-libs/qt-core-4.6:4 + >=x11-libs/qt-gui-4.6:4 + >=x11-libs/qt-svg-4.6:4 + >=x11-libs/qt-webkit-4.6:4 + >=x11-libs/qt-xmlpatterns-4.6:4" + +S="${WORKDIR}/${MY_P}" + +QA_PRESTRIPPED=" + /opt/mendeleydesktop/$(get_libdir)/mendeleydesktop/libexec/.* + /opt/mendeleydesktop/$(get_libdir)/lib.*so.*" + +pkg_nofetch() { + elog "Please download ${MY_P} from:" + elog "http://www.mendeley.com/download-mendeley-desktop/" + elog "and move it to ${DISTDIR}" +} + +src_prepare() { + # remove bundled Qt libraries + rm -rf lib/mendeleydesktop/plugins \ + || die "failed to remove plugin directory" + rm -rf lib/qt || die "failed to remove qt libraries" + + # force use of system Qt libraries + sed -i "s:sys\.argv\.count(\"--force-system-qt\") > 0:True:" \ + bin/mendeleydesktop || die "failed to patch startup script" + + # fix library paths + sed -i \ + -e "s:lib/mendeleydesktop:$(get_libdir)/mendeleydesktop:g" \ + -e "s:MENDELEY_BASE_PATH + \"/lib/\":MENDELEY_BASE_PATH + \"/$(get_libdir)/\":g" \ + bin/mendeleydesktop || die "failed to patch library path" +} + +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}/FAQ.pdf + dodoc share/doc/${PN}/Readme.txt + + # install binary + 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 + + # make symbolic to known location + dosym /opt/${PN}/bin/${PN} /opt/bin/${PN} +} -- cgit v1.2.3-65-gdbad