diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-06-26 21:03:32 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-06-26 21:03:32 +0000 |
commit | 1022465bb2744963f9673204f0e76bda6f78c042 (patch) | |
tree | 799f58cf4dec46fc2e983d4bc1b46ac7a0795494 /media-plugins/vdr-solitaire | |
parent | Stable on ppc; bug #183102. (diff) | |
download | gentoo-2-1022465bb2744963f9673204f0e76bda6f78c042.tar.gz gentoo-2-1022465bb2744963f9673204f0e76bda6f78c042.tar.bz2 gentoo-2-1022465bb2744963f9673204f0e76bda6f78c042.zip |
Initial import of ebuild, based on vdr-spider ebuild.
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'media-plugins/vdr-solitaire')
-rw-r--r-- | media-plugins/vdr-solitaire/ChangeLog | 12 | ||||
-rw-r--r-- | media-plugins/vdr-solitaire/Manifest | 24 | ||||
-rw-r--r-- | media-plugins/vdr-solitaire/files/digest-vdr-solitaire-0.0.2 | 3 | ||||
-rw-r--r-- | media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff | 12 | ||||
-rw-r--r-- | media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch | 129 | ||||
-rw-r--r-- | media-plugins/vdr-solitaire/metadata.xml | 10 | ||||
-rw-r--r-- | media-plugins/vdr-solitaire/vdr-solitaire-0.0.2.ebuild | 38 |
7 files changed, 228 insertions, 0 deletions
diff --git a/media-plugins/vdr-solitaire/ChangeLog b/media-plugins/vdr-solitaire/ChangeLog new file mode 100644 index 000000000000..7cdc979a9f19 --- /dev/null +++ b/media-plugins/vdr-solitaire/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-plugins/vdr-solitaire +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-solitaire/ChangeLog,v 1.1 2007/06/26 21:03:32 zzam Exp $ + +*vdr-solitaire-0.0.2 (26 Jun 2007) + + 26 Jun 2007; Matthias Schwarzott <zzam@gentoo.org> + +files/vdr-solitaire-0.0.2-vdr-1.5.5.diff, + +files/vdr-solitaire-0.0.2.patch, +metadata.xml, + +vdr-solitaire-0.0.2.ebuild: + Initial import of ebuild, based on vdr-spider ebuild. + diff --git a/media-plugins/vdr-solitaire/Manifest b/media-plugins/vdr-solitaire/Manifest new file mode 100644 index 000000000000..6ba042bb6b55 --- /dev/null +++ b/media-plugins/vdr-solitaire/Manifest @@ -0,0 +1,24 @@ +AUX vdr-solitaire-0.0.2-vdr-1.5.5.diff 440 RMD160 fb23fd5480f515b99f1e5bdf55884b0f98ce8ff2 SHA1 da48f5649d4a2ae6ba962bba1155a8ce7e2e77ff SHA256 4b1d2ab056cc15bd0af4b429d60f510c23808dcf96cac6d37c6897b80ea301eb +MD5 f7a1f042701753af94057249aa050c6b files/vdr-solitaire-0.0.2-vdr-1.5.5.diff 440 +RMD160 fb23fd5480f515b99f1e5bdf55884b0f98ce8ff2 files/vdr-solitaire-0.0.2-vdr-1.5.5.diff 440 +SHA256 4b1d2ab056cc15bd0af4b429d60f510c23808dcf96cac6d37c6897b80ea301eb files/vdr-solitaire-0.0.2-vdr-1.5.5.diff 440 +AUX vdr-solitaire-0.0.2.patch 4005 RMD160 8cd9fd877a48d66c8a63b8cdbcb31e19108b8f9d SHA1 20aaf97968cd15141f993356f3c83ab0053d0e91 SHA256 5d05a05d1ae502cf70e890d3ca9cd1e3d1f80ebb65591bdb871a1a730910e16e +MD5 9b09c1ad8bfe4e6100b6001ed370659e files/vdr-solitaire-0.0.2.patch 4005 +RMD160 8cd9fd877a48d66c8a63b8cdbcb31e19108b8f9d files/vdr-solitaire-0.0.2.patch 4005 +SHA256 5d05a05d1ae502cf70e890d3ca9cd1e3d1f80ebb65591bdb871a1a730910e16e files/vdr-solitaire-0.0.2.patch 4005 +DIST vdr-solitaire-0.0.2.tgz 332835 RMD160 ea20981aa218d87e3a1aca5959b80315e3b348eb SHA1 e2cb59d2cfa87da8992f0627024521ac3b74c668 SHA256 b35f10ee4da5ac4b111d2f608da49a682f4e79f4c522dac7386555743aa58f03 +EBUILD vdr-solitaire-0.0.2.ebuild 871 RMD160 05cd7b7c1079735e738f16168a38b03be287765f SHA1 5693248ca73ad9848b1aa05d8047e4c5b582e26c SHA256 a536bfa5e437f203dec17e249b904e94d86f93692c96c139d95c2b2dd89e917d +MD5 204ffdda87e7cb425f0d6bfe3a40339b vdr-solitaire-0.0.2.ebuild 871 +RMD160 05cd7b7c1079735e738f16168a38b03be287765f vdr-solitaire-0.0.2.ebuild 871 +SHA256 a536bfa5e437f203dec17e249b904e94d86f93692c96c139d95c2b2dd89e917d vdr-solitaire-0.0.2.ebuild 871 +MISC ChangeLog 401 RMD160 8ffcb8152525ca7f85aff37f77411a2250ad0d13 SHA1 398f4818b26ee6e9676bc14c3ac2b90956798caa SHA256 f7c0851503d50cbac9aa55622d60dbe4f52e48facdab209f14aa280a5c014a2d +MD5 fe5a906f00950af85f7a5735cbee04f3 ChangeLog 401 +RMD160 8ffcb8152525ca7f85aff37f77411a2250ad0d13 ChangeLog 401 +SHA256 f7c0851503d50cbac9aa55622d60dbe4f52e48facdab209f14aa280a5c014a2d ChangeLog 401 +MISC metadata.xml 258 RMD160 3978316b72989b0150dd21a2ba1f2449a158ebc9 SHA1 4ed083cc2156c1d9ea22136d69bcdd9da3d758b9 SHA256 1d6292676863287cee09b69ba35f3ea7546ed6718a3fea1d326deae735dadf64 +MD5 8ba67721f7ef0b4783a69038d2995113 metadata.xml 258 +RMD160 3978316b72989b0150dd21a2ba1f2449a158ebc9 metadata.xml 258 +SHA256 1d6292676863287cee09b69ba35f3ea7546ed6718a3fea1d326deae735dadf64 metadata.xml 258 +MD5 2b0697660ad2f67e3dc2c1195886c4be files/digest-vdr-solitaire-0.0.2 250 +RMD160 9e8ba71f004241328b42f6ffe2d1f02f5044427b files/digest-vdr-solitaire-0.0.2 250 +SHA256 941c409a18ea2d3b93bfe6991f8330f1ce1ccdfd2b515b4d420eb973c8ee79bb files/digest-vdr-solitaire-0.0.2 250 diff --git a/media-plugins/vdr-solitaire/files/digest-vdr-solitaire-0.0.2 b/media-plugins/vdr-solitaire/files/digest-vdr-solitaire-0.0.2 new file mode 100644 index 000000000000..4c0fe4c5d089 --- /dev/null +++ b/media-plugins/vdr-solitaire/files/digest-vdr-solitaire-0.0.2 @@ -0,0 +1,3 @@ +MD5 b78e95a226ff6e4a6e77288201310e1d vdr-solitaire-0.0.2.tgz 332835 +RMD160 ea20981aa218d87e3a1aca5959b80315e3b348eb vdr-solitaire-0.0.2.tgz 332835 +SHA256 b35f10ee4da5ac4b111d2f608da49a682f4e79f4c522dac7386555743aa58f03 vdr-solitaire-0.0.2.tgz 332835 diff --git a/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff new file mode 100644 index 000000000000..431e6d353fa6 --- /dev/null +++ b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2-vdr-1.5.5.diff @@ -0,0 +1,12 @@ +diff -ru solitaire-0.0.2-orig/tools/list.h solitaire-0.0.2/tools/list.h +--- solitaire-0.0.2-orig/tools/list.h 2007-06-26 22:43:49.559179067 +0200 ++++ solitaire-0.0.2/tools/list.h 2007-06-26 22:44:10.561050626 +0200 +@@ -523,7 +523,7 @@ + return neu;
+ }
+
+-typedef class cTBList<cTBString> cStringList;
++// typedef class cTBList<cTBString> cStringList;
+ typedef class cTBList<void*> cPtrList;
+
+ // Special Overrides for String lists
diff --git a/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch new file mode 100644 index 000000000000..83db65b01351 --- /dev/null +++ b/media-plugins/vdr-solitaire/files/vdr-solitaire-0.0.2.patch @@ -0,0 +1,129 @@ +diff -ruN solitaire-0.0.2.org/tools/list.h solitaire-0.0.2/tools/list.h +--- solitaire-0.0.2.org/tools/list.h 2004-08-24 00:49:04.000000000 +0200 ++++ solitaire-0.0.2/tools/list.h 2006-02-03 11:35:36.000000000 +0100 +@@ -90,22 +90,22 @@ + T &SetNextCurrent ();
+ T &SetPrevCurrent ();
+
+- friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2);
+- friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element);
++// friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2);
++// friend cTBList<T> &operator+= <> (cTBList<T> &list, const T &element);
+
+- friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2);
+- friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list);
+- friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element);
++// friend cTBList<T> operator+ <> (const cTBList<T> &list1, const cTBList<T> &list2);
++// friend cTBList<T> operator+ <> (const T &element, const cTBList<T> &list);
++// friend cTBList<T> operator+ <> (const cTBList<T> &list, const T &element);
+
+ /*friend cSource &operator<< <> (cSource &dest, const cTBList<T> &list);
+- friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/
++// friend cSource &operator>> <> (cSource &dest, cTBList<T> &list);*/
+ };
+
+ // Template Implementation (inline funcs)
+
+ template<class T>
+ inline int cTBList<T>::Find (const T & i) {
+- cTBList<T>::cItem *item = m_First;
++ typename cTBList<T>::cItem *item = m_First;
+ int index = 0;
+
+ while (item && (item->Data != i)) {
+@@ -203,7 +203,7 @@ +
+ template<class T>
+ typename cTBList<T>::cItem *cTBList<T>::NewItem (cTBList<T>::cItem *pBefore, cTBList<T>::cItem *pAfter) const {
+- cTBList<T>::cItem *item = new cTBList<T>::cItem;
++ typename cTBList<T>::cItem *item = new typename cTBList<T>::cItem;
+
+ item->Next = pAfter;
+ item->Prev = pBefore;
+@@ -235,7 +235,7 @@ + if ((int)idx == m_CurPos)
+ return m_Current;
+
+- cTBList<T>::cItem *item;
++ typename cTBList<T>::cItem *item;
+ int dist = idx - m_CurPos;
+ bool direct;
+
+@@ -271,7 +271,7 @@ +
+ template<class T>
+ T &cTBList<T>::Prepend () {
+- cTBList<T>::cItem *item = NewItem(NULL, m_First);
++ typename cTBList<T>::cItem *item = NewItem(NULL, m_First);
+
+ m_First = m_Current = item;
+ if (!m_Last)
+@@ -285,7 +285,7 @@ +
+ template<class T>
+ T &cTBList<T>::Append () {
+- cTBList<T>::cItem *item = NewItem(m_Last, NULL);
++ typename cTBList<T>::cItem *item = NewItem(m_Last, NULL);
+
+ m_Last = m_Current = item;
+ if (!m_First)
+@@ -317,13 +317,13 @@ + return true;
+ }
+
+- cTBList<T>::cItem *nextItem = Locate(idx);
++ typename cTBList<T>::cItem *nextItem = Locate(idx);
+ if (!nextItem)
+ return false;
+
+- cTBList<T>::cItem *prevItem = nextItem->Prev;
++ typename cTBList<T>::cItem *prevItem = nextItem->Prev;
+
+- cTBList<T>::cItem *item = NewItem(prevItem, nextItem);
++ typename cTBList<T>::cItem *item = NewItem(prevItem, nextItem);
+ item->Data = i;
+
+ m_CurPos = idx;
+@@ -338,7 +338,7 @@ + if (!m_Current)
+ return NULL;
+
+- cTBList<T>::cItem *item = m_Current;
++ typename cTBList<T>::cItem *item = m_Current;
+ if (item == m_First) {
+ if (m_First = item->Next)
+ m_First->Prev = NULL;
+@@ -370,7 +370,7 @@ + if (Find(i) == -1)
+ return false;
+
+- cTBList<T>::cItem *item = Unlink();
++ typename cTBList<T>::cItem *item = Unlink();
+ if (!item)
+ return false;
+
+@@ -383,7 +383,7 @@ + if (!Locate(idx))
+ return false;
+
+- cTBList<T>::cItem *item = Unlink();
++ typename cTBList<T>::cItem *item = Unlink();
+ if (!item)
+ return false;
+
+@@ -412,13 +412,13 @@ +
+ template<class T>
+ void cTBList<T>::Clear () {
+- cTBList<T>::cItem *item = m_First;
++ typename cTBList<T>::cItem *item = m_First;
+
+ m_First = m_Last = m_Current = NULL;
+ m_Count = 0;
+ m_CurPos = -1;
+
+- cTBList<T>::cItem *Prev;
++ typename cTBList<T>::cItem *Prev;
+ while (item) {
+ Prev = item;
+ item = item->Next;
diff --git a/media-plugins/vdr-solitaire/metadata.xml b/media-plugins/vdr-solitaire/metadata.xml new file mode 100644 index 000000000000..b9c00d0c96fd --- /dev/null +++ b/media-plugins/vdr-solitaire/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> + diff --git a/media-plugins/vdr-solitaire/vdr-solitaire-0.0.2.ebuild b/media-plugins/vdr-solitaire/vdr-solitaire-0.0.2.ebuild new file mode 100644 index 000000000000..eaf0880ecf7d --- /dev/null +++ b/media-plugins/vdr-solitaire/vdr-solitaire-0.0.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-solitaire/vdr-solitaire-0.0.2.ebuild,v 1.1 2007/06/26 21:03:32 zzam Exp $ + +inherit vdr-plugin + +DESCRIPTION="VDR plugin: Solitaire game" +HOMEPAGE="http://www.djdagobert.com/vdr/solitaire/index.html" +SRC_URI="http://www.djdagobert.com/vdr/solitaire/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.25" + + +PATCHES="${FILESDIR}/${P}.patch + ${FILESDIR}/${P}-vdr-1.5.5.diff" + +SOLITAIRE_DATA_DIR="/usr/share/vdr/solitaire" + +src_unpack() { + vdr-plugin_src_unpack + + cd ${S} + sed -i cards.c cursor.c \ + -e 's#cPlugin::ConfigDirectory("solitaire")#"'${SOLITAIRE_DATA_DIR}'"#' +} + +src_install() { + vdr-plugin_src_install + + insinto "${SOLITAIRE_DATA_DIR}" + doins "${S}"/solitaire/*.xpm +} + |