[gentoo-commits] repo/gentoo:master commit in: games-board/mah-jong/

2020-11-17 Thread James Le Cuirot
commit: 2ed956a56216efa01840dd0d3a13798f98c82843
Author: band-a-prend  yandex  ru>
AuthorDate: Thu Nov  5 15:48:48 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Nov 17 22:39:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed956a5

games-board/mah-jong: 1.16 version bump

Closes: https://bugs.gentoo.org/751040

Signed-off-by: Sergey Torokhov  yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/18139
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/mah-jong/Manifest |  1 +
 games-board/mah-jong/mah-jong-1.16.ebuild | 55 +++
 2 files changed, 56 insertions(+)

diff --git a/games-board/mah-jong/Manifest b/games-board/mah-jong/Manifest
index c6b27f6a678..59c3a7f8b8b 100644
--- a/games-board/mah-jong/Manifest
+++ b/games-board/mah-jong/Manifest
@@ -1 +1,2 @@
 DIST mj-1.14-src.tar.gz 414414 BLAKE2B 
88aa315e629dd6c1155de38897925c99a742054778721f23c4e95b0b82667ad737246a92a1e9e18aa72e8e5b118d7c5bc5e8eb7ac9d0aab51b946a154627a584
 SHA512 
b4c631ce388041475b877cd4b413fda200932aea19212c00cb606d2ef0bb6a498fe12b7b52b04ef744b296c37c531bc44d9e35f9aed44edf89651580acde91e5
+DIST mj-1.16-src.tar.gz 403981 BLAKE2B 
fe04caa61c6b2b16be1799903ba222fe4ea6b177fa68c76c66a24fbf3ac8c02420f32a253fc1f7bc7fdb9bd371b294c2debd0492ae1071570f28dc69f22ba5f4
 SHA512 
9a4a4947670facaea6230aa9b143dab4bc7546b6e8b9c85726ac0b5e4d1f1760736072a27075cf2cce82cd8fdf2eb031f81e604fa0da6c05c7ac68c7da4b497e

diff --git a/games-board/mah-jong/mah-jong-1.16.ebuild 
b/games-board/mah-jong/mah-jong-1.16.ebuild
new file mode 100644
index 000..0d457c6c2d3
--- /dev/null
+++ b/games-board/mah-jong/mah-jong-1.16.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg
+
+MY_P="mj-${PV}-src"
+DESCRIPTION="A networked Mah Jong program, together with a computer player"
+HOMEPAGE="https://mahjong.julianbradfield.org/;
+SRC_URI="https://mahjong.julianbradfield.org/Source/${MY_P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-lang/perl
+   virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+   default
+   sed -i -e '/^.TH/ s/1/6/' xmj.man || die
+}
+
+src_compile() {
+   # TILESETPATH value is passed as "char*" into "gui.c"
+   emake \
+   CC="$(tc-getCC)" \
+   EXTRA_CFLAGS="${CFLAGS}" \
+   EXTRA_LDOPTIONS="${LDFLAGS}" \
+   CDEBUGFLAGS= \
+   TILESETPATH="\"${EPREFIX}/usr/share/${PN}/\""
+}
+
+src_install() {
+   emake \
+   DESTDIR="${ED}" \
+   BINDIR="/usr/bin" \
+   MANDIR="/usr/share/man/man6" \
+   MANSUFFIX=6 \
+   INSTPGMFLAGS= \
+   install install.man
+
+   insinto "/usr/share/${PN}"
+   doins -r fallbacktiles/ tiles-numbered/ tiles-small/
+   newicon tiles-v1/tongE.xpm "${PN}.xpm"
+   make_desktop_entry xmj Mah-Jong "${PN}"
+   dodoc CHANGES ChangeLog *.txt
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/mah-jong/

2020-11-17 Thread James Le Cuirot
commit: 756d5b6efffb1185e890b0a4498f477bbb0c2424
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Nov 17 22:39:12 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Nov 17 22:39:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=756d5b6e

games-board/mah-jong: Drop old 1.14-r1

Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: James Le Cuirot  gentoo.org>

 games-board/mah-jong/Manifest|  1 -
 games-board/mah-jong/mah-jong-1.14-r1.ebuild | 47 
 2 files changed, 48 deletions(-)

diff --git a/games-board/mah-jong/Manifest b/games-board/mah-jong/Manifest
index 59c3a7f8b8b..c96def87231 100644
--- a/games-board/mah-jong/Manifest
+++ b/games-board/mah-jong/Manifest
@@ -1,2 +1 @@
-DIST mj-1.14-src.tar.gz 414414 BLAKE2B 
88aa315e629dd6c1155de38897925c99a742054778721f23c4e95b0b82667ad737246a92a1e9e18aa72e8e5b118d7c5bc5e8eb7ac9d0aab51b946a154627a584
 SHA512 
b4c631ce388041475b877cd4b413fda200932aea19212c00cb606d2ef0bb6a498fe12b7b52b04ef744b296c37c531bc44d9e35f9aed44edf89651580acde91e5
 DIST mj-1.16-src.tar.gz 403981 BLAKE2B 
fe04caa61c6b2b16be1799903ba222fe4ea6b177fa68c76c66a24fbf3ac8c02420f32a253fc1f7bc7fdb9bd371b294c2debd0492ae1071570f28dc69f22ba5f4
 SHA512 
9a4a4947670facaea6230aa9b143dab4bc7546b6e8b9c85726ac0b5e4d1f1760736072a27075cf2cce82cd8fdf2eb031f81e604fa0da6c05c7ac68c7da4b497e

diff --git a/games-board/mah-jong/mah-jong-1.14-r1.ebuild 
b/games-board/mah-jong/mah-jong-1.14-r1.ebuild
deleted file mode 100644
index 3f7a81b7f8e..000
--- a/games-board/mah-jong/mah-jong-1.14-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils toolchain-funcs
-
-MY_P="mj-${PV}-src"
-DESCRIPTION="A networked Mah Jong program, together with a computer player"
-HOMEPAGE="http://www.stevens-bradfield.com/MahJong/;
-SRC_URI="http://mahjong.julianbradfield.org/Source/${MY_P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
-   dev-lang/perl"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-   default
-
-   sed -i -e '/^.TH/ s/1/6/' xmj.man || die
-   sed -i \
-   -e "/^DESTDIR =/ s:=.*:= ${D}:" \
-   -e "/^BINDIR =/ s:=.*:= /usr/bin:" \
-   -e '/^MANDIR =/ s:man/man1:/usr/share/man/man6:' \
-   -e '/^MANSUFFIX =/ s:1:6:' \
-   -e "/^CC =/ s:gcc:$(tc-getCC):" \
-   -e "/^CFLAGS =/ s:=:= ${CFLAGS}:" \
-   -e "/^LDLIBS =/ s:$:${LDFLAGS}:" \
-   -e '/^INSTPGMFLAGS =/ s:-s::' \
-   -e '/^CDEBUGFLAGS =/d' \
-   -e "/^TILESETPATH=/ s:NULL:\"/usr/share/${PN}/\":" Makefile || 
die
-}
-
-src_install() {
-   emake install install.man
-   insinto /usr/share/${PN}
-   doins -r fallbacktiles/ tiles-numbered/ tiles-small/
-   newicon tiles-v1/tongE.xpm ${PN}.xpm
-   make_desktop_entry xmj Mah-Jong ${PN}
-   dodoc CHANGES ChangeLog *.txt
-}



[gentoo-commits] repo/gentoo:master commit in: games-board/mah-jong/, games-board/goatee-gtk/, games-board/peg-e/, ...

2017-12-09 Thread Michał Górny
commit: 40fd3ec48678194fa3026e187d19a125016e6f40
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 23:25:01 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 10 00:05:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40fd3ec4

