diff options
author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2021-10-04 21:52:18 +0100 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-10-04 19:56:18 -0400 |
commit | 748756d8d10e901754d9d33a9a6104284ebd6c76 (patch) | |
tree | 0a0006b201e15c04f016cc2c0565a12318b0426d /games-strategy/warmux/warmux-11.04.1-r1.ebuild | |
parent | app-emulation/docker: 20.10.9 bump (diff) | |
download | gentoo-748756d8d10e901754d9d33a9a6104284ebd6c76.tar.gz gentoo-748756d8d10e901754d9d33a9a6104284ebd6c76.tar.bz2 gentoo-748756d8d10e901754d9d33a9a6104284ebd6c76.zip |
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 <alexey+gentoo@asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/22489
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-strategy/warmux/warmux-11.04.1-r1.ebuild')
-rw-r--r-- | games-strategy/warmux/warmux-11.04.1-r1.ebuild | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/games-strategy/warmux/warmux-11.04.1-r1.ebuild b/games-strategy/warmux/warmux-11.04.1-r1.ebuild deleted file mode 100644 index fd2b025c8fa8..000000000000 --- a/games-strategy/warmux/warmux-11.04.1-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug nls unicode" - -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 - media-fonts/dejavu - net-misc/curl - x11-libs/libX11 - nls? ( virtual/libintl ) - unicode? ( dev-libs/fribidi )" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-zlib.patch - "${FILESDIR}"/${P}-action.patch - "${FILESDIR}"/${P}-gcc47.patch - "${FILESDIR}"/${P}-stat.patch - "${FILESDIR}"/${P}-fix-c++14.patch - "${FILESDIR}"/${P}-respect-AR.patch -) - -src_prepare() { - default - eautoreconf -} - -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 \ - $(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 -} |