[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/

2021-10-04 Thread Ionen Wolkens
commit: 44c0e8ea1e0f575905fc288b5b2a5e7b98879146
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon Oct  4 23:57:24 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon Oct  4 23:57:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c0e8ea

games-strategy/warmux: minor style nitpicks

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-strategy/warmux/warmux-11.04.1-r2.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-strategy/warmux/warmux-11.04.1-r2.ebuild 
b/games-strategy/warmux/warmux-11.04.1-r2.ebuild
index b387e9b15a2..b5b230f4461 100644
--- a/games-strategy/warmux/warmux-11.04.1-r2.ebuild
+++ b/games-strategy/warmux/warmux-11.04.1-r2.ebuild
@@ -8,7 +8,7 @@ inherit autotools desktop
 DESCRIPTION="A free Worms clone"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
 SRC_URI="mirror://gentoo/${P}.tar.bz2"
-S="${WORKDIR}"/${PN}-11.04
+S="${WORKDIR}/${PN}-11.04"
 
 LICENSE="
GPL-2+
@@ -24,11 +24,11 @@ RDEPEND="
dev-libs/libxml2
media-libs/libpng:=
media-libs/libsdl[joystick,video,X]
+   media-libs/sdl-gfx:=
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer[vorbis]
-   media-libs/sdl-ttf
media-libs/sdl-net
-   media-libs/sdl-gfx:=
+   media-libs/sdl-ttf
net-misc/curl
virtual/libintl
x11-libs/libX11
@@ -55,6 +55,7 @@ PATCHES=(
 
 src_prepare() {
default
+
eautoreconf
 }
 



[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/files/, games-strategy/warmux/

2021-10-04 Thread Ionen Wolkens
commit: 748756d8d10e901754d9d33a9a6104284ebd6c76
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Mon Oct  4 20:52:18 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon Oct  4 23:56:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748756d8

games-strategy/warmux: fix build, deps, bump eapi

Remove nls USE flag, because it caused build failure when disabled,
because in that case it defines its own ngettext macro, which conflicts
with that function defined in libintl.h which is transitively included
anyway.

Closes: https://bugs.gentoo.org/739400
Closes: https://bugs.gentoo.org/796914
Closes: https://bugs.gentoo.org/631434
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/22489
Signed-off-by: Ionen Wolkens  gentoo.org>

 .../warmux/files/warmux-11.04.1-clang.patch| 13 
 ...-11.04.1-r1.ebuild => warmux-11.04.1-r2.ebuild} | 37 +-
 2 files changed, 35 insertions(+), 15 deletions(-)

diff --git a/games-strategy/warmux/files/warmux-11.04.1-clang.patch 
b/games-strategy/warmux/files/warmux-11.04.1-clang.patch
new file mode 100644
index 000..eb4097bfe6f
--- /dev/null
+++ b/games-strategy/warmux/files/warmux-11.04.1-clang.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/739400
+
+--- a/src/map/tile.cpp
 b/src/map/tile.cpp
+@@ -673,7 +673,7 @@ Tile::SynchTileList Tile::GetTilesToSynch()
+ TileItem_NonEmpty *t = static_cast(item[i]);
+ 
+ if (t->NeedSynch()) {
+-  SynchTileInfo info = { i, t->GetSynchsum() };
++  SynchTileInfo info = { (uint16_t)i, t->GetSynchsum() };
+   list.push_back(info);
+ }
+   }

diff --git a/games-strategy/warmux/warmux-11.04.1-r1.ebuild 
b/games-strategy/warmux/warmux-11.04.1-r2.ebuild
similarity index 64%
rename from games-strategy/warmux/warmux-11.04.1-r1.ebuild
rename to games-strategy/warmux/warmux-11.04.1-r2.ebuild
index fd2b025c8fa..b387e9b15a2 100644
--- a/games-strategy/warmux/warmux-11.04.1-r1.ebuild
+++ b/games-strategy/warmux/warmux-11.04.1-r2.ebuild
@@ -1,36 +1,46 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit autotools desktop
 
 DESCRIPTION="A free Worms clone"
-HOMEPAGE="http://gna.org/projects/warmux/;
-SRC_URI="http://download.gna.org/warmux/${P}.tar.bz2;
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
 S="${WORKDIR}"/${PN}-11.04
 
-LICENSE="GPL-2"
+LICENSE="
+   GPL-2+
+   || ( Apache-2.0 GPL-3 )
+   UbuntuFontLicense-1.0
+   vlgothic
+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug nls unicode"
+IUSE="debug unicode"
 
 RDEPEND="
dev-libs/libxml2
+   media-libs/libpng:=
media-libs/libsdl[joystick,video,X]
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer[vorbis]
media-libs/sdl-ttf
media-libs/sdl-net
-   media-libs/sdl-gfx
-   media-fonts/dejavu
+   media-libs/sdl-gfx:=
net-misc/curl
+   virtual/libintl
x11-libs/libX11
-   nls? ( virtual/libintl )
-   unicode? ( dev-libs/fribidi )"
+   unicode? ( dev-libs/fribidi )
+"
 DEPEND="${RDEPEND}
+   x11-base/xorg-proto
+"
+BDEPEND="
+   sys-devel/gettext
virtual/pkgconfig
-   nls? ( sys-devel/gettext )"
+"
 
 PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
@@ -40,6 +50,7 @@ PATCHES=(
"${FILESDIR}"/${P}-stat.patch
"${FILESDIR}"/${P}-fix-c++14.patch
"${FILESDIR}"/${P}-respect-AR.patch
+   "${FILESDIR}"/${P}-clang.patch
 )
 
 src_prepare() {
@@ -49,18 +60,14 @@ src_prepare() {
 
 src_configure() {
econf \
-   --with-localedir-name="${EPREFIX}"/usr/share/locale \
-   --with-datadir-name="${EPREFIX}"/usr/share/${PN} \
-   
--with-font-path="${EPREFIX}"/usr/share/fonts/dejavu/DejaVuSans.ttf \
+   --enable-nls \
$(use_enable debug) \
-   $(use_enable nls) \
$(use_enable unicode fribidi)
 }
 
 src_install() {
default
 
-   rm -f "${ED%/}"/usr/share/${PN}/font/DejaVuSans.ttf || die
doicon data/icon/warmux.svg
make_desktop_entry warmux Warmux
 }



[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/, games-strategy/warmux/files/

2021-04-07 Thread Sam James
commit: 2e41dcba0945891f7adb031d44f303c94fc9e291
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 07:46:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 08:10:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e41dcba

games-strategy/warmux: respect AR

Closes: https://bugs.gentoo.org/780693
Signed-off-by: Sam James  gentoo.org>

 games-strategy/warmux/files/warmux-11.04.1-respect-AR.patch | 12 
 games-strategy/warmux/warmux-11.04.1-r1.ebuild  |  1 +
 2 files changed, 13 insertions(+)

diff --git a/games-strategy/warmux/files/warmux-11.04.1-respect-AR.patch 
b/games-strategy/warmux/files/warmux-11.04.1-respect-AR.patch
new file mode 100644
index 000..229e5963ad5
--- /dev/null
+++ b/games-strategy/warmux/files/warmux-11.04.1-respect-AR.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index a799477..d31e40c 100644
+--- a/configure.ac
 b/configure.ac
+@@ -35,6 +35,7 @@ AC_PROG_CXX
+ AC_PROG_CPP
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
++AM_PROG_AR
+ AC_CHECK_TOOL(STRIP, strip)
+ AC_CHECK_TOOL(WINDRES, windres)
+ 

diff --git a/games-strategy/warmux/warmux-11.04.1-r1.ebuild 
b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
index 14f71195338..fd2b025c8fa 100644
--- a/games-strategy/warmux/warmux-11.04.1-r1.ebuild
+++ b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
@@ -39,6 +39,7 @@ PATCHES=(
"${FILESDIR}"/${P}-gcc47.patch
"${FILESDIR}"/${P}-stat.patch
"${FILESDIR}"/${P}-fix-c++14.patch
+   "${FILESDIR}"/${P}-respect-AR.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/

2021-04-06 Thread Sam James
commit: 5b43a21aae9a55a6a2176e08126ad9e199957a43
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr  6 01:50:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr  6 18:18:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b43a21a

games-strategy/warmux: eutils->desktop

Signed-off-by: Sam James  gentoo.org>

 games-strategy/warmux/warmux-11.04.1-r1.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/games-strategy/warmux/warmux-11.04.1-r1.ebuild 
b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
index f143ac0a47c..14f71195338 100644
--- a/games-strategy/warmux/warmux-11.04.1-r1.ebuild
+++ b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit autotools eutils
+inherit autotools desktop
 
 DESCRIPTION="A free Worms clone"
 HOMEPAGE="http://gna.org/projects/warmux/;
 SRC_URI="http://download.gna.org/warmux/${P}.tar.bz2;
+S="${WORKDIR}"/${PN}-11.04
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -31,8 +32,6 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
 
-S=${WORKDIR}/${PN}-11.04
-
 PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-zlib.patch



[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/

2020-07-21 Thread Kent Fredric
commit: 06b02fb9a194564c58682aac80311013c617aef4
Author: Kent Fredric  gentoo  org>
AuthorDate: Tue Jul 21 23:05:30 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Tue Jul 21 23:14:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06b02fb9

games-strategy/warmux: Drop x86-solaris re bug #690140

Depends:
- media-fonts/dejavu
 - dev-perl/Font-TTF

Bug: https://bugs.gentoo.org/690140
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 games-strategy/warmux/warmux-11.04.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-strategy/warmux/warmux-11.04.1-r1.ebuild 
b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
index c62645eee12..f143ac0a47c 100644
--- a/games-strategy/warmux/warmux-11.04.1-r1.ebuild
+++ b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="http://download.gna.org/warmux/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="debug nls unicode"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/

2017-09-29 Thread Michael Palimaka
commit: bfb06399a39d9b51d2170f04f47ec82840d1106d
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Sep 30 02:51:07 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep 30 02:56:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfb06399

games-strategy/warmux: remove 11.04.1-r0

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 games-strategy/warmux/warmux-11.04.1.ebuild | 60 -
 1 file changed, 60 deletions(-)

diff --git a/games-strategy/warmux/warmux-11.04.1.ebuild 
b/games-strategy/warmux/warmux-11.04.1.ebuild
deleted file mode 100644
index 503204852f2..000
--- a/games-strategy/warmux/warmux-11.04.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils games
-
-DESCRIPTION="A free Worms clone"
-HOMEPAGE="http://gna.org/projects/warmux/;
-SRC_URI="http://download.gna.org/warmux/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="debug nls unicode"
-
-RDEPEND="media-libs/libsdl[joystick,video,X]
-   media-libs/sdl-image[jpeg,png]
-   media-libs/sdl-mixer[vorbis]
-   media-libs/sdl-ttf
-   media-libs/sdl-net
-   >=media-libs/sdl-gfx-2.0.22
-   net-misc/curl
-   media-fonts/dejavu
-   dev-libs/libxml2
-   x11-libs/libX11
-   nls? ( virtual/libintl )
-   unicode? ( dev-libs/fribidi )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/${PN}-11.04
-
-src_prepare() {
-   epatch \
-   "${FILESDIR}"/${P}-gentoo.patch \
-   "${FILESDIR}"/${P}-zlib.patch \
-   "${FILESDIR}"/${P}-action.patch \
-   "${FILESDIR}"/${P}-gcc47.patch \
-   "${FILESDIR}"/${P}-stat.patch
-   eautoreconf
-}
-
-src_configure() {
-   egamesconf \
-   --with-localedir-name=/usr/share/locale \
-   --with-datadir-name="${GAMES_DATADIR}/${PN}" \
-   --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \
-   $(use_enable debug) \
-   $(use_enable nls) \
-   $(use_enable unicode fribidi)
-}
-
-src_install() {
-   default
-   rm -f "${D}${GAMES_DATADIR}/${PN}/font/DejaVuSans.ttf"
-   doicon data/icon/warmux.svg
-   make_desktop_entry warmux Warmux
-   prepgamesdirs
-}



[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/

2017-09-29 Thread Michael Palimaka
commit: df60d26538b690c7aacacf4d5e1ff7533c085616
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Sep 30 02:50:42 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep 30 02:56:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df60d265

games-strategy/warmux: stabilise 11.04.1-r1 for amd64/x86

Closes: https://bugs.gentoo.org/632446
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 games-strategy/warmux/warmux-11.04.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-strategy/warmux/warmux-11.04.1-r1.ebuild 
b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
index a657e5e1494..aa4a05d49b7 100644
--- a/games-strategy/warmux/warmux-11.04.1-r1.ebuild
+++ b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="http://download.gna.org/warmux/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
 IUSE="debug nls unicode"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/files/, games-strategy/warmux/

2016-12-17 Thread David Seifert
commit: 0455ee01fd7b958c9a36ae568b7cac0725416b9e
Author: David Seifert  gentoo  org>
AuthorDate: Sat Dec 17 10:36:47 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec 17 10:37:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0455ee01

games-strategy/warmux: Fix building with GCC 6

Gentoo-bug: 598639

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../warmux/files/warmux-11.04.1-fix-c++14.patch | 14 ++
 games-strategy/warmux/warmux-11.04.1-r1.ebuild  | 21 -
 2 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/games-strategy/warmux/files/warmux-11.04.1-fix-c++14.patch 
b/games-strategy/warmux/files/warmux-11.04.1-fix-c++14.patch
new file mode 100644
index ..223ee47
--- /dev/null
+++ b/games-strategy/warmux/files/warmux-11.04.1-fix-c++14.patch
@@ -0,0 +1,14 @@
+In C++14, bool -> T* implicit conversions are not allowed anymore.
+See also: https://bugs.gentoo.org/show_bug.cgi?id=598639
+
+--- a/src/interface/weapon_menu.cpp
 b/src/interface/weapon_menu.cpp
+@@ -391,7 +391,7 @@
+ Weapon * WeaponsMenu::UpdateCurrentOverflyItem(const Polygon * poly)
+ {
+   if (!show)
+-return false;
++return NULL;
+   const std::vector& items = poly->GetItem();
+   WeaponMenuItem * tmp;
+   Interface::GetInstance()->SetCurrentOverflyWeapon(NULL);

diff --git a/games-strategy/warmux/warmux-11.04.1-r1.ebuild 
b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
index 6f265a9..17086e7 100644
--- a/games-strategy/warmux/warmux-11.04.1-r1.ebuild
+++ b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
@@ -3,6 +3,7 @@
 # $Id$
 
 EAPI=6
+
 inherit autotools eutils
 
 DESCRIPTION="A free Worms clone"
@@ -14,15 +15,16 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
 IUSE="debug nls unicode"
 
-RDEPEND="media-libs/libsdl[joystick,video,X]
+RDEPEND="
+   dev-libs/libxml2
+   media-libs/libsdl[joystick,video,X]
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer[vorbis]
media-libs/sdl-ttf
media-libs/sdl-net
-   >=media-libs/sdl-gfx-2.0.22
-   net-misc/curl
+   media-libs/sdl-gfx
media-fonts/dejavu
-   dev-libs/libxml2
+   net-misc/curl
x11-libs/libX11
nls? ( virtual/libintl )
unicode? ( dev-libs/fribidi )"
@@ -38,19 +40,19 @@ PATCHES=(
"${FILESDIR}"/${P}-action.patch
"${FILESDIR}"/${P}-gcc47.patch
"${FILESDIR}"/${P}-stat.patch
+   "${FILESDIR}"/${P}-fix-c++14.patch
 )
 
 src_prepare() {
default
-
eautoreconf
 }
 
 src_configure() {
econf \
-   --with-localedir-name=/usr/share/locale \
-   --with-datadir-name=/usr/share/${PN} \
-   --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \
+   --with-localedir-name="${EPREFIX}"/usr/share/locale \
+   --with-datadir-name="${EPREFIX}"/usr/share/${PN} \
+   
--with-font-path="${EPREFIX}"/usr/share/fonts/dejavu/DejaVuSans.ttf \
$(use_enable debug) \
$(use_enable nls) \
$(use_enable unicode fribidi)
@@ -58,7 +60,8 @@ src_configure() {
 
 src_install() {
default
-   rm -f "${D}/usr/share/${PN}/font/DejaVuSans.ttf"
+
+   rm -f "${ED%/}"/usr/share/${PN}/font/DejaVuSans.ttf || die
doicon data/icon/warmux.svg
make_desktop_entry warmux Warmux
 }



[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/

2016-08-04 Thread Austin English
commit: 88ca7d2fdc3d17e24dae35aec90c5c0ea133b4c8
Author: Austin English  gentoo  org>
AuthorDate: Fri Aug  5 00:20:54 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Fri Aug  5 00:22:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ca7d2f

games-strategy/warmux: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: portage-2.3.0

 games-strategy/warmux/warmux-11.04.1-r1.ebuild | 64 ++
 1 file changed, 64 insertions(+)

diff --git a/games-strategy/warmux/warmux-11.04.1-r1.ebuild 
b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
new file mode 100644
index 000..6f265a9
--- /dev/null
+++ b/games-strategy/warmux/warmux-11.04.1-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="A free Worms clone"
+HOMEPAGE="http://gna.org/projects/warmux/;
+SRC_URI="http://download.gna.org/warmux/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="debug nls unicode"
+
+RDEPEND="media-libs/libsdl[joystick,video,X]
+   media-libs/sdl-image[jpeg,png]
+   media-libs/sdl-mixer[vorbis]
+   media-libs/sdl-ttf
+   media-libs/sdl-net
+   >=media-libs/sdl-gfx-2.0.22
+   net-misc/curl
+   media-fonts/dejavu
+   dev-libs/libxml2
+   x11-libs/libX11
+   nls? ( virtual/libintl )
+   unicode? ( dev-libs/fribidi )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}-11.04
+
+PATCHES=(
+   "${FILESDIR}"/${P}-gentoo.patch
+   "${FILESDIR}"/${P}-zlib.patch
+   "${FILESDIR}"/${P}-action.patch
+   "${FILESDIR}"/${P}-gcc47.patch
+   "${FILESDIR}"/${P}-stat.patch
+)
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --with-localedir-name=/usr/share/locale \
+   --with-datadir-name=/usr/share/${PN} \
+   --with-font-path=/usr/share/fonts/dejavu/DejaVuSans.ttf \
+   $(use_enable debug) \
+   $(use_enable nls) \
+   $(use_enable unicode fribidi)
+}
+
+src_install() {
+   default
+   rm -f "${D}/usr/share/${PN}/font/DejaVuSans.ttf"
+   doicon data/icon/warmux.svg
+   make_desktop_entry warmux Warmux
+}



[gentoo-commits] repo/gentoo:master commit in: games-strategy/warmux/

2016-04-28 Thread Michael Sterrett
commit: 443f3c3c31d2b0f30a1ae44b4dfb69588ecd1f2f
Author: Michael Sterrett  gentoo  org>
AuthorDate: Thu Apr 28 17:25:28 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Thu Apr 28 17:37:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=443f3c3c

games-strategy/warmux: libsdl needs X USE flag (bug #581426)

Package-Manager: portage-2.2.26

 games-strategy/warmux/warmux-11.04.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-strategy/warmux/warmux-11.04.1.ebuild 
b/games-strategy/warmux/warmux-11.04.1.ebuild
index 6be4fcd..770b851 100644
--- a/games-strategy/warmux/warmux-11.04.1.ebuild
+++ b/games-strategy/warmux/warmux-11.04.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x86-solaris"
 IUSE="debug nls unicode"
 
-RDEPEND="media-libs/libsdl[joystick,video]
+RDEPEND="media-libs/libsdl[joystick,video,X]
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer[vorbis]
media-libs/sdl-ttf