aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-01-08 16:54:50 +0100
committerJustin Lecher <jlec@gentoo.org>2015-01-08 16:55:03 +0100
commit190605c70b83f2c4247d38943f8bb8843eb453d6 (patch)
tree72edab327b6992a271262a79694d50f9f828fbf9 /sci-misc/mendeleydesktop/mendeleydesktop-1.12.4.ebuild
parentsci-biology/EBARDenovo: new package (diff)
downloadsci-190605c70b83f2c4247d38943f8bb8843eb453d6.tar.gz
sci-190605c70b83f2c4247d38943f8bb8843eb453d6.tar.bz2
sci-190605c70b83f2c4247d38943f8bb8843eb453d6.zip
Moved to tree
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-misc/mendeleydesktop/mendeleydesktop-1.12.4.ebuild')
-rw-r--r--sci-misc/mendeleydesktop/mendeleydesktop-1.12.4.ebuild121
1 files changed, 0 insertions, 121 deletions
diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.12.4.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.12.4.ebuild
deleted file mode 100644
index 9bbcca108..000000000
--- a/sci-misc/mendeleydesktop/mendeleydesktop-1.12.4.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-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-EULA"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RESTRICT="fetch"
-
-DEPEND=""
-RDEPEND=">=dev-qt/qtcore-4.6:4
- >=dev-qt/qtgui-4.6:4
- >=dev-qt/qtsvg-4.6:4
- >=dev-qt/qtwebkit-4.6:4
- >=dev-qt/qtxmlpatterns-4.6:4"
-
-QA_PREBUILT="
- /opt/mendeleydesktop/lib64/libMendeley.so.${PV}
- /opt/mendeleydesktop/lib64/libPDFNetC.so
- /opt/mendeleydesktop/lib64/mendeleydesktop/libexec/Updater
- /opt/mendeleydesktop/lib64/mendeleydesktop/libexec/mendeleydesktop.x86_64
- /opt/mendeleydesktop/lib/libMendeley.so.${PV}
- /opt/mendeleydesktop/lib/libPDFNetC.so
- /opt/mendeleydesktop/lib/mendeleydesktop/libexec/Updater
- /opt/mendeleydesktop/lib/mendeleydesktop/libexec/mendeleydesktop.i486"
-
-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 -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}/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
-}