diff options
-rw-r--r-- | app-misc/mendeleydesktop/Manifest | 6 | ||||
-rw-r--r-- | app-misc/mendeleydesktop/mendeleydesktop-1.3.1.ebuild | 62 | ||||
-rw-r--r-- | app-misc/mendeleydesktop/mendeleydesktop-1.3.2.ebuild | 63 |
3 files changed, 131 insertions, 0 deletions
diff --git a/app-misc/mendeleydesktop/Manifest b/app-misc/mendeleydesktop/Manifest index 01fc14d..91b1b83 100644 --- a/app-misc/mendeleydesktop/Manifest +++ b/app-misc/mendeleydesktop/Manifest @@ -3,8 +3,14 @@ DIST mendeleydesktop-1.0.1-linux-x86_64.tar.bz2 33487577 RMD160 63f4b62663689343 DIST mendeleydesktop-1.1-linux-x86_64.tar.bz2 33061205 RMD160 6b06fb9cd205a336cde4339a4a4b54f9512d686d SHA1 1060113fadcde8f74c6c7e83e6ebe14db15272cf SHA256 a357fac7fcb9783e9fb0c1309e2be6f9e46f1bc98e89c48db30d14458ba93698 DIST mendeleydesktop-1.1.2-linux-x86_64.tar.bz2 33065728 RMD160 6e616f639196df2698ad8ec85de7862aa5f5a6e4 SHA1 dc8b3da21ace19c42ad9890996696b75e09d8efc SHA256 23b972ac17ee841d676c5bffd3a951da632b51aa73e0d69d1188ebe6330ea1e1 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 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 EBUILD mendeleydesktop-1.1.3.ebuild 1770 RMD160 d2e5936069c272f16361fa9996ff0f75aa8ca71e SHA1 4c9e171a18e5a538878d12078cec7c5d6bef9c01 SHA256 0809c1555d5a391e8f859ffef6cc889a9ee300594e8061d1ee4499078bcbfb7a 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 diff --git a/app-misc/mendeleydesktop/mendeleydesktop-1.3.1.ebuild b/app-misc/mendeleydesktop/mendeleydesktop-1.3.1.ebuild new file mode 100644 index 0000000..af17e92 --- /dev/null +++ b/app-misc/mendeleydesktop/mendeleydesktop-1.3.1.ebuild @@ -0,0 +1,62 @@ +# 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." +} + diff --git a/app-misc/mendeleydesktop/mendeleydesktop-1.3.2.ebuild b/app-misc/mendeleydesktop/mendeleydesktop-1.3.2.ebuild new file mode 100644 index 0000000..4cf7e23 --- /dev/null +++ b/app-misc/mendeleydesktop/mendeleydesktop-1.3.2.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." +} + |