Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/gngb/, games-emulation/gngb/files/
Date: Sun, 29 Apr 2018 11:26:56
Message-Id: 1525001150.909f0530bf046c3423259a1aaa467a23e0ec7bb6.pacho@gentoo
1 commit: 909f0530bf046c3423259a1aaa467a23e0ec7bb6
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 29 10:01:20 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 11:25:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=909f0530
7
8 games-emulation/gngb: Drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-emulation/gngb/Manifest | 1 -
13 .../gngb/files/gngb-20060309-ovflfix.patch | 17 -----------
14 games-emulation/gngb/gngb-20060309.ebuild | 35 ----------------------
15 3 files changed, 53 deletions(-)
16
17 diff --git a/games-emulation/gngb/Manifest b/games-emulation/gngb/Manifest
18 deleted file mode 100644
19 index 644d1f023d4..00000000000
20 --- a/games-emulation/gngb/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST gngb-20060309.tar.gz 168911 BLAKE2B 9377b107c3318041cf903de1661ec6a43078e1cade77b2899b6412616b2c5c32e217d5efc69fcc5324c75242f880493b1b3e678c5bc0a71a4a3ef2dbfd756b4c SHA512 169fdb94eac439240ff15fc2337908cb40e06259338d03c0193a0cb04acb9ee688832fc3157ec56e4e541a8889c4b1a4e7d0efb035b5829ffb856192b60d259f
24
25 diff --git a/games-emulation/gngb/files/gngb-20060309-ovflfix.patch b/games-emulation/gngb/files/gngb-20060309-ovflfix.patch
26 deleted file mode 100644
27 index d4cad523854..00000000000
28 --- a/games-emulation/gngb/files/gngb-20060309-ovflfix.patch
29 +++ /dev/null
30 @@ -1,17 +0,0 @@
31 ---- src/serial.c.old 2010-10-28 14:40:23.000000000 +0200
32 -+++ src/serial.c 2010-10-28 14:41:07.000000000 +0200
33 -@@ -302,11 +302,11 @@
34 - /* Gbserial_read: Read a byte on the serial
35 - This is a block function */
36 - Uint8 gbserial_read(void) {
37 -- Uint8 b;
38 -+ Uint8 b[2];
39 -
40 - gbserial.ready2read=0;
41 -- if ((read(dest_socket,&b,2))<=0) return 0xFF;
42 -- return b;
43 -+ if ((read(dest_socket,b,2))<=0) return 0xFF;
44 -+ return b[0];
45 - }
46 -
47 - /* Gbserial_write: Write a byte on the serial
48
49 diff --git a/games-emulation/gngb/gngb-20060309.ebuild b/games-emulation/gngb/gngb-20060309.ebuild
50 deleted file mode 100644
51 index d54b529dd2f..00000000000
52 --- a/games-emulation/gngb/gngb-20060309.ebuild
53 +++ /dev/null
54 @@ -1,35 +0,0 @@
55 -# Copyright 1999-2016 Gentoo Foundation
56 -# Distributed under the terms of the GNU General Public License v2
57 -
58 -EAPI=5
59 -inherit autotools eutils games
60 -
61 -DESCRIPTION="Gameboy / Gameboy Color emulator"
62 -HOMEPAGE="http://m.peponas.free.fr/gngb/"
63 -SRC_URI="http://m.peponas.free.fr/gngb/download/${P}.tar.gz"
64 -
65 -LICENSE="GPL-2"
66 -SLOT="0"
67 -KEYWORDS="~x86 ~amd64-linux ~x86-linux ~ppc-macos"
68 -IUSE="opengl"
69 -
70 -DEPEND="media-libs/libsdl[sound,joystick,video]
71 - sys-libs/zlib
72 - app-arch/bzip2
73 - opengl? ( virtual/opengl )"
74 -RDEPEND=${DEPEND}
75 -
76 -src_prepare() {
77 - epatch "${FILESDIR}"/${P}-ovflfix.patch
78 - sed -i -e '70i#define OF(x) x' src/unzip.h || die
79 - eautoreconf
80 -}
81 -
82 -src_configure() {
83 - egamesconf $(use_enable opengl gl)
84 -}
85 -
86 -src_install() {
87 - default
88 - prepgamesdirs
89 -}