diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2006-03-06 16:25:41 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2006-03-06 16:25:41 +0000 |
commit | 473ab8209498232ab0df6e52cc86371c236cab8a (patch) | |
tree | ddee42783c918c96333213bf47fef19f0a3844bc /media-plugins/vdr-games | |
parent | Marked ~alpha (bug #122726) (diff) | |
download | historical-473ab8209498232ab0df6e52cc86371c236cab8a.tar.gz historical-473ab8209498232ab0df6e52cc86371c236cab8a.tar.bz2 historical-473ab8209498232ab0df6e52cc86371c236cab8a.zip |
imported ebuild from gentoo.de CVS
Package-Manager: portage-2.0.54
Diffstat (limited to 'media-plugins/vdr-games')
-rw-r--r-- | media-plugins/vdr-games/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/vdr-games/Manifest | 16 | ||||
-rw-r--r-- | media-plugins/vdr-games/files/digest-vdr-games-0.6.1 | 1 | ||||
-rw-r--r-- | media-plugins/vdr-games/files/vdr-games-0.6.1-gentoo.diff | 117 | ||||
-rw-r--r-- | media-plugins/vdr-games/metadata.xml | 29 | ||||
-rw-r--r-- | media-plugins/vdr-games/vdr-games-0.6.1.ebuild | 22 |
6 files changed, 196 insertions, 0 deletions
diff --git a/media-plugins/vdr-games/ChangeLog b/media-plugins/vdr-games/ChangeLog new file mode 100644 index 000000000000..2104acbf6289 --- /dev/null +++ b/media-plugins/vdr-games/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/vdr-games +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-games/ChangeLog,v 1.1 2006/03/06 16:25:41 hd_brummy Exp $ + +*vdr-games-0.6.1 (06 Mar 2006) + + 06 Mar 2006; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/vdr-games-0.6.1-gentoo.diff, +metadata.xml, + +vdr-games-0.6.1.ebuild: + imported ebuild from gentoo.de CVS + diff --git a/media-plugins/vdr-games/Manifest b/media-plugins/vdr-games/Manifest new file mode 100644 index 000000000000..3320133c0329 --- /dev/null +++ b/media-plugins/vdr-games/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 ef24ad05b3d2e2111991ff64ca250f0b ChangeLog 427 +MD5 b6b93df845356f7325d3e7a05f02f6ee files/digest-vdr-games-0.6.1 66 +MD5 c1d34ed0de94b78d77dba84bc86e712c files/vdr-games-0.6.1-gentoo.diff 4185 +MD5 63ae65f20bff0bce0b3a6e1c9c3a5598 metadata.xml 890 +MD5 60deb4927711477f1c2e73797ffae451 vdr-games-0.6.1.ebuild 578 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.1 (GNU/Linux) +Comment: no further Information + +iD8DBQFEDGKUdn07HTTCgIoRAscPAKCXLTqSkngW7vSsnjurUp2a5I0MiwCgsHY9 +FV9qpS6LHJ+opjLkrzb4qiA= +=OBY8 +-----END PGP SIGNATURE----- diff --git a/media-plugins/vdr-games/files/digest-vdr-games-0.6.1 b/media-plugins/vdr-games/files/digest-vdr-games-0.6.1 new file mode 100644 index 000000000000..8e352bf990cd --- /dev/null +++ b/media-plugins/vdr-games/files/digest-vdr-games-0.6.1 @@ -0,0 +1 @@ +MD5 781ba2ef4b2ca0e41a45c679aae62085 vdr-games-0.6.1.tar.gz 38164 diff --git a/media-plugins/vdr-games/files/vdr-games-0.6.1-gentoo.diff b/media-plugins/vdr-games/files/vdr-games-0.6.1-gentoo.diff new file mode 100644 index 000000000000..b3d9947f53d7 --- /dev/null +++ b/media-plugins/vdr-games/files/vdr-games-0.6.1-gentoo.diff @@ -0,0 +1,117 @@ +diff -ru games-0.6.1-orig/Makefile games-0.6.1/Makefile +--- games-0.6.1-orig/Makefile 2005-11-20 16:53:33.000000000 +0100 ++++ games-0.6.1/Makefile 2005-11-20 16:53:41.000000000 +0100 +@@ -13,7 +13,7 @@ + VDROBJS = plugin.o + SDLOBJS = main.o + DEFINES = -DVERSION=\"$(VERSION)\" +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual + LFLAGS = -pthread + VDRDIR = ../../.. + LIBDIR = ../../lib +diff -ru games-0.6.1-orig/minesweeper/Makefile games-0.6.1/minesweeper/Makefile +--- games-0.6.1-orig/minesweeper/Makefile 2005-11-20 16:53:33.000000000 +0100 ++++ games-0.6.1/minesweeper/Makefile 2005-11-20 16:54:19.000000000 +0100 +@@ -1,6 +1,6 @@ + GAME = minesweeper + OBJS = minesweeper.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) +diff -ru games-0.6.1-orig/minesweeper/minesweeper.cpp games-0.6.1/minesweeper/minesweeper.cpp +--- games-0.6.1-orig/minesweeper/minesweeper.cpp 2005-11-20 16:53:33.000000000 +0100 ++++ games-0.6.1/minesweeper/minesweeper.cpp 2005-11-20 16:53:41.000000000 +0100 +@@ -81,7 +81,7 @@ +
+ for (int j=0; j<SIZE; j++) {
+ for (int i=0; i<SIZE; i++) {
+- Dpy::pixel_set(a+i, b+j, icon[field[x][y]][j][i]);
++ Dpy::pixel_set(a+i, b+j, icon[(int)field[x][y]][j][i]);
+ }
+ }
+ }
+diff -ru games-0.6.1-orig/plugin.cpp games-0.6.1/plugin.cpp +--- games-0.6.1-orig/plugin.cpp 2005-11-20 16:53:33.000000000 +0100 ++++ games-0.6.1/plugin.cpp 2005-11-20 16:53:41.000000000 +0100 +@@ -1,5 +1,5 @@ +-#include <plugin.h> +-#include <osd.h> ++#include <vdr/plugin.h> ++#include <vdr/osd.h> + + extern int launcher_menu(char ***m); + extern int launcher_start(int g, int x, int y, int s, int c); +diff -ru games-0.6.1-orig/screen.cpp games-0.6.1/screen.cpp +--- games-0.6.1-orig/screen.cpp 2005-11-20 16:53:33.000000000 +0100 ++++ games-0.6.1/screen.cpp 2005-11-20 16:53:41.000000000 +0100 +@@ -5,7 +5,7 @@ + #ifdef SDL + #include <SDL.h> + #else +- #include <osd.h> ++ #include <vdr/osd.h> + #endif + + #include "defines.h" +diff -ru games-0.6.1-orig/snake/Makefile games-0.6.1/snake/Makefile +--- games-0.6.1-orig/snake/Makefile 2005-11-20 16:53:33.000000000 +0100 ++++ games-0.6.1/snake/Makefile 2005-11-20 16:54:12.000000000 +0100 +@@ -1,6 +1,6 @@ + GAME = snake + OBJS = snake.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) +diff -ru games-0.6.1-orig/tetris/Makefile games-0.6.1/tetris/Makefile +--- games-0.6.1-orig/tetris/Makefile 2005-11-20 16:53:33.000000000 +0100 ++++ games-0.6.1/tetris/Makefile 2005-11-20 16:54:06.000000000 +0100 +@@ -1,6 +1,6 @@ + GAME = tetris + OBJS = tetris.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) +diff -ru games-0.6.1-orig/tictactoe/Makefile games-0.6.1/tictactoe/Makefile +--- games-0.6.1-orig/tictactoe/Makefile 2005-11-20 16:53:33.000000000 +0100 ++++ games-0.6.1/tictactoe/Makefile 2005-11-20 16:54:15.000000000 +0100 +@@ -1,6 +1,6 @@ + GAME = tictactoe + OBJS = tictactoe.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) +diff -ru games-0.6.1-orig/tron/Makefile games-0.6.1/tron/Makefile +--- games-0.6.1-orig/tron/Makefile 2005-11-20 16:53:33.000000000 +0100 ++++ games-0.6.1/tron/Makefile 2005-11-20 16:53:55.000000000 +0100 +@@ -1,6 +1,6 @@ + GAME = tron + OBJS = tron.o +-CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual ++#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual + + all: $(OBJS) + @ar -r $(GAME).a $(OBJS) +diff -ru games-0.6.1-orig/plugin.cpp games-0.6.1/plugin.cpp +--- games-0.6.1-orig/plugin.cpp 2006-03-01 07:48:52.289842000 +0100 ++++ games-0.6.1/plugin.cpp 2006-03-01 07:53:03.941569250 +0100 +@@ -108,8 +108,9 @@ + + eOSState + GameStart::ProcessKey(eKeys k) { +- if (r) (int)k &= 0x7fff; +- if (launcher_key((int)k)) return (osEnd); ++ int _k = k; ++ if (r) _k &= 0x7fff; ++ if (launcher_key(_k)) return (osEnd); + return (osContinue); + } + diff --git a/media-plugins/vdr-games/metadata.xml b/media-plugins/vdr-games/metadata.xml new file mode 100644 index 000000000000..04bf87c5e1fa --- /dev/null +++ b/media-plugins/vdr-games/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>hd_brummy@gentoo.org</email> + <name>Joerg Bornkessel</name> + </maintainer> + <maintainer> + <email>zzam@gentoo</email> + <name>Matthias Schwarzott</name> + </maintainer> + <longdescription> + Video Disk Recorder (VDR) Plugin to play games on OSD + Snake, Tetris, Tron, TicTacToe, Minesweeper + </longdescription> +<!-- got errors on xmllint valid + <upstream> + <maintainer> + <name></name> + <email>clemens@thf.ath.cx</email> + </maintainer> + <changelog>http://1541.org/vdr-games/changes.txt</changelog> + <bugs-to>0</bugs-to> + <remote-id type="freshmeat">0</remote-id> + <remote-id type="sourceforge">0</remote-id> + </upstream> +--> +</pkgmetadata> diff --git a/media-plugins/vdr-games/vdr-games-0.6.1.ebuild b/media-plugins/vdr-games/vdr-games-0.6.1.ebuild new file mode 100644 index 000000000000..1491162b8070 --- /dev/null +++ b/media-plugins/vdr-games/vdr-games-0.6.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-games/vdr-games-0.6.1.ebuild,v 1.1 2006/03/06 16:25:41 hd_brummy Exp $ + +inherit vdr-plugin + +DESCRIPTION="Video Disk Recorder games plugin" +HOMEPAGE="http://1541.org/" +SRC_URI="http://1541.org/public/${P}.tar.gz + mirror://vdrfiles/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6" + +src_unpack() { + vdr-plugin_src_unpack + epatch ${FILESDIR}/${P}-gentoo.diff +} |