Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/staruml-bin/, licenses/
Date: Sat, 01 Oct 2016 20:06:00
Message-Id: 1475352349.1403a287f125459943403b40437a186aaa2a052f.monsieurp@gentoo
1 commit: 1403a287f125459943403b40437a186aaa2a052f
2 Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 29 22:14:32 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 20:05:49 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1403a287
7
8 dev-util/staruml-bin: new ebuild.
9
10 StarUML is a sophisticated software modeler.
11
12 Acked-by: David Seifert <soap <AT> gentoo.org>
13 Closes: https://github.com/gentoo/gentoo/pull/2433
14
15 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
16
17 dev-util/staruml-bin/Manifest | 2 +
18 dev-util/staruml-bin/metadata.xml | 12 ++++++
19 dev-util/staruml-bin/staruml-bin-2.7.0.ebuild | 61 +++++++++++++++++++++++++++
20 licenses/StarUML-EULA | 26 ++++++++++++
21 4 files changed, 101 insertions(+)
22
23 diff --git a/dev-util/staruml-bin/Manifest b/dev-util/staruml-bin/Manifest
24 new file mode 100644
25 index 00000000..2210c63
26 --- /dev/null
27 +++ b/dev-util/staruml-bin/Manifest
28 @@ -0,0 +1,2 @@
29 +DIST StarUML-v2.7.0-32-bit.deb 41745682 SHA256 a6728da7f6d1c05a6aca3f2681e83b14924e49c760a9c7f1d2541265260a5cf5 SHA512 c6d09d1504c7482bd6ce9224ea849cb7fa7530dad2691b283676487b67ecbb5f47e1515017de577bace4e703246edad9e75fa94f7ea9bd1c9ad47792e801bb1a WHIRLPOOL 4481d34fa4bcfb0f567c15dee81a0232bcdeecebabf860f89fbae3695baf4a8a87859ad36ade660e107471b93c64f81efd8d2cb61e92f5a356107c22f6b542b0
30 +DIST StarUML-v2.7.0-64-bit.deb 43560668 SHA256 9155d363266978314e74fe22c2dbf2411df591bca4a5d271f22b54ad55dc4ae5 SHA512 a651fe275e731cc626615e9ddbb1ba1a5e7ac62383ae01a7f6bb5683dc97f3795e05701bdc9717ee7140b64b3395a1ab68cacf7a12f640fa05b721fac611ea1f WHIRLPOOL 365818201529d57d2688bcb907f4cc08fd8c1e3cf4658dd77de230498eb7a647834409b773fcc6b0e620fcc6df32cc07754f68e0c948a5285b5513cc880eed68
31
32 diff --git a/dev-util/staruml-bin/metadata.xml b/dev-util/staruml-bin/metadata.xml
33 new file mode 100644
34 index 00000000..3554bdb
35 --- /dev/null
36 +++ b/dev-util/staruml-bin/metadata.xml
37 @@ -0,0 +1,12 @@
38 +<?xml version="1.0" encoding="UTF-8"?>
39 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
40 +<pkgmetadata>
41 + <maintainer type="person">
42 + <email>hilobakho@×××××.com</email>
43 + <name>Mykyta Holubakha</name>
44 + </maintainer>
45 + <maintainer type="project">
46 + <email>proxy-maint@g.o</email>
47 + <name>Gentoo Proxy Maintainers Project</name>
48 + </maintainer>
49 +</pkgmetadata>
50
51 diff --git a/dev-util/staruml-bin/staruml-bin-2.7.0.ebuild b/dev-util/staruml-bin/staruml-bin-2.7.0.ebuild
52 new file mode 100644
53 index 00000000..cca6bdf
54 --- /dev/null
55 +++ b/dev-util/staruml-bin/staruml-bin-2.7.0.ebuild
56 @@ -0,0 +1,61 @@
57 +# Copyright 1999-2016 Gentoo Foundation
58 +# Distributed under the terms of the GNU General Public License v2
59 +# $Id$
60 +
61 +EAPI=6
62 +
63 +inherit unpacker
64 +
65 +DESCRIPTION="A sophisticated software modeler"
66 +HOMEPAGE="http://staruml.io/"
67 +SRC_URI="
68 + amd64? ( http://staruml.io/download/release/v${PV}/StarUML-v${PV}-64-bit.deb )
69 + x86? ( http://staruml.io/download/release/v${PV}/StarUML-v${PV}-32-bit.deb )
70 +"
71 +
72 +LICENSE="StarUML-EULA no-source-code"
73 +SLOT="0"
74 +KEYWORDS="~amd64 ~x86"
75 +IUSE=""
76 +RESTRICT="splitdebug"
77 +
78 +RDEPEND="
79 + dev-libs/atk
80 + dev-libs/expat
81 + dev-libs/glib:2
82 + dev-libs/libgcrypt:11
83 + dev-libs/nss
84 + dev-libs/nspr
85 + gnome-base/gconf
86 + media-libs/fontconfig
87 + media-libs/freetype
88 + media-libs/alsa-lib
89 + net-print/cups
90 + x11-libs/cairo
91 + x11-libs/gdk-pixbuf:2
92 + x11-libs/gtk+:2
93 + x11-libs/libXcomposite
94 + x11-libs/libXdamage
95 + x11-libs/libXext
96 + x11-libs/libXfixes
97 + x11-libs/libXi
98 + x11-libs/libXrender
99 + x11-libs/libX11
100 + x11-libs/pango
101 + virtual/libudev
102 +"
103 +
104 +S="${WORKDIR}"
105 +QA_PREBUILT="opt/staruml/Brackets-node opt/staruml/StarUML"
106 +
107 +src_unpack() {
108 + unpack_deb ${A}
109 +}
110 +
111 +MY_PN=${PN/-bin/}
112 +src_install() {
113 + mv opt "${ED}" || die
114 + dosym /usr/lib/libudev.so /opt/${MY_PN}/libudev.so.0
115 + dosym /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN}
116 + newdoc usr/share/doc/${MY_PN}/copyright LICENSE
117 +}
118
119 diff --git a/licenses/StarUML-EULA b/licenses/StarUML-EULA
120 new file mode 100644
121 index 00000000..5208757
122 --- /dev/null
123 +++ b/licenses/StarUML-EULA
124 @@ -0,0 +1,26 @@
125 +End User License Agreement
126 +The SOFTWARE PRODUCT (StarUML) is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The SOFTWARE PRODUCT is licensed, not sold.
127 +LICENSES
128 +StarUML is licensed as follows:
129 +Installation and Usage.
130 +
131 +Licenses are per user and valid for use on all supported operating systems. License keys may be used on multiple computers and operating systems, provided the license key holder is the primary user. Businesses must purchase at least as many licenses as the number of people using StarUML.
132 +Backup Copies.
133 +
134 +You may make copies of the license key and or StarUML for backup and archival purposes.
135 +DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS
136 +Maintenance of Copyright Notices.
137 +
138 +You must not remove or alter any copyright notices on any copy of StarUML.
139 +Distribution.
140 +
141 +You may not distribute or sell license keys or StarUML to third parties. Licenses will be revoked if distributed or sold to third parties.
142 +Rental.
143 +
144 +You may not rent, lease, or lend the license key or StarUML.
145 +COPYRIGHT
146 +All title, including but not limited to copyrights, in and to StarUML and any copies thereof are owned by MKLab.
147 +NO WARRANTIES
148 +MKLab expressly disclaims any warranty for StarUML, which is provided 'as is' without any express or implied warranty of any kind, including but not limited to any warranties of merchantability, non-infringement, or fitness of a particular purpose.
149 +LIMITATION OF LIABILITY
150 +In no event shall MKLab be liable for any damages due to use of StarUML, to the maximum extent permitted by law. This includes without limitation, lost profits, business interruption, or lost information. In no event will MKLab be liable for loss of data or for indirect, special, incidental, consequential (including lost profit), or other damages. MKLab shall have no liability with respect to the content of StarUML or any part thereof, including but not limited to errors or omissions contained therein, libel, trademark rights, business interruption, loss of privacy or the disclosure of confidential information.