public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-strategy/dopewars/
@ 2016-01-05  8:26 Michael Sterrett
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Sterrett @ 2016-01-05  8:26 UTC (permalink / raw
  To: gentoo-commits

commit:     98de28d7922904134966e7711e6d63c7893ae1fc
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  5 05:38:56 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue Jan  5 08:26:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98de28d7

games-strategy/dopewars: add slot dep for sys-libs/ncurses

Package-Manager: portage-2.2.26

 games-strategy/dopewars/dopewars-1.5.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild b/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild
index 2224de6..bf453e1 100644
--- a/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild
+++ b/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 ppc x86"
 IUSE="nls ncurses gtk gnome sdl"
 
-RDEPEND="ncurses? ( >=sys-libs/ncurses-5.2 )
+RDEPEND="ncurses? ( >=sys-libs/ncurses-5.2:0 )
 	gtk? ( x11-libs/gtk+:2 )
 	dev-libs/glib:2
 	nls? ( virtual/libintl )


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/dopewars/
@ 2018-05-01 19:37 Pacho Ramos
  0 siblings, 0 replies; 5+ messages in thread
From: Pacho Ramos @ 2018-05-01 19:37 UTC (permalink / raw
  To: gentoo-commits

commit:     33e4abc289d19dc022823060320c3b111f094d17
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May  1 19:09:11 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May  1 19:35:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e4abc2

games-strategy/dopewars: Drop old

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-strategy/dopewars/dopewars-1.5.12-r2.ebuild | 69 -----------------------
 1 file changed, 69 deletions(-)

diff --git a/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild b/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild
deleted file mode 100644
index ca73bb9543a..00000000000
--- a/games-strategy/dopewars/dopewars-1.5.12-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-DESCRIPTION="Re-Write of the game Drug Wars"
-HOMEPAGE="http://dopewars.sourceforge.net/"
-SRC_URI="mirror://sourceforge/dopewars/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls ncurses gtk gnome sdl"
-
-RDEPEND="ncurses? ( >=sys-libs/ncurses-5.2:0 )
-	gtk? ( x11-libs/gtk+:2 )
-	dev-libs/glib:2
-	nls? ( virtual/libintl )
-	sdl? (
-		media-libs/libsdl
-		media-libs/sdl-mixer
-	)"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	nls? ( sys-devel/gettext )"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-CVE-2009-3591.patch
-	sed -i \
-		-e "/priv_hiscore/ s:DPDATADIR:\"${GAMES_STATEDIR}\":" \
-		-e "/\/doc\// s:DPDATADIR:\"/usr/share\":" \
-		-e 's:index.html:html/index.html:' \
-		src/dopewars.c || die
-}
-
-src_configure() {
-	local myservconf
-
-	if ! use gtk ; then
-		myservconf="--disable-gui-client --disable-gui-server --disable-glibtest --disable-gtktest"
-	fi
-
-	egamesconf \
-		--disable-dependency-tracking \
-		$(use_enable ncurses curses-client) \
-		$(use_enable nls) \
-		$(use_with sdl) \
-		--without-esd \
-		--enable-networking \
-		--enable-plugins \
-		${myservconf}
-}
-
-src_install() {
-	default
-
-	dodir /usr/share
-	if use gnome ; then
-		mv "${D}/${GAMES_DATADIR}"/gnome "${D}/usr/share" || die
-	else
-		rm -r "${D}/${GAMES_DATADIR}"/gnome || die
-	fi
-	mv "${D}/${GAMES_DATADIR}"/pixmaps "${D}/usr/share" || die
-	dohtml -r "${D}/${GAMES_DATADIR}"/doc/*/*
-	rm -r "${D}/${GAMES_DATADIR}"/doc || die
-
-	prepgamesdirs
-}


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/dopewars/
@ 2019-08-17  4:43 Stefan Strogin
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Strogin @ 2019-08-17  4:43 UTC (permalink / raw
  To: gentoo-commits

commit:     a652b0ad3bdc29210b8302ac5b882888daf1b625
Author:     Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 04:40:25 2019 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 04:42:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a652b0ad

games-strategy/dopewars: fix building with ncurses[tinfo]

Closes: https://bugs.gentoo.org/690782
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>

 games-strategy/dopewars/dopewars-1.5.12-r3.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild b/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild
index 4d1c3843761..7da82083239 100644
--- a/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild
+++ b/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild
@@ -1,8 +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
+
+inherit desktop toolchain-funcs
 
 DESCRIPTION="Re-Write of the game Drug Wars"
 HOMEPAGE="http://dopewars.sourceforge.net/"
@@ -36,6 +37,8 @@ src_prepare() {
 		-e "/\/doc\// s:DPDATADIR:\"/usr/share\":" \
 		-e 's:index.html:html/index.html:' \
 		src/dopewars.c || die
+	sed -i -e "s/\-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/g" \
+		configure || die
 }
 
 src_configure() {


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/dopewars/
@ 2024-08-25 23:54 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2024-08-25 23:54 UTC (permalink / raw
  To: gentoo-commits

commit:     c5bf004d8f9eb565f8abae0b3a91d20965ea194b
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Aug 10 12:19:24 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 23:53:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5bf004d

games-strategy/dopewars: add 1.6.2

Closes: https://bugs.gentoo.org/763114
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 games-strategy/dopewars/Manifest              |  1 +
 games-strategy/dopewars/dopewars-1.6.2.ebuild | 70 +++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/games-strategy/dopewars/Manifest b/games-strategy/dopewars/Manifest
index 12435e199010..848165bb22cf 100644
--- a/games-strategy/dopewars/Manifest
+++ b/games-strategy/dopewars/Manifest
@@ -1 +1,2 @@
 DIST dopewars-1.6.1.tar.gz 1024168 BLAKE2B 28d650e0d1eccdfa9aa799bb4b35e82facc800ed9cbde9778c7182bd615ad0b1ec7d3fd323473f381f3ed1902b8e305a7994a5e351728aa1028be2e0665bfa57 SHA512 fab27b483b5a24abd95ffe6a52fe92c7179d8ee3e7d27393f0e7c265202781ab6a58e3b3214ff84bbc0e8195644b5c2ec94616b5f63b3fa9dc2ad2f9216e37d1
+DIST dopewars-1.6.2.tar.gz 1030811 BLAKE2B 96d333b7760786b215c3b6079498067149de0784099fd16b30c47a785a0f6d4d1d9030e6654a1d309f59803896d2675181146180411aef558e3cf28b715ac192 SHA512 ce41bc4b7f3a45bc759a76e3f70be84cc6ec1243127a60e8c4c96c908bf70d2d6fbb7d871afbeeec18591dac2cfb5d6d2646e14c7e2771ec02cf7b20e5a25a8f

diff --git a/games-strategy/dopewars/dopewars-1.6.2.ebuild b/games-strategy/dopewars/dopewars-1.6.2.ebuild
new file mode 100644
index 000000000000..cd4655886e70
--- /dev/null
+++ b/games-strategy/dopewars/dopewars-1.6.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop toolchain-funcs
+
+DESCRIPTION="Re-Write of the game Drug Wars"
+HOMEPAGE="https://dopewars.sourceforge.io/"
+SRC_URI="https://github.com/benmwebb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls ncurses gtk gnome sdl"
+
+RDEPEND="
+	ncurses? ( >=sys-libs/ncurses-5.2:0= )
+	gtk? ( x11-libs/gtk+:2 )
+	dev-libs/glib:2
+	nls? ( virtual/libintl )
+	sdl? (
+		media-libs/libsdl2
+		media-libs/sdl2-mixer
+	)
+"
+DEPEND="${RDEPEND}
+	nls? ( sys-devel/gettext )
+"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( AUTHORS NEWS README.md TODO doc/example-cfg doc/example-igneous )
+
+src_prepare() {
+	default
+	eautoreconf
+	sed -i -e 's:index.html:html/index.html:' \
+		src/dopewars.c || die
+	sed -i -e "s/\-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/g" \
+		configure || die
+}
+
+src_configure() {
+	local myservconf
+
+	if ! use gtk ; then
+		myservconf="--disable-gui-client --disable-gui-server --disable-glibtest --disable-gtktest"
+	fi
+
+	local myeconfargs=(
+		$(use_enable ncurses curses-client)
+		$(use_enable nls)
+		$(use_with sdl)
+		--without-esd
+		--enable-networking
+		--enable-plugins
+		${myservconf}
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	rm -r "${ED}"/usr/share/gnome || die
+	rm -r "${ED}"/usr/share/doc || die
+	make_desktop_entry "${PN}" "Dopewars" /usr/share/pixmaps/dopewars-weed.png
+	HTML_DOCS="doc/*html doc/help/"
+	einstalldocs
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/dopewars/
@ 2024-08-25 23:54 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2024-08-25 23:54 UTC (permalink / raw
  To: gentoo-commits

commit:     fc329bb1331544dacd9936995cbd4da94aad4e75
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Aug 10 12:19:50 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 23:53:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc329bb1

games-strategy/dopewars: add missing remote-id

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/38059
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 games-strategy/dopewars/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-strategy/dopewars/metadata.xml b/games-strategy/dopewars/metadata.xml
index aca5e3fff917..b8a14ab9ab42 100644
--- a/games-strategy/dopewars/metadata.xml
+++ b/games-strategy/dopewars/metadata.xml
@@ -7,5 +7,6 @@
 	</maintainer>
 	<upstream>
 		<remote-id type="sourceforge">dopewars</remote-id>
+		<remote-id type="github">benmwebb/dopewars</remote-id>
 	</upstream>
 </pkgmetadata>


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

end of thread, other threads:[~2024-08-25 23:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-17  4:43 [gentoo-commits] repo/gentoo:master commit in: games-strategy/dopewars/ Stefan Strogin
  -- strict thread matches above, loose matches on Subject: below --
2024-08-25 23:54 Conrad Kostecki
2024-08-25 23:54 Conrad Kostecki
2018-05-01 19:37 Pacho Ramos
2016-01-05  8:26 Michael Sterrett

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