summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-04 11:41:51 +0000
committerSam James <sam@gentoo.org>2021-04-04 12:38:40 +0000
commit09e43a6d39a60913d8af2fdb3076d2a17e5039bb (patch)
treed6e63e38575efe14c03776cdaaadd617c94f0d62 /games-board
parentgames-board/openyahtzee: fix wxwidgets (diff)
downloadgentoo-09e43a6d39a60913d8af2fdb3076d2a17e5039bb.tar.gz
gentoo-09e43a6d39a60913d8af2fdb3076d2a17e5039bb.tar.bz2
gentoo-09e43a6d39a60913d8af2fdb3076d2a17e5039bb.zip
games-board/ascal: port to EAPI 7, eutils--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/ascal/ascal-0.1.1-r1.ebuild12
-rw-r--r--games-board/ascal/files/ascal-0.1.1-gcc43.patch12
2 files changed, 12 insertions, 12 deletions
diff --git a/games-board/ascal/ascal-0.1.1-r1.ebuild b/games-board/ascal/ascal-0.1.1-r1.ebuild
index 33cafc7a58d9..c1c92f2f28fe 100644
--- a/games-board/ascal/ascal-0.1.1-r1.ebuild
+++ b/games-board/ascal/ascal-0.1.1-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools eutils flag-o-matic
+EAPI=7
+
+inherit autotools flag-o-matic
DESCRIPTION="A game similar to Draughts but with some really cool enhancements"
HOMEPAGE="http://ascal.sourceforge.net/"
@@ -11,14 +12,13 @@ SRC_URI="mirror://sourceforge/ascal/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="
dev-cpp/libglademm
dev-cpp/libgnomecanvasmm
virtual/libintl"
-DEPEND="${RDEPEND}
- sys-devel/gettext"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/gettext"
PATCHES=(
"${FILESDIR}"/${P}-install.patch
diff --git a/games-board/ascal/files/ascal-0.1.1-gcc43.patch b/games-board/ascal/files/ascal-0.1.1-gcc43.patch
index b2a55584fb0b..737766a47543 100644
--- a/games-board/ascal/files/ascal-0.1.1-gcc43.patch
+++ b/games-board/ascal/files/ascal-0.1.1-gcc43.patch
@@ -1,5 +1,5 @@
---- a/src/gui.cpp 2009-01-18 21:11:58.000000000 +0100
-+++ b/src/gui.cpp 2009-01-18 21:12:33.000000000 +0100
+--- a/src/gui.cpp
++++ b/src/gui.cpp
@@ -21,6 +21,7 @@
#include "shareddata.hpp"
#include "config.h"
@@ -8,8 +8,8 @@
gui::gui(shareddata *newData): GuiBoard() {
//clean, cleaner - pointer ;)
---- a/src/gui_board.cpp 2009-01-18 21:13:30.000000000 +0100
-+++ b/src/gui_board.cpp 2009-01-18 21:13:50.000000000 +0100
+--- a/src/gui_board.cpp
++++ b/src/gui_board.cpp
@@ -20,6 +20,7 @@
#include <math.h>
#include "helper.h"
@@ -18,8 +18,8 @@
gui_board::gui_board() {
---- a/src/board.cpp 2009-01-18 21:14:27.000000000 +0100
-+++ b/src/board.cpp 2009-01-18 21:14:58.000000000 +0100
+--- a/src/board.cpp
++++ b/src/board.cpp
@@ -15,6 +15,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.