public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-misc/mendeleydesktop: mendeleydesktop-1.13.1.ebuild metadata.xml ChangeLog mendeleydesktop-1.12.4.ebuild mendeleydesktop-1.12.1.ebuild
@ 2015-01-25 15:37 Michael Weber (xmw)
  0 siblings, 0 replies; only message in thread
From: Michael Weber (xmw) @ 2015-01-25 15:37 UTC (permalink / raw
  To: gentoo-commits

xmw         15/01/25 15:37:11

  Modified:             metadata.xml ChangeLog
  Added:                mendeleydesktop-1.13.1.ebuild
  Removed:              mendeleydesktop-1.12.4.ebuild
                        mendeleydesktop-1.12.1.ebuild
  Log:
  Version bump (bug 536656, thanks Andrés Becerra Sandoval, Marius Brehler &  Alexander), changed license file (bug 536686), adding myself as co-maintainer.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

Revision  Changes    Path
1.3                  sci-misc/mendeleydesktop/metadata.xml

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

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml	8 Jan 2015 15:54:10 -0000	1.2
+++ metadata.xml	25 Jan 2015 15:37:11 -0000	1.3
@@ -5,6 +5,10 @@
     <email>miknix@gentoo.org</email>
     <name>Angelo Arrifano</name>
   </maintainer>
+  <maintainer>
+    <email>xmw@gentoo.org</email>
+    <name>Michael Weber</name>
+  </maintainer>
   <longdescription>
 Mendeley(TM) is a free reference manager and academic social network that can 
 help you organize your research, collaborate with others online, and discover 



1.19                 sci-misc/mendeleydesktop/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog	8 Jan 2015 15:54:10 -0000	1.18
+++ ChangeLog	25 Jan 2015 15:37:11 -0000	1.19
@@ -1,6 +1,14 @@
 # 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.18 2015/01/08 15:54:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/mendeleydesktop/ChangeLog,v 1.19 2015/01/25 15:37:11 xmw Exp $
+
+*mendeleydesktop-1.13.1 (25 Jan 2015)
+
+  25 Jan 2015; Michael Weber <xmw@gentoo.org>
+  +files/mendeleydesktop-fix-python3.patch, +mendeleydesktop-1.13.1.ebuild,
+  -mendeleydesktop-1.12.1.ebuild, -mendeleydesktop-1.12.4.ebuild, metadata.xml:
+  Version bump (bug 536656, thanks Andrés Becerra Sandoval, Marius Brehler &
+  Alexander), changed license file (bug 536686), adding myself as co-maintainer.
 
 *mendeleydesktop-1.12.4 (08 Jan 2015)
 



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

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

Index: mendeleydesktop-1.13.1.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.1.ebuild,v 1.1 2015/01/25 15:37:11 xmw Exp $

EAPI=5

inherit eutils fdo-mime multilib

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=""

RESTRICT="fetch"

DEPEND=""
RDEPEND="
	dev-qt/qtcore:4
	dev-qt/qtgui:4
	dev-qt/qtsvg:4
	dev-qt/qtwebkit:4
	dev-qt/qtxmlpatterns:4"

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"

	# patch for python3
	epatch "${FILESDIR}/mendeleydesktop-fix-python3.patch"
}

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
	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
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-25 15:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-25 15:37 [gentoo-commits] gentoo-x86 commit in sci-misc/mendeleydesktop: mendeleydesktop-1.13.1.ebuild metadata.xml ChangeLog mendeleydesktop-1.12.4.ebuild mendeleydesktop-1.12.1.ebuild Michael Weber (xmw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox