diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
commit | 2f8db31405fac68eea6f7257d58529243815033b (patch) | |
tree | 54259cc8988a98a10586fc0496b1f3501cd1e2a1 /games-emulation/gngb/gngb-20060309-r1.ebuild | |
parent | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (diff) |
gentoo resync : 30.04.2018
Diffstat (limited to 'games-emulation/gngb/gngb-20060309-r1.ebuild')
-rw-r--r-- | games-emulation/gngb/gngb-20060309-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/games-emulation/gngb/gngb-20060309-r1.ebuild b/games-emulation/gngb/gngb-20060309-r1.ebuild new file mode 100644 index 000000000000..ebe0e3fb3b34 --- /dev/null +++ b/games-emulation/gngb/gngb-20060309-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="Gameboy / Gameboy Color emulator" +HOMEPAGE="http://m.peponas.free.fr/gngb/" +SRC_URI="http://m.peponas.free.fr/gngb/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="opengl" + +RDEPEND=" + media-libs/libsdl[sound,joystick,video] + sys-libs/zlib + app-arch/bzip2 + opengl? ( virtual/opengl ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + # From Debian + "${FILESDIR}"/${P}-amd64.patch + "${FILESDIR}"/${P}-gcc34.patch + "${FILESDIR}"/${P}-gcc5.patch + "${FILESDIR}"/${P}-gcc7.patch + "${FILESDIR}"/${P}-inline.patch + "${FILESDIR}"/${P}-joystick.patch + "${FILESDIR}"/${P}-qwerty.patch +) + +src_prepare() { + default + sed -i -e '70i#define OF(x) x' src/unzip.h || die + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + econf $(use_enable opengl gl) +} |