diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/briquolo/briquolo-0.5.7.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/briquolo/briquolo-0.5.7.ebuild')
-rw-r--r-- | games-arcade/briquolo/briquolo-0.5.7.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/games-arcade/briquolo/briquolo-0.5.7.ebuild b/games-arcade/briquolo/briquolo-0.5.7.ebuild new file mode 100644 index 000000000000..07776ecc7735 --- /dev/null +++ b/games-arcade/briquolo/briquolo-0.5.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Breakout with 3D representation based on OpenGL" +HOMEPAGE="http://briquolo.free.fr/en/index.html" +SRC_URI="http://briquolo.free.fr/download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/libsdl[joystick,sound,video] + media-libs/sdl-mixer + media-libs/sdl-ttf + media-libs/libpng:0 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-libpng14.patch + # no thanks we'll take care of it. + sed -i \ + -e '/^SUBDIRS/s/desktop//' \ + Makefile.in || die + sed -i \ + -e "/CXXFLAGS/s:-O3:${CXXFLAGS}:" \ + -e 's:=.*share/locale:=/usr/share/locale:' \ + configure || die + sed -i \ + -e 's:$(datadir)/locale:/usr/share/locale:' \ + po/Makefile.in.in || die +} + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + default + doicon desktop/briquolo.svg + make_desktop_entry briquolo Briquolo + prepgamesdirs +} |