Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/galaxy/
Date: Fri, 02 Sep 2016 20:09:35
Message-Id: 1472846906.26ff451a2c5a81ed96112baac6d79d8f575e24d9.soap@gentoo
1 commit: 26ff451a2c5a81ed96112baac6d79d8f575e24d9
2 Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
3 AuthorDate: Thu Sep 1 15:19:42 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 20:08:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26ff451a
7
8 sci-astronomy/galaxy: revbump (EAPI 4 -> 6)
9
10 Package-Manager: portage-2.2.28
11 Closes: https://github.com/gentoo/gentoo/pull/2181
12
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 sci-astronomy/galaxy/galaxy-2.2-r1.ebuild | 46 +++++++++++++++++++++++++++++++
16 1 file changed, 46 insertions(+)
17
18 diff --git a/sci-astronomy/galaxy/galaxy-2.2-r1.ebuild b/sci-astronomy/galaxy/galaxy-2.2-r1.ebuild
19 new file mode 100644
20 index 00000000..c99533d
21 --- /dev/null
22 +++ b/sci-astronomy/galaxy/galaxy-2.2-r1.ebuild
23 @@ -0,0 +1,46 @@
24 +# Copyright 1999-2016 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +# $Id$
27 +
28 +EAPI=6
29 +
30 +inherit fdo-mime flag-o-matic toolchain-funcs
31 +
32 +# probably change every release
33 +PID="1/3/0/3/13035936"
34 +
35 +DESCRIPTION="Stellar simulation program"
36 +HOMEPAGE="http://www.kornelix.com/galaxy.html"
37 +SRC_URI="http://www.kornelix.com/uploads/${PID}/${P}.tar.gz"
38 +
39 +LICENSE="GPL-3"
40 +SLOT="0"
41 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
42 +IUSE=""
43 +
44 +DEPEND="x11-libs/gtk+:3"
45 +RDEPEND="${DEPEND}
46 + x11-misc/xdg-utils"
47 +
48 +src_prepare() {
49 + default
50 + sed -e '/DOCDIR/ s/PROGRAM)/&-\$(VERSION)/g' \
51 + -e '/xdg-desktop-menu/d' \
52 + -i Makefile || die
53 +}
54 +
55 +src_configure() {
56 + tc-export CXX
57 + append-cxxflags -pthread
58 + append-ldflags -pthread
59 + export PREFIX="${EPREFIX}/usr"
60 + default
61 +}
62 +
63 +pkg_postinst() {
64 + fdo-mime_desktop_database_update
65 +}
66 +
67 +pkg_postrm() {
68 + fdo-mime_desktop_database_update
69 +}