commit: 17cf79885f38e87bfc8363f2559a48a4fab25612 Author: Chris Reffett <creffett <AT> gentoo <DOT> org> AuthorDate: Mon Feb 29 23:39:11 2016 +0000 Commit: Chris Reffett <creffett <AT> gentoo <DOT> org> CommitDate: Mon Feb 29 23:39:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17cf7988
app-misc/xmind: Version bump Package-Manager: portage-2.2.27 app-misc/xmind/Manifest | 1 + app-misc/xmind/xmind-3.6.1.ebuild | 88 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/app-misc/xmind/Manifest b/app-misc/xmind/Manifest index ae24342..ad0fb1e 100644 --- a/app-misc/xmind/Manifest +++ b/app-misc/xmind/Manifest @@ -1,3 +1,4 @@ +DIST xmind-7-update1-portable.zip 263875799 SHA256 2823c93178e55ff21d3a75ff2a9d2aa694f50a94a7220207a1ad757660cdf030 SHA512 c60cda54af5aefefde480627e7191ebdaf32df27e2873ac738ee7814ad0acda7066ef1ff62ffdc16148d190438d60991ca036fe0903cda44edbab91e2237b4bb WHIRLPOOL 4f177c52faef598143eb479b5cd9f7a55ddd7c82e7610852f01074227f6d8a29cf00c4ddd3d3d35d30ae6e859670791734594cf2c1f6d2ab2ec406207b612350 DIST xmind-icons.tar.xz 5024 SHA256 6a5e087c5c66aa6f36b7822268b486922157e3b75a091b6fbdeec905607b8aa5 SHA512 3ee6b8e42b75305bec8f97f733575f10ca3d08e1c5a76a10700776cb7740ae6f8a0f3dfbc4112d60ab2499915ca4ea0e3d56fd49e55bec00fccdc8710d9f9f0d WHIRLPOOL 590571a8b950ff6200d92417ab7eede2a8856263bc07c00fb129d751d9a00ae9bab69d916aab2f04d8270eadb0466723e99570032eacabd7350afd3cca4b8f23 DIST xmind-portable-3.4.1.201401221918.zip 138440913 SHA256 f70b8317ec0fe512e507bc26cc7fed70348af3c1d8c17603a78359175fc01261 SHA512 06d6473b26a0eef97d6651d14c13d7fd28fda19b33b2aea4f924d2e0f0d3131f19d5b64e081ba0d537c44eb09e27a83596aca91156bd32c5377903fbb7da9804 WHIRLPOOL 2601e8f293ef97d12576a461bb3b7a8e68bf6a4f807f780b9e6b7a12c20030bc979f61cf1f76f6deb617c57aa2c16e8d35621e66c5df825f8800ca38304d8ee0 DIST xmind-portable-3.5.1.201411201906.zip 160601004 SHA256 920321dc254604d51d4b3b4718ba04271de0e47b63a836fc597467c4062a89e4 SHA512 24da7bf3bfbc0beddbf6f4bb4b9d465e28c652b6e80ba9e0bc2a52cc2ff8c175a83ea8cc0d5b3dc87961c5b6666b6294ca836e29795631db41455ef1b8b2b3f0 WHIRLPOOL 9dab13d6578fe7e817cfa43ce171e33ae5f6d0f939f307b8cf15d651a70800763776bf9ed318a7116716dc7aa20793455a771d46f38ca13780dc9272024f73fe diff --git a/app-misc/xmind/xmind-3.6.1.ebuild b/app-misc/xmind/xmind-3.6.1.ebuild new file mode 100644 index 0000000..a83c4cd --- /dev/null +++ b/app-misc/xmind/xmind-3.6.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils multilib gnome2-utils + +MY_PV="7-update1" +MY_P="${PN}-${MY_PV}-portable" + +DESCRIPTION="A brainstorming and mind mapping software tool" +HOMEPAGE="http://www.xmind.net" +SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip + https://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz" +LICENSE="EPL-1.0 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5 + x11-libs/gtk+:2 +" + +S=${WORKDIR} + +QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so" +QA_FLAGS_IGNORED=" + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so + opt/xmind/XMind/libcairo-swt.so + opt/xmind/XMind/XMind +" + +src_configure() { + if use amd64; then + XDIR="XMind_Linux_64bit" + else + XDIR="XMind_Linux" + fi + mv "$XDIR" XMind || die + cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini + # force data instance & config area to be at home/.xmind directory + sed \ + -e '/-configuration/d' \ + -e '/\.\/configuration/d' \ + -e '/-data/d' \ + -e '/\.\.\/Commons\/data\/workspace-cathy/d' \ + -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' \ + -i XMind/XMind.ini || die + echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die + echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die +} + +src_compile() { + : +} + +src_install() { + insinto /opt/xmind + doins -r Commons XMind + fperms a+rx "/opt/xmind/XMind/XMind" + + exeinto /opt/bin + newexe "${FILESDIR}/xmind-wrapper-3.5.3" xmind + + # install icons + local res + for res in 16 32 48; do + newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png + done + + make_desktop_entry ${PN} "XMind" ${PN} "Office" "MimeType=application/x-xmind;" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + elog "For audio notes support, install media-sound/lame" +} + +pkg_postrm() { + gnome2_icon_cache_update +}