public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/pasang-emas/
Date: Tue, 15 Jun 2021 20:02:14 +0000 (UTC)	[thread overview]
Message-ID: <1623787219.a21f66543993c4ebcd774741b982a70b423af568.ionen@gentoo> (raw)

commit:     a21f66543993c4ebcd774741b982a70b423af568
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Jun  9 18:05:20 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 15 20:00:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a21f6654

games-board/pasang-emas: EAPI bump, remove unused eclass, fix LICENSE

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/21178
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../pasang-emas/pasang-emas-3.1.0-r1.ebuild        | 26 +++++++++++++---------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild b/games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild
index b028b2871b2..53bb194a1a5 100644
--- a/games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild
+++ b/games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild
@@ -1,17 +1,18 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils gnome2-utils
+EAPI=7
 
-DESCRIPTION="A traditional game of Brunei"
+inherit gnome2-utils toolchain-funcs
+
+DESCRIPTION="Traditional game of Brunei"
 HOMEPAGE="http://pasang-emas.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
 	extras? ( mirror://sourceforge/${PN}/pasang-emas-themes-1.0.tar.bz2
 	          mirror://sourceforge/${PN}/pet-marble.tar.bz2
 	          mirror://sourceforge/${PN}/pet-fragrance.tar.bz2 )"
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="extras nls"
@@ -19,8 +20,8 @@ IUSE="extras nls"
 RDEPEND="app-text/gnome-doc-utils
 	>=x11-libs/gtk+-2.18.2:2
 	virtual/libintl"
-DEPEND="${RDEPEND}
-	app-text/rarian
+DEPEND="${RDEPEND}"
+BDEPEND="app-text/rarian
 	nls? ( sys-devel/gettext )"
 
 PATCHES=(
@@ -38,12 +39,16 @@ src_prepare() {
 
 src_configure() {
 	econf \
-		--localedir=/usr/share/locale \
-		--with-omf-dir=/usr/share/omf \
-		--with-help-dir=/usr/share/gnome/help \
+		--localedir="${EPREFIX}"/usr/share/locale \
+		--with-omf-dir="${EPREFIX}"/usr/share/omf \
+		--with-help-dir="${EPREFIX}"/usr/share/gnome/help \
 		$(use_enable nls)
 }
 
+src_compile(){
+	emake AR="$(tc-getAR)"
+}
+
 src_install() {
 	default
 	if use extras; then
@@ -53,7 +58,6 @@ src_install() {
 			"${WORKDIR}"/pasang-emas-themes-1.0/{conteng,kaca} \
 			"${WORKDIR}"/fragrance
 	fi
-	use nls || rm -rf "${D}"usr/share/locale
 }
 
 pkg_preinst() {


             reply	other threads:[~2021-06-15 20:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 20:02 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-09 18:56 [gentoo-commits] repo/gentoo:master commit in: games-board/pasang-emas/ Pacho Ramos
2024-06-16 10:47 Pacho Ramos
2021-06-15 20:02 Ionen Wolkens
2016-08-05  0:23 Austin English

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1623787219.a21f66543993c4ebcd774741b982a70b423af568.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox