public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-action/chickens/
@ 2016-07-06 17:55 Austin English
  0 siblings, 0 replies; 6+ messages in thread
From: Austin English @ 2016-07-06 17:55 UTC (permalink / raw
  To: gentoo-commits

commit:     2ee2a108fa08b1ee1722fbd328f38c13f23fee2b
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  6 17:54:48 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Jul  6 17:55:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee2a108

games-action/chickens: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: portage-2.2.28

 games-action/chickens/chickens-0.2.4-r1.ebuild | 60 ++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/games-action/chickens/chickens-0.2.4-r1.ebuild b/games-action/chickens/chickens-0.2.4-r1.ebuild
new file mode 100644
index 0000000..bf90160
--- /dev/null
+++ b/games-action/chickens/chickens-0.2.4-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils user
+
+MY_P="ChickensForLinux-Linux-${PV}"
+DESCRIPTION="Target chickens with rockets and shotguns. Funny"
+HOMEPAGE="http://www.chickensforlinux.com/"
+SRC_URI="http://www.chickensforlinux.com/${MY_P}.tar.gz"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+RESTRICT="mirror bindist"
+
+DEPEND="<media-libs/allegro-5"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup(){
+	enewgroup gamestat 36
+}
+
+src_prepare() {
+	default
+
+	sed -i \
+		-e "s:HighScores:/var/games//${PN}/HighScores:" \
+		-e "s:....\(.\)\(_\)\(.*.4x0\)\(.\):M\4\2\x42\x6Fn\1s\2:" \
+		highscore.cpp HighScores || die
+	sed -i \
+		-e "s:options.cfg:/etc/${PN}/options.cfg:" \
+		-e "s:\"sound/:\"/usr/share/${PN}/sound/:" \
+		-e "s:\"dat/:\"/usr/share/${PN}/dat/:" \
+		main.cpp README || die
+	sed -i \
+		-e '/^CPPFLAGS/d' \
+		-e 's:g++:\\$(CXX) \\$(CXXFLAGS) \\$(LDFLAGS):' \
+		configure || die
+}
+
+src_install() {
+	dobin ${PN}
+	insinto /usr/share/${PN}
+	doins -r dat sound
+	dodoc AUTHOR README
+	insinto /var/games/${PN}
+	doins HighScores
+	insinto /etc/${PN}
+	doins options.cfg
+	make_desktop_entry ${PN} Chickens
+
+	fowners root:gamestat /usr/bin/${PN} /var/games/${PN}/HighScores
+	fperms 2755 /usr/bin/${PN}
+	fperms 660  /var/games/${PN}/HighScores
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/chickens/
@ 2016-07-11 17:17 Austin English
  0 siblings, 0 replies; 6+ messages in thread
From: Austin English @ 2016-07-11 17:17 UTC (permalink / raw
  To: gentoo-commits

commit:     72a5e9bb9e4c5697c04978b6fe6fef263fcc1371
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 17:11:29 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 17:16:59 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a5e9bb

games-action/chickens: call ./configure explicitly

This restores the previous behavior from chickens-0.2.4.ebuild, which caused
failure for some users.

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

Package-Manager: portage-2.3.0

 games-action/chickens/chickens-0.2.4-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/games-action/chickens/chickens-0.2.4-r1.ebuild b/games-action/chickens/chickens-0.2.4-r1.ebuild
index bf90160..1f0ff7b 100644
--- a/games-action/chickens/chickens-0.2.4-r1.ebuild
+++ b/games-action/chickens/chickens-0.2.4-r1.ebuild
@@ -43,6 +43,10 @@ src_prepare() {
 		configure || die
 }
 
+src_configure() {
+	bash ./configure || die
+}
+
 src_install() {
 	dobin ${PN}
 	insinto /usr/share/${PN}


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/chickens/
@ 2016-07-11 23:27 Austin English
  0 siblings, 0 replies; 6+ messages in thread
From: Austin English @ 2016-07-11 23:27 UTC (permalink / raw
  To: gentoo-commits

commit:     096fe82832bc5e334182e23064112bafa9d69e82
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 23:18:55 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 23:19:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=096fe828

games-action/chickens: add a comment

Package-Manager: portage-2.3.0

 games-action/chickens/chickens-0.2.4-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-action/chickens/chickens-0.2.4-r1.ebuild b/games-action/chickens/chickens-0.2.4-r1.ebuild
index 1f0ff7b..d2e6881 100644
--- a/games-action/chickens/chickens-0.2.4-r1.ebuild
+++ b/games-action/chickens/chickens-0.2.4-r1.ebuild
@@ -44,6 +44,7 @@ src_prepare() {
 }
 
 src_configure() {
+	# econf (sometimes) fails, see https://bugs.gentoo.org/588544
 	bash ./configure || die
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/chickens/
@ 2018-07-16 22:26 Andreas Sturmlechner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2018-07-16 22:26 UTC (permalink / raw
  To: gentoo-commits

commit:     b8a5a62695e6938d00227565c4d2988dab24210c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 16 21:35:27 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 16 22:25:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a5a626

games-action/chickens: eutils -> desktop

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-action/chickens/chickens-0.2.4-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-action/chickens/chickens-0.2.4-r1.ebuild b/games-action/chickens/chickens-0.2.4-r1.ebuild
index 258e87e5303..a03394e64bb 100644
--- a/games-action/chickens/chickens-0.2.4-r1.ebuild
+++ b/games-action/chickens/chickens-0.2.4-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils user
+
+inherit desktop user
 
 MY_P="ChickensForLinux-Linux-${PV}"
 DESCRIPTION="Target chickens with rockets and shotguns. Funny"


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/chickens/
@ 2019-07-17 20:04 James Le Cuirot
  0 siblings, 0 replies; 6+ messages in thread
From: James Le Cuirot @ 2019-07-17 20:04 UTC (permalink / raw
  To: gentoo-commits

commit:     508a1d87114d511e3a1571b2573f5f7528aff8f3
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  8 08:28:37 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 20:03:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=508a1d87

games-action/chickens: Depend on acct-group/gamestat.

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-action/chickens/chickens-0.2.4-r1.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/games-action/chickens/chickens-0.2.4-r1.ebuild b/games-action/chickens/chickens-0.2.4-r1.ebuild
index a03394e64bb..4aa9dc2a0d8 100644
--- a/games-action/chickens/chickens-0.2.4-r1.ebuild
+++ b/games-action/chickens/chickens-0.2.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit desktop user
+inherit desktop
 
 MY_P="ChickensForLinux-Linux-${PV}"
 DESCRIPTION="Target chickens with rockets and shotguns. Funny"
@@ -16,15 +16,12 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 RESTRICT="mirror bindist"
 
-DEPEND="<media-libs/allegro-5"
+DEPEND="acct-group/gamestat
+	<media-libs/allegro-5"
 RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${PN}
 
-pkg_setup(){
-	enewgroup gamestat 36
-}
-
 src_prepare() {
 	default
 


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/chickens/
@ 2021-09-13  4:37 Ionen Wolkens
  0 siblings, 0 replies; 6+ messages in thread
From: Ionen Wolkens @ 2021-09-13  4:37 UTC (permalink / raw
  To: gentoo-commits

commit:     35f7c10ca63c0a325b255893f218615def8cc429
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 13 04:36:48 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Sep 13 04:36:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f7c10c

games-action/chickens: add missing pkgconfig dep

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

 games-action/chickens/chickens-0.2.4-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-action/chickens/chickens-0.2.4-r1.ebuild b/games-action/chickens/chickens-0.2.4-r1.ebuild
index 2c0b8e41b96..9d9aa34a238 100644
--- a/games-action/chickens/chickens-0.2.4-r1.ebuild
+++ b/games-action/chickens/chickens-0.2.4-r1.ebuild
@@ -21,6 +21,7 @@ RDEPEND="
 	acct-group/gamestat
 	media-libs/allegro:0[X]"
 DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
 	"${FILESDIR}"/${P}-bitmap.patch


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

end of thread, other threads:[~2021-09-13  4:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-11 23:27 [gentoo-commits] repo/gentoo:master commit in: games-action/chickens/ Austin English
  -- strict thread matches above, loose matches on Subject: below --
2021-09-13  4:37 Ionen Wolkens
2019-07-17 20:04 James Le Cuirot
2018-07-16 22:26 Andreas Sturmlechner
2016-07-11 17:17 Austin English
2016-07-06 17:55 Austin English

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