games-board/*: Update Manifest hashes

 games-board/ace/Manifest   |  2 +-
 games-board/ascal/Manifest |  2 +-
 games-board/atakks/Manifest|  2 +-
 games-board/awale/Manifest |  4 ++--
 games-board/biloba/Manifest|  2 +-
 games-board/blokish/Manifest   |  2 +-
 games-board/camato/Manifest|  2 +-
 games-board/capicity/Manifest  |  4 ++--
 games-board/ccgo/Manifest  |  2 +-
 games-board/cgoban/Manifest|  2 +-
 games-board/cgoban2/Manifest   |  2 +-
 games-board/chessx/Manifest|  4 ++--
 games-board/cockatrice/Manifest|  6 +++---
 games-board/crafty/Manifest|  4 ++--
 games-board/domination/Manifest|  2 +-
 games-board/eboard/Manifest|  8 
 games-board/four-in-a-row/Manifest |  4 ++--
 games-board/freedoko/Manifest  | 16 
 games-board/fruit/Manifest |  2 +-
 games-board/gambit/Manifest|  4 ++--
 games-board/gmchess/Manifest   |  2 +-
 games-board/gnome-chess/Manifest   |  4 ++--
 games-board/gnome-hearts/Manifest  |  2 +-
 games-board/gnome-mahjongg/Manifest|  2 +-
 games-board/gnome-mastermind/Manifest  |  2 +-
 games-board/gnome-mines/Manifest   |  6 +++---
 games-board/gnono/Manifest |  2 +-
 games-board/gnubg/Manifest |  4 ++--
 games-board/gnuchess-book/Manifest |  2 +-
 games-board/gnuchess/Manifest  |  4 ++--
 games-board/gnugo/Manifest |  2 +-
 games-board/gnushogi/Manifest  |  2 +-
 games-board/goatee-gtk/Manifest|  4 ++--
 games-board/grhino/Manifest|  2 +-
 games-board/gtkatlantic/Manifest   |  2 +-
 games-board/gtkboard/Manifest  |  2 +-
 games-board/hexxagon/Manifest  |  2 +-
 games-board/holdingnuts/Manifest   |  2 +-
 games-board/iagno/Manifest |  2 +-
 games-board/kcheckers/Manifest |  2 +-
 games-board/knights/Manifest   |  2 +-
 games-board/mah-jong/Manifest  |  2 +-
 games-board/maitretarot/Manifest   |  2 +-
 games-board/megamek/Manifest   |  2 +-
 games-board/mt_dolphin_ia/Manifest |  2 +-
 games-board/mt_gtk_client/Manifest |  2 +-
 games-board/mt_ncurses_client/Manifest |  2 +-
 games-board/natch/Manifest |  2 +-
 games-board/openyahtzee/Manifest   |  4 ++--
 games-board/pasang-emas/Manifest   |  8 
 games-board/peg-e/Manifest |  2 +-
 games-board/phalanx/Manifest   |  2 +-
 games-board/pioneers/Manifest  |  2 +-
 games-board/pokerth/Manifest   |  2 +-
 games-board/polyglot/Manifest  |  2 +-
 games-board/pouetchess/Manifest|  2 +-
 games-board/pychess/Manifest   |  2 +-
 games-board/pysolfc/Manifest   |  4 ++--
 games-board/qcheckers/Manifest |  2 +-
 games-board/qgo/Manifest   |  2 +-
 games-board/scid/Manifest  | 10 +-
 games-board/simsu/Manifest |  2 +-
 games-board/sirius/Manifest|  2 +-
 games-board/sjeng/Manifest |  2 +-
 games-board/spider/Manifest|  4 ++--
 games-board/stockfish/Manifest |  2 +-
 games-board/tali/Manifest  |  2 +-
 games-board/teg/Manifest   |  2 +-
 games-board/tetzle/Manifest|  2 +-
 games-board/xboard/Manifest|  2 +-
 games-board/xfreecell/Manifest |  6 +++---
 games-board/xgammon/Manifest   |  2 +-
 games-board/xmahjongg/Manifest |  2 +-
 games-board/xmille/Manifest|  4 ++--
 games-board/xscrabble/Manifest |  6 +++---
 games-board/xskat/Manifest |  2 +-
 76 files changed, 115 insertions(+), 115 deletions(-)

diff --git a/games-board/ace/Manifest b/games-board/ace/Manifest
index c222c30a0c9..a703a47e756 100644
--- a/games-board/ace/Manifest
+++ b/games-board/ace/Manifest
@@ -1 +1 @@
-DIST ace-1.4.tar.gz 530490 SHA256 
1fee3b0533921a42873c0623f33d873a067b1eec58f2c70c01449146e79a4cce SHA512 
cd382db95dc17d75a76809c7f1e096e14f5863c1166aa5db7f93204ce949a9ed21979212946b9d3a09667f4a93b30f4cc44a220940f9b5dd8996f28ecb4a6dcc
 WHIRLPOOL 
a6a4209f8a75943673f5c46eb093fcd4f8d7f4109f4286831fad9adac63a153065872e6cfbc397375b9e1bb4e51431a317339e2b29b7488f63746c77fd40ac2a
+DIST ace-1.4.tar.gz 530490 BLAKE2B 
62d32bcada9a945d0a409757ca24c8c5c032e905528d56a51b95f82844c6c8057d39763016fa05015877f23313d842effeaaa362507bb049816d7cf6bdf01a1a
 SHA512 
cd382db95dc17d75a76809c7f1e096e14f5863c1166aa5db7f93204ce949a9ed21979212946b9d3a09667f4a93b30f4cc44a220940f9b5dd8996f28ecb4a6dcc

diff --git 

[gentoo-commits] repo/gentoo:master commit in: games-board/mah-jong/

2016-08-04 Thread Austin English
commit: b5fb65ce868f67fc0350ed0f10079e1261792576
Author: Austin English  gentoo  org>
AuthorDate: Thu Aug  4 19:16:34 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Fri Aug  5 00:22:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5fb65ce

games-board/mah-jong: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-board/mah-jong/mah-jong-1.14-r1.ebuild | 48 
 1 file changed, 48 insertions(+)

diff --git a/games-board/mah-jong/mah-jong-1.14-r1.ebuild 
b/games-board/mah-jong/mah-jong-1.14-r1.ebuild
new file mode 100644
index 000..9fc2af0
--- /dev/null
+++ b/games-board/mah-jong/mah-jong-1.14-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+MY_P="mj-${PV}-src"
+DESCRIPTION="A networked Mah Jong program, together with a computer player"
+HOMEPAGE="http://www.stevens-bradfield.com/MahJong/;
+SRC_URI="http://mahjong.julianbradfield.org/Source/${MY_P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+   default
+
+   sed -i -e '/^.TH/ s/1/6/' xmj.man || die
+   sed -i \
+   -e "/^DESTDIR =/ s:=.*:= ${D}:" \
+   -e "/^BINDIR =/ s:=.*:= /usr/bin:" \
+   -e '/^MANDIR =/ s:man/man1:/usr/share/man/man6:' \
+   -e '/^MANSUFFIX =/ s:1:6:' \
+   -e "/^CC =/ s:gcc:$(tc-getCC):" \
+   -e "/^CFLAGS =/ s:=:= ${CFLAGS}:" \
+   -e "/^LDLIBS =/ s:$:${LDFLAGS}:" \
+   -e '/^INSTPGMFLAGS =/ s:-s::' \
+   -e '/^CDEBUGFLAGS =/d' \
+   -e "/^TILESETPATH=/ s:NULL:\"/usr/share/${PN}/\":" Makefile || 
die
+}
+
+src_install() {
+   emake install install.man
+   insinto /usr/share/${PN}
+   doins -r fallbacktiles/ tiles-numbered/ tiles-small/
+   newicon tiles-v1/tongE.xpm ${PN}.xpm
+   make_desktop_entry xmj Mah-Jong ${PN}
+   dodoc CHANGES ChangeLog *.txt
+}