summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2016-12-30 15:02:17 +0100
committerWolfram Schlich <wschlich@gentoo.org>2017-01-16 12:49:14 +0100
commite21dfdb5685a76e255daa8ebc0fb599295c3d6a5 (patch)
treeff0a24e4aa72dd545311c4d9f07d78d954973e92 /app-misc/xmind
parentdev-games/cegui: Removed old. (diff)
downloadgentoo-e21dfdb5685a76e255daa8ebc0fb599295c3d6a5.tar.gz
gentoo-e21dfdb5685a76e255daa8ebc0fb599295c3d6a5.tar.bz2
gentoo-e21dfdb5685a76e255daa8ebc0fb599295c3d6a5.zip
app-misc/xmind: version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-misc/xmind')
-rw-r--r--app-misc/xmind/Manifest1
-rw-r--r--app-misc/xmind/xmind-3.7.1.ebuild93
2 files changed, 94 insertions, 0 deletions
diff --git a/app-misc/xmind/Manifest b/app-misc/xmind/Manifest
index 3d45ddda342d..84020317792e 100644
--- a/app-misc/xmind/Manifest
+++ b/app-misc/xmind/Manifest
@@ -1,5 +1,6 @@
DIST xmind-7-update1-portable.zip 263875799 SHA256 2823c93178e55ff21d3a75ff2a9d2aa694f50a94a7220207a1ad757660cdf030 SHA512 c60cda54af5aefefde480627e7191ebdaf32df27e2873ac738ee7814ad0acda7066ef1ff62ffdc16148d190438d60991ca036fe0903cda44edbab91e2237b4bb WHIRLPOOL 4f177c52faef598143eb479b5cd9f7a55ddd7c82e7610852f01074227f6d8a29cf00c4ddd3d3d35d30ae6e859670791734594cf2c1f6d2ab2ec406207b612350
DIST xmind-8-linux.zip 142262044 SHA256 3b57e41953672379e3b7ab7a2fe1c577164be36f025895c792d76ca63b5d0439 SHA512 8f7f386eac1341e4e8e5cb86a701596e0cc2efcf0a20f6cc53af2fc5dd6b9859dfaf54ab104316c60a52a1083fa55fa8ab0c58498151d29cd463012c9474b5e7 WHIRLPOOL 825757d60a9c82cd964c642ac73320ceb33e460580cecd1899a0c7158c611f394b7f2b262461b2c5ea523970560c700e43c274adb8ddc856d40d69ef241dee16
+DIST xmind-8-update1-linux.zip 142395100 SHA256 59dc865856d8b560ebc5a9d220a26e6694cb004b67cd1e7c76e177637f432e35 SHA512 725268287dfa9dc9a5d9fd429277eecd43ef2e09158b3bb8ef51e06355620741b2aa709c227debd0069f4401623b7274082f6b81b3ace153289ef7ffac25fca4 WHIRLPOOL 2b23a85c56d44ac3d4fa8480e6995386a2595f8947932a0e8179238f78c088c1b7af9b8ffc532121175ad7c0ab02fdecaae9008c53d99e1a5724225d0c689df5
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.7.1.ebuild b/app-misc/xmind/xmind-3.7.1.ebuild
new file mode 100644
index 000000000000..17ee39b4aecc
--- /dev/null
+++ b/app-misc/xmind/xmind-3.7.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils multilib gnome2-utils font
+
+MY_PV="8-update1"
+MY_P="${PN}-${MY_PV}-linux"
+
+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.8
+ x11-libs/gtk+:2
+"
+
+S=${WORKDIR}
+
+QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so"
+QA_FLAGS_IGNORED="
+ opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160518-1444/eclipse_1617.so
+ opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444/eclipse_1617.so
+ opt/xmind/XMind/XMind
+"
+
+FONT_SUFFIX="ttf"
+FONT_S="${S}/fonts"
+
+src_configure() {
+ if use amd64; then
+ XDIR="XMind_amd64"
+ else
+ XDIR="XMind_i388"
+ fi
+ mv "$XDIR" XMind || die
+ # 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/\.\.\/plugins/\/opt\/xmind\/plugins/g' \
+ -e '/-vmargs/i-showsplash' \
+ -e '/vmargs/iorg.xmind.cathy' \
+ -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 plugins configuration features XMind
+ fperms a+rx "/opt/xmind/XMind/XMind"
+
+ exeinto /opt/bin
+ newexe "${FILESDIR}/xmind-wrapper-3.7.0" 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;"
+ font_src_install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ font_pkg_postinst
+ elog "For audio notes support, install media-sound/lame"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}