summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Hron <jaroslav.hron@mff.cuni.cz>2012-05-10 10:20:17 +0200
committerJaroslav Hron <jaroslav.hron@mff.cuni.cz>2012-05-10 10:20:17 +0200
commit5dea4e9d7d56b4f2069f3f37be7bb1e95db5bbbf (patch)
treecca67ad68e04846219fe97bff4464b31c8db4ec8
parentupdate patch (diff)
downloadjxh-5dea4e9d7d56b4f2069f3f37be7bb1e95db5bbbf.tar.gz
jxh-5dea4e9d7d56b4f2069f3f37be7bb1e95db5bbbf.tar.bz2
jxh-5dea4e9d7d56b4f2069f3f37be7bb1e95db5bbbf.zip
update mendeley desktop
-rw-r--r--app-misc/mendeleydesktop/Manifest4
-rw-r--r--app-misc/mendeleydesktop/mendeleydesktop-1.5.1.ebuild63
2 files changed, 65 insertions, 2 deletions
diff --git a/app-misc/mendeleydesktop/Manifest b/app-misc/mendeleydesktop/Manifest
index 91b1b83..80c3baf 100644
--- a/app-misc/mendeleydesktop/Manifest
+++ b/app-misc/mendeleydesktop/Manifest
@@ -5,6 +5,7 @@ DIST mendeleydesktop-1.1.2-linux-x86_64.tar.bz2 33065728 RMD160 6e616f639196df26
DIST mendeleydesktop-1.1.3-linux-x86_64.tar.bz2 33102541 RMD160 c8c65d18644d39385a77ed690a969d45bb663c82 SHA1 8af740ee9eb5f2cf2dd41994191a0f1ad6f14286 SHA256 8d7da5f238b1ab2a8dc2611dddc1d7566e4526ef79e0334bf4d9e9601e947d62
DIST mendeleydesktop-1.3.1-linux-x86_64.tar.bz2 30423853 RMD160 56d3cfc91bac5e89d27b403e62af49d6a4e273d3 SHA1 e47a3ac2c1c92d1cc8594e46b576ccc021c47e22 SHA256 15fab4130f560e420a6de803e4174a107c0fe720f4f53f84e4e18b91a586b693
DIST mendeleydesktop-1.3.2-linux-x86_64.tar.bz2 30397644 RMD160 301318766b3004018e13e000212212a71a3ef3c3 SHA1 8ecba14ab42befb363e536db33566c7788a3cb79 SHA256 869e5df39b5af17b89af49e602d3a2a919b600a33c2e98678fef8ae3569be2f7
+DIST mendeleydesktop-1.5.1-linux-x86_64.tar.bz2 30277227 RMD160 557bf529e09df2639710b4762143d5414c39b323 SHA1 8cdcc4b7b4da7903f670e7fb144a48e010dc3aac SHA256 1db939d39d2ccc0b1fe52510946b5a09b7ed8ab5f6a73795da23c0db0b41fec0
EBUILD mendeleydesktop-1.0.1.ebuild 1770 RMD160 d2e5936069c272f16361fa9996ff0f75aa8ca71e SHA1 4c9e171a18e5a538878d12078cec7c5d6bef9c01 SHA256 0809c1555d5a391e8f859ffef6cc889a9ee300594e8061d1ee4499078bcbfb7a
EBUILD mendeleydesktop-1.0.ebuild 1742 RMD160 4711940050a239edaca165112232813b881cae63 SHA1 342958bb5be92c8c3dd2332e55eaaa1eb74eb021 SHA256 923362184100e359418eec5a4dc5332c3061a4cfadc8ae1a78342dc40313b06c
EBUILD mendeleydesktop-1.1.2.ebuild 1770 RMD160 d2e5936069c272f16361fa9996ff0f75aa8ca71e SHA1 4c9e171a18e5a538878d12078cec7c5d6bef9c01 SHA256 0809c1555d5a391e8f859ffef6cc889a9ee300594e8061d1ee4499078bcbfb7a
@@ -12,5 +13,4 @@ EBUILD mendeleydesktop-1.1.3.ebuild 1770 RMD160 d2e5936069c272f16361fa9996ff0f75
EBUILD mendeleydesktop-1.1.ebuild 1770 RMD160 d2e5936069c272f16361fa9996ff0f75aa8ca71e SHA1 4c9e171a18e5a538878d12078cec7c5d6bef9c01 SHA256 0809c1555d5a391e8f859ffef6cc889a9ee300594e8061d1ee4499078bcbfb7a
EBUILD mendeleydesktop-1.3.1.ebuild 1749 RMD160 87b41c08fa2376c51b9ebccf75f684a7a8a7864c SHA1 82ab9738c2f829ad742a916dbb4853814b9aaeb2 SHA256 af924b06885ef696a4cc0f0286e7a39a1c32ac82d31d941a13f296ff6e6e9c73
EBUILD mendeleydesktop-1.3.2.ebuild 1750 RMD160 241193d544f15a7d13698d34a911276cdcf92cd4 SHA1 616f08c13b915f58468b883aa0eb7309ef8f0186 SHA256 60794fc4b7e115244d272bcea36eee2cf72a79ec838926f908d7c6195d1960cf
-MISC mendeleydesktop-1.3.1.ebuild~ 1770 RMD160 d2e5936069c272f16361fa9996ff0f75aa8ca71e SHA1 4c9e171a18e5a538878d12078cec7c5d6bef9c01 SHA256 0809c1555d5a391e8f859ffef6cc889a9ee300594e8061d1ee4499078bcbfb7a
-MISC mendeleydesktop-1.3.2.ebuild~ 1770 RMD160 d2e5936069c272f16361fa9996ff0f75aa8ca71e SHA1 4c9e171a18e5a538878d12078cec7c5d6bef9c01 SHA256 0809c1555d5a391e8f859ffef6cc889a9ee300594e8061d1ee4499078bcbfb7a
+EBUILD mendeleydesktop-1.5.1.ebuild 1750 RMD160 241193d544f15a7d13698d34a911276cdcf92cd4 SHA1 616f08c13b915f58468b883aa0eb7309ef8f0186 SHA256 60794fc4b7e115244d272bcea36eee2cf72a79ec838926f908d7c6195d1960cf
diff --git a/app-misc/mendeleydesktop/mendeleydesktop-1.5.1.ebuild b/app-misc/mendeleydesktop/mendeleydesktop-1.5.1.ebuild
new file mode 100644
index 0000000..4cf7e23
--- /dev/null
+++ b/app-misc/mendeleydesktop/mendeleydesktop-1.5.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils
+
+if [ "${ARCH}" = "amd64" ] ; then
+ LNXARCH="linux-x86_64"
+else
+ LNXARCH="linux-i486"
+fi
+
+DESCRIPTION="A free research management tool for desktop & web"
+HOMEPAGE="http://www.mendeley.com/"
+SRC_URI="http://download.mendeley.com/linux/${P}-${LNXARCH}.tar.bz2"
+
+
+LICENSE="Mendelay-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror strip"
+RDEPEND="dev-libs/openssl:0.9.8
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libpng:1.2"
+
+S="${WORKDIR}/${P}-${LNXARCH}"
+
+MENDELEY_INSTALL_DIR="/opt/${PN}"
+
+src_install() {
+ # install menu
+ domenu "share/applications/${PN}.desktop"
+ # Install commonly used icon sizes
+ for res in 16x16 22x22 32x32 48x48 64x64 128x128 ; do
+ insinto "/usr/share/icons/hicolor/${res}/apps"
+ doins "share/icons/hicolor/${res}/apps/${PN}.png" || \
+ die "Installing icons failed."
+ done
+ insinto "/usr/share/pixmaps"
+ doins "share/icons/hicolor/48x48/apps/${PN}.png" || \
+ die "Installing pixmap failed."
+
+ # dodoc
+ dodoc "share/doc/${PN}/"* || die "Installing docs failed."
+
+ # create directories for installation
+ dodir ${MENDELEY_INSTALL_DIR} || die "dodir failed"
+ dodir "${MENDELEY_INSTALL_DIR}/lib" || die "dodir failed"
+ dodir "${MENDELEY_INSTALL_DIR}/share" || die "dodir failed"
+
+ # install binaries
+ mv "bin" "${D}${MENDELEY_INSTALL_DIR}" || die "Installing bin failed."
+ mv "lib" "${D}${MENDELEY_INSTALL_DIR}" || die "Installing libs failed."
+ mv "share/${PN}" "${D}${MENDELEY_INSTALL_DIR}/share" || \
+ die "Installing shared files failed."
+ dosym "${MENDELEY_INSTALL_DIR}/bin/${PN}" "/opt/bin/${PN}" || \
+ die "Installing launcher symlinks failed."
+}
+