jlec        15/03/13 11:14:23

  Modified:             ChangeLog
  Added:                mendeleydesktop-1.13.5.ebuild
  Removed:              mendeleydesktop-1.13.4.ebuild
  Log:
  Version Bump, fixes 
https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/68; thanks Marius 
Brehler for the bump
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.24                 sci-misc/mendeleydesktop/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog?rev=1.24&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog?rev=1.24&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog?r1=1.23&r2=1.24

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog   25 Feb 2015 15:10:36 -0000      1.23
+++ ChangeLog   13 Mar 2015 11:14:23 -0000      1.24
@@ -1,6 +1,13 @@
 # ChangeLog for sci-misc/mendeleydesktop
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog,v 1.23 
2015/02/25 15:10:36 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog,v 1.24 
2015/03/13 11:14:23 jlec Exp $
+
+*mendeleydesktop-1.13.5 (13 Mar 2015)
+
+  13 Mar 2015; Justin Lecher <j...@gentoo.org> +mendeleydesktop-1.13.5.ebuild,
+  -mendeleydesktop-1.13.4.ebuild:
+  Version Bump, fixes https://github.com/gentoo/gentoo-portage-rsync-
+  mirror/pull/68; thanks Marius Brehler for the bump
 
 *mendeleydesktop-1.13.4 (25 Feb 2015)
 



1.1                  sci-misc/mendeleydesktop/mendeleydesktop-1.13.5.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/mendeleydesktop/mendeleydesktop-1.13.5.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/mendeleydesktop/mendeleydesktop-1.13.5.ebuild?rev=1.1&content-type=text/plain

Index: mendeleydesktop-1.13.5.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/mendeleydesktop-1.13.5.ebuild,v
 1.1 2015/03/13 11:14:23 jlec Exp $

EAPI=5

PYTHON_COMPAT=( python{2_7,3_3,3_4} )

inherit eutils fdo-mime multilib python-single-r1

MY_P_AMD64="${P}-linux-x86_64"
MY_P_X86="${P}-linux-i486"

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-terms"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RESTRICT="fetch"

DEPEND=""
RDEPEND="${PYTHON_DEPS}
        dev-qt/qtcore:4
        dev-qt/qtgui:4
        dev-qt/qtsvg:4
        dev-qt/qtwebkit:4
        dev-qt/qtxmlpatterns:4
        x11-libs/libX11
        "

QA_PREBUILT="/opt/mendeleydesktop/.*"

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() {
        # remove bundled Qt libraries
        rm -r lib/mendeleydesktop/plugins \
                || die "failed to remove plugin directory"
        rm -r 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}/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

        # install launch script
        into /opt
        make_wrapper ${PN} "/opt/${PN}/bin/${PN} --unix-distro-build"
}

pkg_postinst() {
        fdo-mime_desktop_database_update
        fdo-mime_mime_database_update
}

pkg_postrm() {
        fdo-mime_desktop_database_update
        fdo-mime_mime_database_update
}




Reply via email to