diff options
Diffstat (limited to 'games-emulation/lxdream')
-rw-r--r-- | games-emulation/lxdream/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/lxdream/files/lxdream-0.9.1-glib-single-include.patch | 395 | ||||
-rw-r--r-- | games-emulation/lxdream/lxdream-0.9.1-r3.ebuild | 64 | ||||
-rw-r--r-- | games-emulation/lxdream/metadata.xml | 12 |
4 files changed, 475 insertions, 0 deletions
diff --git a/games-emulation/lxdream/Manifest b/games-emulation/lxdream/Manifest new file mode 100644 index 000000000000..227e0f3ec147 --- /dev/null +++ b/games-emulation/lxdream/Manifest @@ -0,0 +1,4 @@ +AUX lxdream-0.9.1-glib-single-include.patch 10725 BLAKE2B 01a76a7e7a6477fcf8e9a9b9b44f7fff04b9c6c88fd361ff47b0ef9c754eb263c89c846b3919d2a48bfc2e4c79e123cc45fbb5008c2a7378772342a08ec7099d SHA512 1e8130ae228799f6b0b53895edb309579d47f93e1f5f7e88387bc9b2e97d201603f43eebc084604e8e5b2b3a93be68daa040c995a7eed59f7b3aaeb903b606dc +DIST lxdream-0.9.1.tar.gz 2556802 BLAKE2B c69452e95d833c42c930f45e8a9d407e8d1246b2f67c21c2763ae5583d271caa9e28b111a0aa6ec7f5ff7ea9867c18d53ebe1a39bd37a2f47e68544e71c6f6e0 SHA512 f56119e99f82931bb22cc596938caba09f02da9a7e74b6c8ce79880214e3566a9a8091b31f89d5dc56f0802d00ac485ce22c3468350d44b2e1cf140f22983055 +EBUILD lxdream-0.9.1-r3.ebuild 1470 BLAKE2B f65c23e37f6cb99540aaf1c90b042eafdeef78d7004844a15c8ffb2174d89b5e96465d530b4be50a0eb2fa8bfd8eb3163cd6b7ba786b3703c9349d9d85b7e7dc SHA512 5e8d3d55615a3aec0b961b36263f587dc120381edf97f5bfb031ab1ab43e5136c7cf51ab3118b964976a54204204788dea536ae00f98a5d67396a49a562d199f +MISC metadata.xml 379 BLAKE2B 9407fbbb5013bc923a712f50b05cfe8c14d7648bf673a28dcb798d591e52c34e105a95d196d8d95f348eaf0e0c710f6a7263acc51a0f643bdc546093cc159c7f SHA512 ec81121ea013b5ee3e2863c317bad1c4e6c324f44d41202be5f105b7d0416f52d8a5144a9ab354dceb8793c947bf7cc85b192aaee65b0e3f44cfae19340e9399 diff --git a/games-emulation/lxdream/files/lxdream-0.9.1-glib-single-include.patch b/games-emulation/lxdream/files/lxdream-0.9.1-glib-single-include.patch new file mode 100644 index 000000000000..7872174ed859 --- /dev/null +++ b/games-emulation/lxdream/files/lxdream-0.9.1-glib-single-include.patch @@ -0,0 +1,395 @@ +Index: lxdream-0.9.1/src/aica/audio.c +=================================================================== +--- lxdream-0.9.1.orig/src/aica/audio.c ++++ lxdream-0.9.1/src/aica/audio.c +@@ -19,7 +19,7 @@ + + #include "aica/aica.h" + #include "aica/audio.h" +-#include <glib/gmem.h> ++#include <glib.h> + #include "dream.h" + #include <assert.h> + #include <string.h> +Index: lxdream-0.9.1/src/aica/audio.h +=================================================================== +--- lxdream-0.9.1.orig/src/aica/audio.h ++++ lxdream-0.9.1/src/aica/audio.h +@@ -20,7 +20,7 @@ + + #include <stdint.h> + #include <stdio.h> +-#include <glib/gtypes.h> ++#include <glib.h> + #include "gettext.h" + #include "plugin.h" + +Index: lxdream-0.9.1/src/cocoaui/cocoa_ctrl.m +=================================================================== +--- lxdream-0.9.1.orig/src/cocoaui/cocoa_ctrl.m ++++ lxdream-0.9.1/src/cocoaui/cocoa_ctrl.m +@@ -23,7 +23,7 @@ + #include "maple/maple.h" + #include "vmu/vmulist.h" + +-#include <glib/gstrfuncs.h> ++#include <glib.h> + + #define FIRST_SECONDARY_DEVICE MAPLE_PORTS + +Index: lxdream-0.9.1/src/cocoaui/paths_osx.m +=================================================================== +--- lxdream-0.9.1.orig/src/cocoaui/paths_osx.m ++++ lxdream-0.9.1/src/cocoaui/paths_osx.m +@@ -19,7 +19,7 @@ + */ + + #include <string.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + + #include "lxdream.h" + #include "lxpaths.h" +Index: lxdream-0.9.1/src/config.c +=================================================================== +--- lxdream-0.9.1.orig/src/config.c ++++ lxdream-0.9.1/src/config.c +@@ -21,8 +21,7 @@ + #include <errno.h> + #include <stdlib.h> + #include <string.h> +-#include <glib/gmem.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <sys/types.h> + #include <sys/stat.h> + #include "dream.h" +Index: lxdream-0.9.1/src/config.h +=================================================================== +--- lxdream-0.9.1.orig/src/config.h ++++ lxdream-0.9.1/src/config.h +@@ -19,8 +19,7 @@ + #ifndef lxdream_config_H + #define lxdream_config_H 1 + +-#include <glib/gtypes.h> +-#include <glib/glist.h> ++#include <glib.h> + #include "gettext.h" + + #ifdef __cplusplus +Index: lxdream-0.9.1/src/drivers/input_lirc.c +=================================================================== +--- lxdream-0.9.1.orig/src/drivers/input_lirc.c ++++ lxdream-0.9.1/src/drivers/input_lirc.c +@@ -28,7 +28,6 @@ + #include <dirent.h> + #include <ctype.h> + +-#include <glib/giochannel.h> + #include <glib.h> + + #include <lirc/lirc_client.h> +Index: lxdream-0.9.1/src/drivers/joy_linux.c +=================================================================== +--- lxdream-0.9.1.orig/src/drivers/joy_linux.c ++++ lxdream-0.9.1/src/drivers/joy_linux.c +@@ -32,7 +32,6 @@ + #include <ctype.h> + + #include <linux/joystick.h> +-#include <glib/giochannel.h> + #include <glib.h> + + #include "lxdream.h" +Index: lxdream-0.9.1/src/drivers/osx_iokit.m +=================================================================== +--- lxdream-0.9.1.orig/src/drivers/osx_iokit.m ++++ lxdream-0.9.1/src/drivers/osx_iokit.m +@@ -19,8 +19,7 @@ + * GNU General Public License for more details. + */ + +-#include <glib/gmem.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <sys/param.h> + #include <paths.h> + #include <string.h> +Index: lxdream-0.9.1/src/gdlist.c +=================================================================== +--- lxdream-0.9.1.orig/src/gdlist.c ++++ lxdream-0.9.1/src/gdlist.c +@@ -19,7 +19,7 @@ + + #include <string.h> + #include <stdlib.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <libgen.h> + #include "gettext.h" + #include "gdrom/gdrom.h" +Index: lxdream-0.9.1/src/gdrom/gddriver.h +=================================================================== +--- lxdream-0.9.1.orig/src/gdrom/gddriver.h ++++ lxdream-0.9.1/src/gdrom/gddriver.h +@@ -24,7 +24,7 @@ + #include <stdio.h> + #include "lxdream.h" + #include "gdrom/gdrom.h" +-#include <glib/gstrfuncs.h> ++#include <glib.h> + + #ifdef __cplusplus + extern "C" { +Index: lxdream-0.9.1/src/gdrom/gdi.c +=================================================================== +--- lxdream-0.9.1.orig/src/gdrom/gdi.c ++++ lxdream-0.9.1/src/gdrom/gdi.c +@@ -23,7 +23,7 @@ + #include <fcntl.h> + #include <errno.h> + #include <sys/stat.h> +-#include <glib/gutils.h> ++#include <glib.h> + #include "gdrom/gddriver.h" + + +Index: lxdream-0.9.1/src/gdrom/gdrom.c +=================================================================== +--- lxdream-0.9.1.orig/src/gdrom/gdrom.c ++++ lxdream-0.9.1/src/gdrom/gdrom.c +@@ -20,7 +20,7 @@ + #include <fcntl.h> + #include <errno.h> + #include <ctype.h> +-#include <glib/gutils.h> ++#include <glib.h> + #include "gdrom/ide.h" + #include "gdrom/gdrom.h" + #include "gdrom/gddriver.h" +Index: lxdream-0.9.1/src/gdrom/gdrom.h +=================================================================== +--- lxdream-0.9.1.orig/src/gdrom/gdrom.h ++++ lxdream-0.9.1/src/gdrom/gdrom.h +@@ -22,7 +22,7 @@ + + #include "lxdream.h" + #include "hook.h" +-#include <glib/glist.h> ++#include <glib.h> + + #ifdef __cplusplus + extern "C" { +Index: lxdream-0.9.1/src/gdrom/nrg.c +=================================================================== +--- lxdream-0.9.1.orig/src/gdrom/nrg.c ++++ lxdream-0.9.1/src/gdrom/nrg.c +@@ -20,7 +20,7 @@ + #include <assert.h> + #include <stdio.h> + #include <errno.h> +-#include <glib/gtypes.h> ++#include <glib.h> + #include "gdrom/gddriver.h" + #include "dream.h" + +Index: lxdream-0.9.1/src/gui.h +=================================================================== +--- lxdream-0.9.1.orig/src/gui.h ++++ lxdream-0.9.1/src/gui.h +@@ -19,7 +19,7 @@ + #ifndef lxdream_gui_H + #define lxdream_gui_H + +-#include <glib/gtypes.h> ++#include <glib.h> + + #ifdef __cplusplus + extern "C" { +Index: lxdream-0.9.1/src/loader.h +=================================================================== +--- lxdream-0.9.1.orig/src/loader.h ++++ lxdream-0.9.1/src/loader.h +@@ -20,7 +20,7 @@ + #define lxdream_loader_H 1 + + #include <stdio.h> +-#include <glib/gtypes.h> ++#include <glib.h> + + #ifdef __cplusplus + extern "C" { +Index: lxdream-0.9.1/src/lxdream.h +=================================================================== +--- lxdream-0.9.1.orig/src/lxdream.h ++++ lxdream-0.9.1/src/lxdream.h +@@ -20,7 +20,7 @@ + #define lxdream_lxdream_H 1 + + #include <stdint.h> +-#include <glib/gtypes.h> ++#include <glib.h> + + #include "../config.h" + +Index: lxdream-0.9.1/src/lxpaths.c +=================================================================== +--- lxdream-0.9.1.orig/src/lxpaths.c ++++ lxdream-0.9.1/src/lxpaths.c +@@ -19,8 +19,7 @@ + #include <ctype.h> + #include <unistd.h> + #include <wordexp.h> +-#include <glib/gstrfuncs.h> +-#include <glib/gutils.h> ++#include <glib.h> + + #include "gui.h" + #include "config.h" +Index: lxdream-0.9.1/src/maple/maple.c +=================================================================== +--- lxdream-0.9.1.orig/src/maple/maple.c ++++ lxdream-0.9.1/src/maple/maple.c +@@ -18,7 +18,7 @@ + #define MODULE maple_module + + #include <assert.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include "dream.h" + #include "mem.h" + #include "asic.h" +Index: lxdream-0.9.1/src/mem.c +=================================================================== +--- lxdream-0.9.1.orig/src/mem.c ++++ lxdream-0.9.1/src/mem.c +@@ -20,7 +20,7 @@ + #include <sys/types.h> + #include <sys/mman.h> + #include <sys/stat.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <assert.h> + #include <stdint.h> + #include <stdlib.h> +Index: lxdream-0.9.1/src/paths_unix.c +=================================================================== +--- lxdream-0.9.1.orig/src/paths_unix.c ++++ lxdream-0.9.1/src/paths_unix.c +@@ -18,7 +18,7 @@ + + #include <string.h> + #include <stdlib.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + + #include "lxdream.h" + #include "config.h" +Index: lxdream-0.9.1/src/plugin.c +=================================================================== +--- lxdream-0.9.1.orig/src/plugin.c ++++ lxdream-0.9.1/src/plugin.c +@@ -20,8 +20,7 @@ + #include <dirent.h> + #include <dlfcn.h> + #include <string.h> +-#include <glib/gmem.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include "plugin.h" + #include "lxpaths.h" + +Index: lxdream-0.9.1/src/pvr2/glutil.c +=================================================================== +--- lxdream-0.9.1.orig/src/pvr2/glutil.c ++++ lxdream-0.9.1/src/pvr2/glutil.c +@@ -17,7 +17,7 @@ + */ + + #include <string.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include "pvr2/glutil.h" + + gboolean isGLSecondaryColorSupported() +Index: lxdream-0.9.1/src/sh4/sh4core.h +=================================================================== +--- lxdream-0.9.1.orig/src/sh4/sh4core.h ++++ lxdream-0.9.1/src/sh4/sh4core.h +@@ -19,7 +19,7 @@ + #ifndef lxdream_sh4core_H + #define lxdream_sh4core_H 1 + +-#include <glib/gtypes.h> ++#include <glib.h> + #include <stdint.h> + #include <stdio.h> + #include "mem.h" +Index: lxdream-0.9.1/src/syscall.h +=================================================================== +--- lxdream-0.9.1.orig/src/syscall.h ++++ lxdream-0.9.1/src/syscall.h +@@ -20,7 +20,7 @@ + #define lxdream_syscall_H 1 + + #include <stdint.h> +-#include <glib/gtypes.h> ++#include <glib.h> + + #ifdef __cplusplus + extern "C" { +Index: lxdream-0.9.1/src/tools/actparse.c +=================================================================== +--- lxdream-0.9.1.orig/src/tools/actparse.c ++++ lxdream-0.9.1/src/tools/actparse.c +@@ -21,7 +21,7 @@ + #include <string.h> + #include <ctype.h> + #include <sys/stat.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include "tools/gendec.h" + + static int add_action( struct action *actions, struct ruleset *rules, char *operation, const char *file, int line, char *action ) +Index: lxdream-0.9.1/src/tools/gendec.c +=================================================================== +--- lxdream-0.9.1.orig/src/tools/gendec.c ++++ lxdream-0.9.1/src/tools/gendec.c +@@ -23,7 +23,7 @@ + #include <getopt.h> + #include <errno.h> + #include <ctype.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <assert.h> + #include "tools/gendec.h" + +Index: lxdream-0.9.1/src/vmu/vmulist.c +=================================================================== +--- lxdream-0.9.1.orig/src/vmu/vmulist.c ++++ lxdream-0.9.1/src/vmu/vmulist.c +@@ -18,8 +18,7 @@ + + #include <string.h> + #include <stdlib.h> +-#include <glib/glist.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include "vmulist.h" + #include "config.h" + +Index: lxdream-0.9.1/src/vmu/vmuvol.c +=================================================================== +--- lxdream-0.9.1.orig/src/vmu/vmuvol.c ++++ lxdream-0.9.1/src/vmu/vmuvol.c +@@ -16,8 +16,7 @@ + * GNU General Public License for more details. + */ + +-#include <glib/gmem.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <string.h> + #include <unistd.h> + #include <stdio.h> diff --git a/games-emulation/lxdream/lxdream-0.9.1-r3.ebuild b/games-emulation/lxdream/lxdream-0.9.1-r3.ebuild new file mode 100644 index 000000000000..a2024a899bc9 --- /dev/null +++ b/games-emulation/lxdream/lxdream-0.9.1-r3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit flag-o-matic + +DESCRIPTION="An emulator for the Sega Dreamcast system" +HOMEPAGE="http://www.lxdream.org/" +SRC_URI="http://www.lxdream.org/count.php?file=${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# lirc configure option is not recogniced +IUSE="debug profile pulseaudio sdl" #lirc + +RDEPEND=" + app-misc/lirc + + media-libs/alsa-lib + media-libs/libpng:0= + pulseaudio? ( media-sound/pulseaudio ) + sdl? ( media-libs/libsdl[sound] ) + virtual/opengl + x11-libs/gtk+:2 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext + virtual/os-headers + !!gnustep-base/gnustep-gui" #377635 + +src_prepare() { + default + + eapply "${FILESDIR}/${PN}-0.9.1-glib-single-include.patch" + + # Make .desktop file pass desktop-file-validate + sed -i \ + -e '/Encoding/d' \ + -e '/FilePattern/d' \ + -e '/Categories/s|$|;|' \ + ${PN}.desktop || die + # Do not override user-specified CFLAGS + sed -i \ + -e s/'CFLAGS=\"-g -fexceptions\"'/'CFLAGS=\"${CFLAGS} -g -fexceptions\"'/ \ + -e '/CCOPT/d' \ + -e '/OBJCOPT/d' \ + configure || die + append-libs -lX11 -lm +} + +src_configure() { + # lirc configure option is not recognized + # $(use_with lirc) \ + econf \ + --datadir="/usr/share" \ + $(use_enable debug trace) \ + $(use_enable debug watch) \ + $(use_enable profile profiled) \ + $(use_with pulseaudio pulse) \ + $(use_with sdl) \ + --without-esd +} diff --git a/games-emulation/lxdream/metadata.xml b/games-emulation/lxdream/metadata.xml new file mode 100644 index 000000000000..4731fb707fd1 --- /dev/null +++ b/games-emulation/lxdream/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chithanh@gentoo.org</email> + <name>Chí-Thanh Christopher Nguyễn</name> + </maintainer> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> |