blob: cca6bdf1d5540e26bbbf859bed763303a0d90505 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit unpacker
DESCRIPTION="A sophisticated software modeler"
HOMEPAGE="http://staruml.io/"
SRC_URI="
amd64? ( http://staruml.io/download/release/v${PV}/StarUML-v${PV}-64-bit.deb )
x86? ( http://staruml.io/download/release/v${PV}/StarUML-v${PV}-32-bit.deb )
"
LICENSE="StarUML-EULA no-source-code"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="splitdebug"
RDEPEND="
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/libgcrypt:11
dev-libs/nss
dev-libs/nspr
gnome-base/gconf
media-libs/fontconfig
media-libs/freetype
media-libs/alsa-lib
net-print/cups
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrender
x11-libs/libX11
x11-libs/pango
virtual/libudev
"
S="${WORKDIR}"
QA_PREBUILT="opt/staruml/Brackets-node opt/staruml/StarUML"
src_unpack() {
unpack_deb ${A}
}
MY_PN=${PN/-bin/}
src_install() {
mv opt "${ED}" || die
dosym /usr/lib/libudev.so /opt/${MY_PN}/libudev.so.0
dosym /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN}
newdoc usr/share/doc/${MY_PN}/copyright LICENSE
}
|