Skip to content

Commit

Permalink
games-board/ccgo: EAPI bump, remove unused eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <[email protected]>
Signed-off-by: Ionen Wolkens <[email protected]>
  • Loading branch information
mm1ke authored and ionenwks committed Jun 15, 2021
1 parent d55af28 commit 9e9d5a5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions games-board/ccgo/ccgo-0.3.6.5-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

inherit autotools eutils toolchain-funcs flag-o-matic
inherit autotools flag-o-matic toolchain-funcs

DESCRIPTION="An IGS client written in C++"
DESCRIPTION="IGS client written in C++"
HOMEPAGE="https://ccdw.org/~cjj/prog/ccgo/"
SRC_URI="https://ccdw.org/~cjj/prog/ccgo/src/${P}.tar.gz"

Expand All @@ -18,8 +18,8 @@ RDEPEND="
>=dev-cpp/gconfmm-2.6
>=dev-cpp/gtkmm-2.4:2.4
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
virtual/pkgconfig
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
nls? ( sys-devel/gettext )"

PATCHES=(
Expand All @@ -37,8 +37,8 @@ src_prepare() {

sed -i \
-e '/^localedir/s/=.*/=@localedir@/' \
-e '/^appicondir/s:=.*:=/usr/share/pixmaps:' \
-e '/^desktopdir/s:=.*:=/usr/share/applications:' \
-e "/^appicondir/s|=.*|=${EPREFIX}/usr/share/pixmaps|" \
-e "/^desktopdir/s|=.*|=${EPREFIX}/usr/share/applications|" \
Makefile.am || die

# cargo cult from bug #569528
Expand All @@ -52,7 +52,7 @@ src_prepare() {

src_configure() {
econf \
--localedir=/usr/share/locale \
--localedir="${EPREFIX}"/usr/share/locale \
$(use_enable nls)
}

Expand Down

0 comments on commit 9e9d5a5

Please sign in to comment.