blob: 10c1a094d092d39ff76b87df8fd06a3e4448c420 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit eutils qt4-r2
MY_P="StructureSynth-Source-v${PV}"
DESCRIPTION="A program to generate 3D structures by specifying a design grammar"
HOMEPAGE="http://structuresynth.sourceforge.net/"
SRC_URI="mirror://sourceforge/structuresynth/${MY_P}.zip"
LICENSE="|| ( LGPL-2.1 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="virtual/opengl
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtopengl:4
dev-qt/qtscript:4"
DEPEND="${RDEPEND}
app-arch/unzip"
S="${WORKDIR}/Structure Synth Source Code"
src_prepare() {
qmake -project -o ${PN}.pro -after "CONFIG+=opengl" \
-after "QT+=xml opengl script" || die "qmake failed"
}
src_install() {
dobin ${PN}
dodoc roadmap.txt changelog.txt bugs.txt
domenu ${PN}.desktop
newicon images/structuresynth.png ${PN}.png
}
|