# ChangeLog for games-puzzle/mindless
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/ChangeLog,v 1.5 2004/07/25 03:11:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/ChangeLog,v 1.6 2004/12/10 12:22:26 mr_bones_ Exp $
+
+*mindless-1.5-r1 (10 Dec 2004)
+
+ 10 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> -mindless-1.4.ebuild,
+ +mindless-1.5-r1.ebuild, -mindless-1.5.ebuild:
+ use new text file based database; fix bug #65448; clean out older ebuilds
*mindless-1.5 (24 Jul 2004)
-MD5 8da5a71e0da09e3eb96a85628a0ae87a ChangeLog 913
+MD5 1a530468e244ac0aec45f8a6680c4e06 ChangeLog 1148
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 5a8fd9349ca2214fe4767842f4359736 mindless-1.4.ebuild 1160
-MD5 fd021f609e3ed0cec6d9783ade790c8d mindless-1.5.ebuild 1323
-MD5 b44c0f42430a239c04610559c130e958 files/digest-mindless-1.4 122
+MD5 77bd308df843dca1e4a99c0f8992eddf mindless-1.5-r1.ebuild 1358
+MD5 e06a3b3f916cc0bffe0452fd34915fca files/digest-mindless-1.5-r1 126
MD5 68b8ad4c5f179e599b7bc5cdf52af9af files/mindless 379
-MD5 7f1ed8b1e9d94fcfd92775a3484492d7 files/digest-mindless-1.5 117
+++ /dev/null
-MD5 0b2da26c624428b697b7acd0e3a07c80 mindless-1.4.tar.gz 62106
-MD5 2256f3542094725015c835d017dea3e5 approracle.zip 480278
MD5 12bf8d05e2721086bd704253cd926a3f mindless-1.5.tar.gz 63201
-MD5 3046b28e9c434ad14ed0e357d7674110 patch.zip 536714
+MD5 fd8ace5bddb8d93a448e822f7396831d ORALL06-01-04.txt 1132312
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.4.ebuild,v 1.4 2004/06/24 23:07:41 agriffis Exp $
-
-inherit games
-
-DESCRIPTION="play collectable/trading card games (Magic: the Gathering and possibly others) against other people"
-HOMEPAGE="http://mindless.sourceforge.net/"
-SRC_URI="mirror://sourceforge/mindless/${P}.tar.gz
- http://www.e-league.com/files/approracle.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc ~amd64"
-IUSE=""
-
-DEPEND="media-libs/gdk-pixbuf"
-
-src_compile() {
- emake CFLAGS="${CFLAGS}" || die "emake failed"
-}
-
-src_install() {
- newgamesbin mindless mindless-bin
- dogamesbin ${FILESDIR}/mindless
- dosed "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/mindless
- insinto ${GAMES_DATADIR}/${PN}
- doins ${WORKDIR}/*.dat ${WORKDIR}/sets/*.dat
- dodoc CHANGES README TODO
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- einfo "mindless is now a wrapper that searches"
- einfo "for cardinfo files and then runs mindless-bin."
- einfo "If you wish to run mindless yourself, please"
- einfo "use mindless-bin."
-}
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.5.ebuild,v 1.1 2004/07/25 03:11:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.5-r1.ebuild,v 1.1 2004/12/10 12:22:26 mr_bones_ Exp $
inherit games
+ORANAME="ORALL06-01-04.txt"
DESCRIPTION="play collectable/trading card games (Magic: the Gathering and possibly others) against other people"
HOMEPAGE="http://mindless.sourceforge.net/"
SRC_URI="mirror://sourceforge/mindless/${P}.tar.gz
- http://home.dmv.com/~rast/patch.zip"
+ http://mindless.sourceforge.net/${ORANAME}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc ~amd64"
IUSE=""
-RESTRICT="nomirror"
+RESTRICT="nomirror" # for the card database.
-RDEPEND="media-libs/gdk-pixbuf"
+RDEPEND="media-libs/gdk-pixbuf
+ >=x11-libs/gtk+-2"
DEPEND="${RDEPEND}
- app-arch/unzip"
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ cp "${DISTDIR}/ORALL06-01-04.txt" "${WORKDIR}" || die "cp failed"
+ DATAFILE="${GAMES_DATADIR}/${PN}/${ORANAME}"
+}
src_compile() {
emake CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
- newgamesbin mindless mindless-bin || die "newgamesbin failed"
- dogamesbin ${FILESDIR}/mindless || die "dogamesbin failed"
- sed -i \
- -e "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" \
- "${D}${GAMES_BINDIR}/mindless" \
- || die "sed failed"
+ dogamesbin mindless || die "dogamesbin failed"
insinto "${GAMES_DATADIR}/${PN}"
- doins "${WORKDIR}/"*.dat || die "doins failed"
+ doins "${WORKDIR}/${ORANAME}" || die "doins failed"
dodoc CHANGES README TODO
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
echo
- einfo "mindless is now a wrapper that searches"
- einfo "for cardinfo files and then runs mindless-bin."
- einfo "If you wish to run mindless yourself, please"
- einfo "use mindless-bin."
+ einfo "The first time you start ${PN} you need to tell it where to find"
+ einfo "the text database of cards. This file has been installed at:"
+ einfo "${DATAFILE}"
echo
}