public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/arrows/
@ 2018-04-14 21:39 Pacho Ramos
  0 siblings, 0 replies; 5+ messages in thread
From: Pacho Ramos @ 2018-04-14 21:39 UTC (permalink / raw
  To: gentoo-commits

commit:     0f7b666e897d218029a937910817710f3f2151a2
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 14 21:27:35 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Apr 14 21:38:51 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f7b666e

games-puzzle/arrows: Stop using games.eclass

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 games-puzzle/arrows/arrows-0.6-r1.ebuild | 48 ++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/games-puzzle/arrows/arrows-0.6-r1.ebuild b/games-puzzle/arrows/arrows-0.6-r1.ebuild
new file mode 100644
index 00000000000..5e3b5c6834b
--- /dev/null
+++ b/games-puzzle/arrows/arrows-0.6-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Simple maze-like game where you navigate around and destroy arrows"
+HOMEPAGE="http://noreason.ca/?file=software"
+SRC_URI="http://noreason.ca/data/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.4:2"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	default
+
+	# Modify path to data
+	sed -i \
+		-e "s:arrfl:/usr/share/${PN}/arrfl:" \
+		-e 's:nm\[9:nm[35:' \
+		-e 's:nm\[6:nm[30:' \
+		-e 's:nm\[7:nm[31:' \
+		game.c \
+		|| die 'sed failed'
+	sed -i \
+		-e '/^CC /d' \
+		-e '/CCLIBS/s:$: $(LDFLAGS):' \
+		Makefile \
+		|| die 'sed failed'
+}
+
+src_compile() {
+	make clean || die "make clean failed"
+	emake CCOPTS="${CFLAGS}"
+}
+
+src_install() {
+	dobin arrows
+	insinto "/usr/share/${PN}"
+	doins arrfl*
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/arrows/
@ 2018-04-14 21:39 Pacho Ramos
  0 siblings, 0 replies; 5+ messages in thread
From: Pacho Ramos @ 2018-04-14 21:39 UTC (permalink / raw
  To: gentoo-commits

commit:     f8fe4d43e5f48afe7b771085a6f18b1293b810c3
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 14 21:27:46 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Apr 14 21:38:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8fe4d43

games-puzzle/arrows: Drop old

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 games-puzzle/arrows/arrows-0.6.ebuild | 47 -----------------------------------
 1 file changed, 47 deletions(-)

diff --git a/games-puzzle/arrows/arrows-0.6.ebuild b/games-puzzle/arrows/arrows-0.6.ebuild
deleted file mode 100644
index 33023848a4c..00000000000
--- a/games-puzzle/arrows/arrows-0.6.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit games
-
-DESCRIPTION="simple maze-like game where you navigate around and destroy arrows"
-HOMEPAGE="http://noreason.ca/?file=software"
-SRC_URI="http://noreason.ca/data/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=x11-libs/gtk+-2.4:2"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-src_prepare() {
-	# Modify path to data
-	sed -i \
-		-e "s:arrfl:${GAMES_DATADIR}/${PN}/arrfl:" \
-		-e 's:nm\[9:nm[35:' \
-		-e 's:nm\[6:nm[30:' \
-		-e 's:nm\[7:nm[31:' \
-		game.c \
-		|| die 'sed failed'
-	sed -i \
-		-e '/^CC /d' \
-		-e '/CCLIBS/s:$: $(LDFLAGS):' \
-		Makefile \
-		|| die 'sed failed'
-}
-
-src_compile() {
-	make clean || die "make clean failed"
-	emake CCOPTS="${CFLAGS}"
-}
-
-src_install() {
-	dogamesbin arrows
-	insinto "${GAMES_DATADIR}/${PN}"
-	doins arrfl*
-	dodoc README
-	prepgamesdirs
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/arrows/
@ 2021-09-07 12:08 Ionen Wolkens
  0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2021-09-07 12:08 UTC (permalink / raw
  To: gentoo-commits

commit:     f8be8b23f82a15e5fa44556cf5455da3de0a4ee1
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Sep  3 19:17:46 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep  7 12:08:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8be8b23

games-puzzle/arrows: EAPI8 bump, ebuild improvements

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-puzzle/arrows/arrows-0.6-r2.ebuild | 54 ++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/games-puzzle/arrows/arrows-0.6-r2.ebuild b/games-puzzle/arrows/arrows-0.6-r2.ebuild
new file mode 100644
index 00000000000..cb91302342e
--- /dev/null
+++ b/games-puzzle/arrows/arrows-0.6-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="Simple maze-like game where you navigate around and destroy arrows"
+HOMEPAGE="http://noreason.ca/?file=software"
+SRC_URI="http://noreason.ca/data/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	dev-libs/atk
+	dev-libs/glib:2
+	media-libs/fontconfig
+	media-libs/freetype
+	media-libs/harfbuzz:=
+	x11-libs/cairo
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:2
+	x11-libs/pango"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	# Modify path to data
+	sed -i \
+		-e "s|arrfl|${EPREFIX}/usr/share/${PN}/arrfl|" \
+		-e 's|nm\[9|nm[35|' \
+		-e 's|nm\[6|nm[30|' \
+		-e 's|nm\[7|nm[31|' \
+		game.c || die
+}
+
+src_compile() {
+	emake clean
+	emake CC="$(tc-getCC)" CCOPTS="${CFLAGS}" LINKOPTS="${LDFLAGS}"
+}
+
+src_install() {
+	dobin arrows
+
+	insinto /usr/share/${PN}
+	doins arrfl.[1-5]
+	einstalldocs
+
+	make_desktop_entry ${PN} ${PN^} applications-games
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/arrows/
@ 2021-09-07 12:08 Ionen Wolkens
  0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2021-09-07 12:08 UTC (permalink / raw
  To: gentoo-commits

commit:     24f6c4fa87fe23387175f5bdb813166ee988563d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  7 11:55:56 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep  7 12:08:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f6c4fa

games-puzzle/arrows: remove some now-unnecessary deps

PR for previous commit was right to add these, but it later (also)
fixed -Wl,--as-needed to be used properly, and so some of these
are not in DT_NEEDED anymore (except glib/pango/gtk).

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-puzzle/arrows/arrows-0.6-r2.ebuild | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/games-puzzle/arrows/arrows-0.6-r2.ebuild b/games-puzzle/arrows/arrows-0.6-r2.ebuild
index cb91302342e..020deb8745c 100644
--- a/games-puzzle/arrows/arrows-0.6-r2.ebuild
+++ b/games-puzzle/arrows/arrows-0.6-r2.ebuild
@@ -14,13 +14,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
-	dev-libs/atk
 	dev-libs/glib:2
-	media-libs/fontconfig
-	media-libs/freetype
-	media-libs/harfbuzz:=
-	x11-libs/cairo
-	x11-libs/gdk-pixbuf:2
 	x11-libs/gtk+:2
 	x11-libs/pango"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/arrows/
@ 2021-09-07 12:08 Ionen Wolkens
  0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2021-09-07 12:08 UTC (permalink / raw
  To: gentoo-commits

commit:     ae28ef1b725ddc4c2a8265a88f09804ea6e2a9fe
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Sep  3 19:20:50 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep  7 12:08:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae28ef1b

games-puzzle/arrows: remove old

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

 games-puzzle/arrows/arrows-0.6-r1.ebuild | 48 --------------------------------
 1 file changed, 48 deletions(-)

diff --git a/games-puzzle/arrows/arrows-0.6-r1.ebuild b/games-puzzle/arrows/arrows-0.6-r1.ebuild
deleted file mode 100644
index 5e3b5c6834b..00000000000
--- a/games-puzzle/arrows/arrows-0.6-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Simple maze-like game where you navigate around and destroy arrows"
-HOMEPAGE="http://noreason.ca/?file=software"
-SRC_URI="http://noreason.ca/data/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=x11-libs/gtk+-2.4:2"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-"
-
-src_prepare() {
-	default
-
-	# Modify path to data
-	sed -i \
-		-e "s:arrfl:/usr/share/${PN}/arrfl:" \
-		-e 's:nm\[9:nm[35:' \
-		-e 's:nm\[6:nm[30:' \
-		-e 's:nm\[7:nm[31:' \
-		game.c \
-		|| die 'sed failed'
-	sed -i \
-		-e '/^CC /d' \
-		-e '/CCLIBS/s:$: $(LDFLAGS):' \
-		Makefile \
-		|| die 'sed failed'
-}
-
-src_compile() {
-	make clean || die "make clean failed"
-	emake CCOPTS="${CFLAGS}"
-}
-
-src_install() {
-	dobin arrows
-	insinto "/usr/share/${PN}"
-	doins arrfl*
-	einstalldocs
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-07 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-07 12:08 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/arrows/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2021-09-07 12:08 Ionen Wolkens
2021-09-07 12:08 Ionen Wolkens
2018-04-14 21:39 Pacho Ramos
2018-04-14 21:39 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox