Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/sirius/files/, games-board/sirius/
Date: Mon, 01 Aug 2016 21:10:10
Message-Id: 1470085793.64ff382c446b56b1d17fc93cf76d2c840967caad.wizardedit@gentoo
1 commit: 64ff382c446b56b1d17fc93cf76d2c840967caad
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 20:48:48 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 21:09:53 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ff382c
7
8 games-board/sirius: remove deprecated games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: portage-2.3.0
15
16 games-board/sirius/files/sirius-0.8.0-format.patch | 4 +-
17 games-board/sirius/sirius-0.8.0-r1.ebuild | 49 ++++++++++++++++++++++
18 2 files changed, 51 insertions(+), 2 deletions(-)
19
20 diff --git a/games-board/sirius/files/sirius-0.8.0-format.patch b/games-board/sirius/files/sirius-0.8.0-format.patch
21 index dccf6e2..8dff431 100644
22 --- a/games-board/sirius/files/sirius-0.8.0-format.patch
23 +++ b/games-board/sirius/files/sirius-0.8.0-format.patch
24 @@ -1,5 +1,5 @@
25 ---- src/sirius.c.old 2016-01-14 21:22:53.946900371 +0100
26 -+++ src/sirius.c 2016-01-14 21:24:08.240507669 +0100
27 +--- a/src/sirius.c 2016-01-14 21:22:53.946900371 +0100
28 ++++ b/src/sirius.c 2016-01-14 21:24:08.240507669 +0100
29 @@ -180,7 +180,7 @@
30
31 paus = 1;
32
33 diff --git a/games-board/sirius/sirius-0.8.0-r1.ebuild b/games-board/sirius/sirius-0.8.0-r1.ebuild
34 new file mode 100644
35 index 0000000..443de7d
36 --- /dev/null
37 +++ b/games-board/sirius/sirius-0.8.0-r1.ebuild
38 @@ -0,0 +1,49 @@
39 +# Copyright 1999-2016 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Id$
42 +
43 +EAPI=6
44 +inherit autotools eutils
45 +
46 +DESCRIPTION="A program for playing the game of othello/reversi"
47 +HOMEPAGE="http://sirius.bitvis.nu/"
48 +SRC_URI="http://sirius.bitvis.nu/files/${P}.tar.gz"
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +IUSE="nls"
54 +
55 +RDEPEND="
56 + gnome-base/gconf:2
57 + gnome-base/libgnomecanvas
58 + gnome-base/libgnomeui
59 + x11-libs/gtk+:2
60 + nls? ( virtual/libintl )"
61 +DEPEND="${RDEPEND}
62 + nls? ( sys-devel/gettext )"
63 +
64 +PATCHES=(
65 + "${FILESDIR}"/${P}-format.patch
66 +)
67 +
68 +src_prepare() {
69 + default
70 + sed -i -e '/-g -O3/d' configure.in || die
71 + sed -i \
72 + -e '/Icon/s/\.png//' \
73 + -e '/Categories/s/Application;//' \
74 + sirius.desktop.in || die
75 + mv configure.in configure.ac || die
76 + eautoreconf
77 +}
78 +
79 +src_configure() {
80 + econf \
81 + --datadir=/usr/share \
82 + $(use_enable nls)
83 +}
84 +
85 +src_install() {
86 + default
87 +}